/* ==========================================================
   Home / 个人中心 通用现代化样式 (home.css)
   ========================================================== */
/* ==========================================================
   个人中心及设置页 补充 SVG 图标库 (Data URI)
   请直接将以下内容追加复制到 by_qiye_common.css 的图标字典区域
   ========================================================== */

/* 筛选设置 */
.fa-sliders-h { -webkit-mask-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='4' y1='21' x2='4' y2='14'/%3E%3Cline x1='4' y1='10' x2='4' y2='3'/%3E%3Cline x1='12' y1='21' x2='12' y2='12'/%3E%3Cline x1='12' y1='8' x2='12' y2='3'/%3E%3Cline x1='20' y1='21' x2='20' y2='16'/%3E%3Cline x1='20' y1='12' x2='20' y2='3'/%3E%3Cline x1='1' y1='14' x2='7' y2='14'/%3E%3Cline x1='9' y1='8' x2='15' y2='8'/%3E%3Cline x1='17' y1='16' x2='23' y2='16'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='4' y1='21' x2='4' y2='14'/%3E%3Cline x1='4' y1='10' x2='4' y2='3'/%3E%3Cline x1='12' y1='21' x2='12' y2='12'/%3E%3Cline x1='12' y1='8' x2='12' y2='3'/%3E%3Cline x1='20' y1='21' x2='20' y2='16'/%3E%3Cline x1='20' y1='12' x2='20' y2='3'/%3E%3Cline x1='1' y1='14' x2='7' y2='14'/%3E%3Cline x1='9' y1='8' x2='15' y2='8'/%3E%3Cline x1='17' y1='16' x2='23' y2='16'/%3E%3C/svg%3E"); }

/* 积分记录 */
.fa-list-alt { -webkit-mask-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'/%3E%3Cline x1='8' y1='10' x2='21' y2='10'/%3E%3Cline x1='8' y1='14' x2='21' y2='14'/%3E%3Cline x1='8' y1='18' x2='21' y2='18'/%3E%3Cline x1='3' y1='10' x2='3.01' y2='10'/%3E%3Cline x1='3' y1='14' x2='3.01' y2='14'/%3E%3Cline x1='3' y1='18' x2='3.01' y2='18'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'/%3E%3Cline x1='8' y1='10' x2='21' y2='10'/%3E%3Cline x1='8' y1='14' x2='21' y2='14'/%3E%3Cline x1='8' y1='18' x2='21' y2='18'/%3E%3Cline x1='3' y1='10' x2='3.01' y2='10'/%3E%3Cline x1='3' y1='14' x2='3.01' y2='14'/%3E%3Cline x1='3' y1='18' x2='3.01' y2='18'/%3E%3C/svg%3E"); }

/* 当前我的头像 */
.fa-user-circle { -webkit-mask-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3Cpath d='M7 20.662V19a2 2 0 0 1 2-2h6a2 2 0 0 1 2 2v1.662'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3Cpath d='M7 20.662V19a2 2 0 0 1 2-2h6a2 2 0 0 1 2 2v1.662'/%3E%3C/svg%3E"); }

/* 设置我的新头像 */
.fa-camera { -webkit-mask-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M23 19a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h4l2-3h6l2 3h4a2 2 0 0 1 2 2z'/%3E%3Ccircle cx='12' cy='13' r='4'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M23 19a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h4l2-3h6l2 3h4a2 2 0 0 1 2 2z'/%3E%3Ccircle cx='12' cy='13' r='4'/%3E%3C/svg%3E"); }

/* 我的主用户组 */
.fa-crown { -webkit-mask-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='2 20 22 20 19 6 15 12 12 4 9 12 5 6 2 20'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='2 20 22 20 19 6 15 12 12 4 9 12 5 6 2 20'/%3E%3C/svg%3E"); }

/* 权限绿勾 / 权限红叉 */
.fa-check-circle { -webkit-mask-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 11.08V12a10 10 0 1 1-5.93-9.14'/%3E%3Cpolyline points='22 4 12 14.01 9 11.01'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 11.08V12a10 10 0 1 1-5.93-9.14'/%3E%3Cpolyline points='22 4 12 14.01 9 11.01'/%3E%3C/svg%3E"); }
.fa-times-circle { -webkit-mask-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cline x1='15' y1='9' x2='9' y2='15'/%3E%3Cline x1='9' y1='9' x2='15' y2='15'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cline x1='15' y1='9' x2='9' y2='15'/%3E%3Cline x1='9' y1='9' x2='15' y2='15'/%3E%3C/svg%3E"); }

/* 个人隐私设置 / 锁 */
.fa-lock { -webkit-mask-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='11' width='18' height='11' rx='2' ry='2'/%3E%3Cpath d='M7 11V7a5 5 0 0 1 10 0v4'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='11' width='18' height='11' rx='2' ry='2'/%3E%3Cpath d='M7 11V7a5 5 0 0 1 10 0v4'/%3E%3C/svg%3E"); }

/* 动态筛选 / 隐身 */
.fa-eye-slash { -webkit-mask-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17.94 17.94A10.07 10.07 0 0 1 12 20c-7 0-11-8-11-8a18.45 18.45 0 0 1 5.06-5.94M9.9 4.24A9.12 9.12 0 0 1 12 4c7 0 11 8 11 8a18.5 18.5 0 0 1-2.16 3.19m-6.72-1.07a3 3 0 1 1-4.24-4.24'/%3E%3Cline x1='1' y1='1' x2='23' y2='23'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17.94 17.94A10.07 10.07 0 0 1 12 20c-7 0-11-8-11-8a18.45 18.45 0 0 1 5.06-5.94M9.9 4.24A9.12 9.12 0 0 1 12 4c7 0 11 8 11 8a18.5 18.5 0 0 1-2.16 3.19m-6.72-1.07a3 3 0 1 1-4.24-4.24'/%3E%3Cline x1='1' y1='1' x2='23' y2='23'/%3E%3C/svg%3E"); }

/* 平台用户互动设置 / 护盾用户 */
.fa-user-shield { -webkit-mask-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'/%3E%3Cpath d='M12 8v4'/%3E%3Cpath d='M12 16h.01'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'/%3E%3Cpath d='M12 8v4'/%3E%3Cpath d='M12 16h.01'/%3E%3C/svg%3E"); }

/* 安全设置 */
.fa-shield-alt { -webkit-mask-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'/%3E%3C/svg%3E"); }

/* 修改用户名 / 用户编辑 (已去掉不好看的黑线，替换为清爽的用户+画笔) */
.fa-user-tag, .fa-user-edit { -webkit-mask-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M11.5 15H7a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M21.378 5.626a1 1 0 1 0-3.004-3.004l-5.01 5.012a2 2 0 0 0-.506.854l-.837 2.87a.5.5 0 0 0 .62.62l2.87-.837a2 2 0 0 0 .854-.506z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M11.5 15H7a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M21.378 5.626a1 1 0 1 0-3.004-3.004l-5.01 5.012a2 2 0 0 0-.506.854l-.837 2.87a.5.5 0 0 0 .62.62l2.87-.837a2 2 0 0 0 .854-.506z'/%3E%3C/svg%3E"); }

/* 账号密码 / 钥匙 */
.fa-key { -webkit-mask-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 2l-2 2m-7.61 7.61a5.5 5.5 0 1 1-7.778 7.778 5.5 5.5 0 0 1 7.777-7.777zm0 0L15.5 7.5m0 0l3 3L22 7l-3-3m-3.5 3.5L19 4'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 2l-2 2m-7.61 7.61a5.5 5.5 0 1 1-7.778 7.778 5.5 5.5 0 0 1 7.777-7.777zm0 0L15.5 7.5m0 0l3 3L22 7l-3-3m-3.5 3.5L19 4'/%3E%3C/svg%3E"); }

/* 用户管理 / 用户齿轮 */
.fa-user-cog { -webkit-mask-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='8.5' cy='7' r='4'/%3E%3Ccircle cx='19' cy='11' r='2'/%3E%3Cpath d='M19 8v1m0 4v1m-2.12-4.12l.71.71m2.82 2.82l.71.71m-3.53 0l.71-.71m2.82-2.82l.71-.71'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='8.5' cy='7' r='4'/%3E%3Ccircle cx='19' cy='11' r='2'/%3E%3Cpath d='M19 8v1m0 4v1m-2.12-4.12l.71.71m2.82 2.82l.71.71m-3.53 0l.71-.71m2.82-2.82l.71-.71'/%3E%3C/svg%3E"); }

/* 广播 / RSS */
.fa-rss-square { -webkit-mask-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='2' ry='2'/%3E%3Cpath d='M7 11a6 6 0 0 1 6 6'/%3E%3Cpath d='M7 6a11 11 0 0 1 11 11'/%3E%3Ccircle cx='7.5' cy='16.5' r='1.5'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='2' ry='2'/%3E%3Cpath d='M7 11a6 6 0 0 1 6 6'/%3E%3Cpath d='M7 6a11 11 0 0 1 11 11'/%3E%3Ccircle cx='7.5' cy='16.5' r='1.5'/%3E%3C/svg%3E"); }

/* 留言板 / 评论气泡 */
.fa-comment-alt { -webkit-mask-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z'/%3E%3C/svg%3E"); }

/* 个人资料 / ID卡片 */
.fa-id-card { -webkit-mask-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='5' width='20' height='14' rx='2' ry='2'/%3E%3Cline x1='2' y1='10' x2='22' y2='10'/%3E%3Cline x1='6' y1='14' x2='12' y2='14'/%3E%3Cline x1='6' y1='16' x2='10' y2='16'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='5' width='20' height='14' rx='2' ry='2'/%3E%3Cline x1='2' y1='10' x2='22' y2='10'/%3E%3Cline x1='6' y1='14' x2='12' y2='14'/%3E%3Cline x1='6' y1='16' x2='10' y2='16'/%3E%3C/svg%3E"); }

/* 发私信 / 笔 */
.fa-pen { -webkit-mask-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20h9'/%3E%3Cpath d='M16.5 3.5a2.121 2.121 0 0 1 3 3L7 19l-4 1 1-4L16.5 3.5z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20h9'/%3E%3Cpath d='M16.5 3.5a2.121 2.121 0 0 1 3 3L7 19l-4 1 1-4L16.5 3.5z'/%3E%3C/svg%3E"); }

/* 删除 / 垃圾桶 */
.fa-trash-alt, .fa-trash { -webkit-mask-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='3 6 5 6 21 6'/%3E%3Cpath d='M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6m3 0V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2'/%3E%3Cline x1='10' y1='11' x2='10' y2='17'/%3E%3Cline x1='14' y1='11' x2='14' y2='17'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='3 6 5 6 21 6'/%3E%3Cpath d='M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6m3 0V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2'/%3E%3Cline x1='10' y1='11' x2='10' y2='17'/%3E%3Cline x1='14' y1='11' x2='14' y2='17'/%3E%3C/svg%3E"); }

/* 标记已读 / 开信封 */
.fa-envelope-open { -webkit-mask-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21.2 8.4c.5.38.8.97.8 1.6v10a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V10a2 2 0 0 1 .8-1.6l8-6a2 2 0 0 1 2.4 0l8 6Z'/%3E%3Cpath d='m22 10-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 10'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21.2 8.4c.5.38.8.97.8 1.6v10a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V10a2 2 0 0 1 .8-1.6l8-6a2 2 0 0 1 2.4 0l8 6Z'/%3E%3Cpath d='m22 10-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 10'/%3E%3C/svg%3E"); }

/* 忽略拉黑 / 禁用 */
.fa-ban { -webkit-mask-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cline x1='4.93' y1='4.93' x2='19.07' y2='19.07'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cline x1='4.93' y1='4.93' x2='19.07' y2='19.07'/%3E%3C/svg%3E"); }

/* 内容管理 / 任务列表 */
.fa-tasks { -webkit-mask-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 6h6'/%3E%3Cpath d='M14 12h6'/%3E%3Cpath d='M14 18h6'/%3E%3Cpath d='M3 6l2 2 4-4'/%3E%3Cpath d='M3 12l2 2 4-4'/%3E%3Cpath d='M3 18l2 2 4-4'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 6h6'/%3E%3Cpath d='M14 12h6'/%3E%3Cpath d='M14 18h6'/%3E%3Cpath d='M3 6l2 2 4-4'/%3E%3Cpath d='M3 12l2 2 4-4'/%3E%3Cpath d='M3 18l2 2 4-4'/%3E%3C/svg%3E"); }

/* --- 【新增补充图标区】 --- */

/* 转发 */
.fa-share-square { -webkit-mask-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12v8a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8'/%3E%3Cpolyline points='16 6 12 2 8 6'/%3E%3Cline x1='12' y1='2' x2='12' y2='15'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12v8a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8'/%3E%3Cpolyline points='16 6 12 2 8 6'/%3E%3Cline x1='12' y1='2' x2='12' y2='15'/%3E%3C/svg%3E"); }

/* 关注TA (加号) */
.fa-plus { -webkit-mask-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='12' y1='5' x2='12' y2='19'/%3E%3Cline x1='5' y1='12' x2='19' y2='12'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='12' y1='5' x2='12' y2='19'/%3E%3Cline x1='5' y1='12' x2='19' y2='12'/%3E%3C/svg%3E"); }

/* 加为好友 */
.fa-user-plus { -webkit-mask-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cline x1='19' y1='8' x2='19' y2='14'/%3E%3Cline x1='22' y1='11' x2='16' y2='11'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cline x1='19' y1='8' x2='19' y2='14'/%3E%3Cline x1='22' y1='11' x2='16' y2='11'/%3E%3C/svg%3E"); }

/* 留言 / 纸飞机 */
.fa-paper-plane { -webkit-mask-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='22' y1='2' x2='11' y2='13'/%3E%3Cpolygon points='22 2 15 22 11 13 2 9 22 2'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='22' y1='2' x2='11' y2='13'/%3E%3Cpolygon points='22 2 15 22 11 13 2 9 22 2'/%3E%3C/svg%3E"); }

/* 添加到淘帖 / 图层 */
.fa-layer-group { -webkit-mask-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='12 2 2 7 12 12 22 7 12 2'/%3E%3Cpolyline points='2 12 12 17 22 12'/%3E%3Cpolyline points='2 17 12 22 22 17'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='12 2 2 7 12 12 22 7 12 2'/%3E%3Cpolyline points='2 12 12 17 22 12'/%3E%3Cpolyline points='2 17 12 22 22 17'/%3E%3C/svg%3E"); }

/* 屏蔽指定用户组动态 / 划除用户 */
.fa-users-slash { -webkit-mask-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-3-3.87'/%3E%3Cpath d='M6 21v-2a4 4 0 0 1 4-4h2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M16 3.13a4 4 0 0 1 0 7.75'/%3E%3Cline x1='2' y1='2' x2='22' y2='22'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-3-3.87'/%3E%3Cpath d='M6 21v-2a4 4 0 0 1 4-4h2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M16 3.13a4 4 0 0 1 0 7.75'/%3E%3Cline x1='2' y1='2' x2='22' y2='22'/%3E%3C/svg%3E"); }

/* 筛选规则 / 漏斗 */
.fa-filter { -webkit-mask-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='22 3 2 3 10 12.46 10 19 14 21 14 12.46 22 3'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='22 3 2 3 10 12.46 10 19 14 21 14 12.46 22 3'/%3E%3C/svg%3E"); }

/* 保存 / 软盘 */
.fa-save { -webkit-mask-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h11l5 5v11a2 2 0 0 1-2 2z'/%3E%3Cpolyline points='17 21 17 13 7 13 7 21'/%3E%3Cpolyline points='7 3 7 8 15 8'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h11l5 5v11a2 2 0 0 1-2 2z'/%3E%3Cpolyline points='17 21 17 13 7 13 7 21'/%3E%3Cpolyline points='7 3 7 8 15 8'/%3E%3C/svg%3E"); }
/* 1. 个人主页顶部导航菜单 (Flex 智能排序流式布局) */
.tb.cl { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; padding: 0; border-bottom: none; align-items: center; }
.tb.cl li { list-style: none !important; margin: 0 !important; padding: 0 !important; background: transparent !important; border: none !important; order: 1; flex-shrink: 0; }
/* 巧用 Order：让带下拉属性的菜单乖乖排在主菜单后面，一个挨着一个，间距统一 */
.tb.cl li.y { order: 2; margin-left: 0 !important; float: none !important; }
.tb.cl li a { display: inline-flex !important; align-items: center; justify-content: center; padding: 8px 20px !important; background: var(--bg-surface, #fff) !important; color: var(--text-muted, #6b7280) !important; border-radius: 30px !important; font-size: 0.95rem !important; font-weight: 600 !important; border: 1px solid var(--border-color, #e5e7eb) !important; transition: all 0.3s ease !important; text-decoration: none !important; box-shadow: var(--shadow-sm, 0 2px 4px rgba(0,0,0,0.02)) !important; outline: none !important; }
.tb.cl li.a a, .tb.cl li a:hover { background: linear-gradient(135deg, var(--primary-hover, #2563eb), var(--primary-color, #3b82f6)) !important; color: #fff !important; border-color: transparent !important; box-shadow: 0 4px 12px rgba(59,130,246,0.3) !important; transform: translateY(-2px); }
.tb.cl li.y a.btn--pri { background: linear-gradient(135deg, var(--primary-hover, #2563eb), var(--primary-color, #3b82f6)) !important; color: #fff !important; border-color: transparent !important; box-shadow: 0 4px 12px rgba(59,130,246,0.3) !important; }
.tb.cl li.y a.btn--pri:hover { box-shadow: 0 6px 16px rgba(59,130,246,0.4) !important; }
.tb.cl li.y a:not(.btn--pri) { background: transparent !important; color: var(--primary-color, #3b82f6) !important; border: 1px solid var(--primary-color, #3b82f6) !important; box-shadow: none !important; }
.tb.cl li.y a:not(.btn--pri):hover { background: var(--primary-color, #3b82f6) !important; color: #fff !important; transform: translateY(-2px); }

/* 给带有下拉菜单属性的按钮自动添加箭头指示器 */
.tb.cl li.showmenu > a::after {
    content: '\f0d7';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-left: 6px;
    font-size: 0.85rem;
    opacity: 0.6;
}

/* 2. Profile 个人资料主体卡片外壳 */
.by-profile-wrapper { background: var(--bg-surface); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); border: 1px solid var(--border-color); padding: 32px; box-sizing: border-box; }
.by-profile-wrapper .bm_c { padding: 0 !important; }
.ct2 .mn .by-profile-wrapper, .ct2_a .mn .by-profile-wrapper { background: transparent; border: none; box-shadow: none; padding: 0; border-radius: 0; }
.by-profile-wrapper h2.mbn { font-size: 1.5rem; font-weight: 800; color: var(--text-main); margin-bottom: 20px; display: flex; align-items: center; gap: 12px; border-bottom: 1px dashed var(--border-color); padding-bottom: 16px; }
.by-profile-wrapper h2.mbn span { font-size: 0.85rem; font-weight: 600; background: rgba(16, 185, 129, 0.1); color: #10b981; padding: 4px 10px; border-radius: 20px; vertical-align: middle; }
.by-profile-wrapper h2.mbn a { color: var(--primary-color); font-size: 1rem; text-decoration: none; }
.by-profile-wrapper h2.mbn img[src*="online"], .by-ph-name img[src*="online"] { display: inline-block !important; width: 14px !important; height: 14px !important; background-color: #10b981 !important; border-radius: 50% !important; box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.15) !important; animation: pulse-online 2.5s infinite !important; margin-left: 8px !important; vertical-align: middle !important; object-fit: none !important; object-position: -9999px -9999px !important; border: 2px solid var(--bg-surface) !important; position: relative; top: -1px; }
@keyframes pulse-online { 0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); } 70% { box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); } 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); } }
[data-theme="dark"] .by-profile-wrapper h2.mbn img[src*="online"], [data-theme="dark"] .by-ph-name img[src*="online"] { border-color: var(--bg-surface) !important; }
.by-profile-wrapper .pbm.mbm { margin-bottom: 30px !important; border-bottom: none !important; padding-bottom: 0 !important; }
.by-profile-wrapper .pbg2 { margin-bottom: 16px; }
.by-profile-wrapper .cl .mbn { font-size: 1.15rem; font-weight: 700; color: var(--text-main); margin-bottom: 16px; display: flex; align-items: center; gap: 8px; border-left: 4px solid var(--primary-color); padding-left: 12px; margin-left: 0; }
.by-profile-wrapper ul.pf_l { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; padding: 0; margin: 0; }
.by-profile-wrapper ul.pf_l li { display: flex; flex-direction: column; background: var(--bg-body); padding: 16px 20px; border-radius: var(--radius-sm); border: 1px solid var(--border-color); transition: transform 0.3s; width: 100%; box-sizing: border-box; float: none; }
.by-profile-wrapper ul.pf_l li:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); border-color: var(--primary-color); }
.by-profile-wrapper ul.pf_l li em { font-weight: 600; font-style: normal; color: var(--text-muted); margin-bottom: 6px; font-size: 0.9rem; width: auto; text-align: left; padding: 0; display: block; }
.by-profile-wrapper ul.pf_l li a { color: var(--primary-color); font-weight: 600; font-size: 1.05rem; text-decoration: none; word-break: break-all; }
.by-profile-wrapper ul.pf_l li a:hover { text-decoration: underline; color: var(--primary-hover); }
.by-profile-wrapper em, .by-profile-header em { font-style: normal; }
.by-profile-wrapper .pbm { line-height: 1.8; color: var(--text-main); }
.by-profile-wrapper .xg1 { color: var(--text-muted); }
.by-profile-wrapper .xg1 a { color: var(--primary-color); }
.by-profile-wrapper .o.cl { background: rgba(239, 68, 68, 0.05); padding: 16px 20px; border-radius: var(--radius-sm); border: 1px dashed rgba(239, 68, 68, 0.3); margin-top: 24px; display: flex; gap: 12px; flex-wrap: wrap; }
.by-profile-wrapper .o.cl a { color: #ef4444; font-weight: 600; font-size: 0.95rem; text-decoration: none; transition: color 0.3s; }
.by-profile-wrapper .o.cl a:hover { color: #dc2626; text-decoration: underline; }

/* 3. 个人主页顶部名片 (space_menu.php) */
.by-profile-header { background: var(--bg-surface); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); border: 1px solid var(--border-color); margin-bottom: 24px; position: relative; display: block; width: 100%; box-sizing: border-box; }
.by-ph-main { display: flex; align-items: center; padding: 32px 32px 20px; position: relative; }
.by-ph-main::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 80px; background: linear-gradient(135deg, var(--primary-hover), var(--primary-color)); z-index: 0; opacity: 0.1; border-radius: var(--radius-md) var(--radius-md) 0 0; }
.by-ph-avatar { position: relative; z-index: 1; flex-shrink: 0; margin-right: 24px; }
.by-ph-avatar img { width: 90px; height: 90px; border-radius: 50%; border: 4px solid var(--bg-surface); object-fit: cover; box-shadow: var(--shadow-sm); background: var(--bg-surface); transition: transform 0.3s; }
.by-ph-avatar img:hover { transform: rotate(5deg) scale(1.05); }
.by-ph-info { flex: 1; min-width: 0; position: relative; z-index: 1; }
.by-ph-name { font-size: 1.8rem; font-weight: 800; color: var(--text-main); margin: 0 0 8px 0; display: flex; align-items: center; gap: 12px; line-height: 1.2; }
.by-ph-name span { font-size: 0.9rem; font-weight: normal; display: inline-flex; align-items: center; gap: 4px; }
.by-ph-meta { font-size: 0.95rem; color: var(--text-muted); display: flex; align-items: center; flex-wrap: wrap; gap: 12px; position: relative; }
.by-ph-meta a { color: var(--text-muted); transition: color 0.3s; text-decoration: none; }
.by-ph-meta a:hover { color: var(--primary-color); }
.by-ph-meta .pipe { color: var(--border-color); }
.by-ph-actions { display: flex; gap: 12px; align-items: center; position: relative; z-index: 1; }
.by-ph-actions .btn { padding: 10px 20px; font-size: 0.95rem; }
.by-profile-header .tb.cl { margin-bottom: 0; padding: 0 32px 24px; justify-content: flex-start; position: relative; z-index: 1; }

/* 4. 消息与提醒列表 (space_notice.php / space_pm.php) */
#ct .mn > .bm { background: var(--bg-surface, #ffffff); border-radius: var(--radius-md, 12px); box-shadow: var(--shadow-sm, 0 4px 16px rgba(0,0,0,0.05)); padding: 32px; border: 1px solid var(--border-color, #e5e7eb); margin-bottom: 24px; }
#ct .mn > .bm h1.mt { font-size: 1.5rem; font-weight: 700; color: var(--text-main, #1f2937); border-bottom: 1px dashed var(--border-color, #e5e7eb); padding-bottom: 16px; margin-bottom: 24px; display: flex; align-items: center; gap: 8px; }
.xld.xlda .nts dl.cl { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; grid-template-areas: "avatar content meta" "avatar footer meta"; gap: 8px 16px; align-items: center; padding: 20px; margin-bottom: 16px; background: var(--bg-body, #f9fafb); border-radius: var(--radius-sm, 8px); border: 1px solid var(--border-color, #e5e7eb); transition: all 0.3s; }
.xld.xlda .nts dl.cl:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0,0,0,0.06); border-color: var(--primary-hover, #2563eb); background: var(--bg-surface, #ffffff); }
.xld.xlda .nts dl.cl dd.m.avt { grid-area: avatar; margin: 0; }
.xld.xlda .nts dl.cl dd.m.avt img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; box-shadow: 0 2px 8px rgba(0,0,0,0.1); }
.xld.xlda .nts dl.cl dd.ntc_body { grid-area: content; margin: 0; font-size: 0.95rem; color: var(--text-main, #1f2937); line-height: 1.6; }
.xld.xlda .nts dl.cl dd.ntc_body a { color: var(--primary-color, #3b82f6); font-weight: 600; text-decoration: none; }
.xld.xlda .nts dl.cl dd.ntc_body a:hover { text-decoration: underline; }
.xld.xlda .nts dl.cl dd.xg1.xw0 { grid-area: footer; margin: 0; color: var(--text-muted, #6b7280); font-size: 0.85rem; background: rgba(0,0,0,0.03); padding: 4px 10px; border-radius: 4px; display: inline-block; justify-self: start; }
.xld.xlda .nts dl.cl dt { grid-area: meta; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; float: none; width: auto; margin: 0; }
.xld.xlda .nts dl.cl dt span.xg1 { font-size: 0.85rem; color: var(--text-muted, #9ca3af); }
.xld.xlda .nts dl.cl dt a.d.b { display: inline-block; padding: 4px 14px; background: rgba(239, 68, 68, 0.05); color: #ef4444; border-radius: 20px; font-size: 0.85rem; text-decoration: none; opacity: 0; transition: all 0.3s; border: 1px solid rgba(239, 68, 68, 0.2); }
.xld.xlda .nts dl.cl:hover dt a.d.b { opacity: 1; transform: translateX(-4px); }
.xld.xlda .nts dl.cl dt a.d.b:hover { background: #ef4444; color: #fff; border-color: #ef4444; }
.emp { text-align: center; padding: 60px 20px; color: var(--text-muted, #6b7280); background: var(--bg-body, #f9fafb); border-radius: var(--radius-sm, 8px); border: 2px dashed var(--border-color, #e5e7eb); }
.emp a { color: var(--primary-color, #3b82f6); font-weight: bold; margin-left: 8px; text-decoration: none; }

/* 5. 私信与聊天页面专属美化 (space_pm.php) */
.by-pm-list { display: flex; flex-direction: column; gap: 12px; margin-top: 8px; }
.by-pm-item { display: flex; align-items: center; padding: 20px; background: var(--bg-body, #f9fafb); border-radius: var(--radius-sm, 8px); border: 1px solid var(--border-color, #e5e7eb); transition: all 0.3s; position: relative; }
.by-pm-item:hover { background: var(--bg-surface, #fff); transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0,0,0,0.06); border-color: var(--primary-hover, #2563eb); z-index: 1; }
.by-pm-item.is-new { border-left: 4px solid #ef4444; }
.by-pm-item .pm-avatar { position: relative; margin-right: 16px; flex-shrink: 0; }
.by-pm-item .pm-avatar img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; box-shadow: 0 2px 8px rgba(0,0,0,0.1); }
.by-pm-item .pm-avatar .new-badge { position: absolute; top: -2px; right: -2px; width: 12px; height: 12px; background: #ef4444; border: 2px solid #fff; border-radius: 50%; }
.by-pm-item .pm-main { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; }
.by-pm-item .pm-hd { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.by-pm-item .pm-name { font-size: 1.05rem; font-weight: 700; color: var(--text-main); text-decoration: none; }
.by-pm-item .pm-name:hover { color: var(--primary-color); }
.by-pm-item .pm-time { font-size: 0.85rem; color: var(--text-muted); }
.by-pm-item .pm-summary { font-size: 0.95rem; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; text-decoration: none; }
.by-pm-item .pm-summary:hover { color: var(--text-main); }
.by-pm-item .pm-actions { margin-left: 16px; flex-shrink: 0; display: flex; align-items: center; gap: 12px; opacity: 0; transition: opacity 0.3s; }
.by-pm-item:hover .pm-actions { opacity: 1; transform: translateX(-4px); }
.by-pm-item .pm-actions input[type="checkbox"] { transform: scale(1.2); cursor: pointer; margin: 0; }
.by-pm-item .pm-actions .pm-action-btn { display: inline-block; color: var(--text-muted); font-size: 0.85rem; text-decoration: none; padding: 4px 12px; border-radius: 20px; border: 1px solid var(--border-color); background: var(--bg-surface); transition: all 0.2s; }
.by-pm-item .pm-actions .pm-action-btn.del { color: #ef4444; border-color: rgba(239, 68, 68, 0.2); background: rgba(239, 68, 68, 0.05); }
.by-pm-item .pm-actions .pm-action-btn.del:hover { background: #ef4444; color: #fff; border-color: #ef4444; }
.by-chat-wrapper { background: var(--bg-body); border-radius: var(--radius-md); padding: 20px; border: 1px solid var(--border-color); margin-bottom: 24px; }
.by-chat-container { display: flex; flex-direction: column; gap: 20px; height: 450px; overflow-y: auto; padding-right: 12px; margin-bottom: 20px; scrollbar-width: thin; }
.by-chat-container::-webkit-scrollbar { width: 6px; }
.by-chat-container::-webkit-scrollbar-thumb { background: #d1d5db; border-radius: 4px; }
.by-chat-msg { display: flex; gap: 16px; align-items: flex-start; }
.by-chat-msg.is-me { flex-direction: row-reverse; }
.by-chat-avatar img { width: 40px; height: 40px; border-radius: 50%; box-shadow: 0 2px 8px rgba(0,0,0,0.1); }
.by-chat-content { max-width: 70%; display: flex; flex-direction: column; }
.by-chat-msg.is-me .by-chat-content { align-items: flex-end; }
.by-chat-meta { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 6px; padding: 0 4px; }
.by-chat-bubble { padding: 12px 16px; border-radius: 16px; background: var(--bg-surface); border: 1px solid var(--border-color); color: var(--text-main); font-size: 0.95rem; line-height: 1.6; word-break: break-word; box-shadow: 0 2px 6px rgba(0,0,0,0.02); }
.by-chat-msg.is-me .by-chat-bubble { background: linear-gradient(135deg, var(--primary-hover), var(--primary-color)); color: #fff; border-color: transparent; border-top-right-radius: 4px; box-shadow: 0 4px 12px rgba(59,130,246,0.2); }
.by-chat-msg:not(.is-me) .by-chat-bubble { border-top-left-radius: 4px; }
.by-chat-reply .tedt { border: 1px solid var(--border-color) !important; border-radius: 8px !important; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.02); }
.by-chat-reply .tedt .bar { background: var(--bg-surface) !important; border-bottom: 1px solid var(--border-color) !important; padding: 8px 12px !important; }
.by-chat-reply .tedt .area { background: var(--bg-surface) !important; }
.by-chat-reply textarea { padding: 12px !important; font-size: 0.95rem !important; }

/* 6. 我的帖子 / 回复列表 (space_thread.php) 现代化卡片流 */
.by-thread-filter { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 16px 20px; background: var(--bg-body, #f9fafb); border-radius: var(--radius-sm, 8px); border: 1px solid var(--border-color, #e5e7eb); margin-bottom: 20px; }
.by-thread-filter > div { flex-wrap: wrap; }
.by-thread-filter a { white-space: nowrap; flex-shrink: 0; color: var(--text-muted, #6b7280); font-size: 0.95rem; font-weight: 600; padding: 6px 12px; border-radius: 20px; text-decoration: none; transition: all 0.3s; }
.by-thread-filter a:hover { color: var(--primary-color, #3b82f6); background: rgba(59, 130, 246, 0.05); }
.by-thread-filter a.a { color: var(--primary-color, #3b82f6); background: rgba(59, 130, 246, 0.1); }
.by-thread-filter .pipe { display: none; }
.by-thread-filter select { max-width: 120px; flex-shrink: 0; padding: 6px 12px; border: 1px solid var(--border-color); border-radius: 6px; background: var(--bg-surface); color: var(--text-main); outline: none; font-size: 0.9rem; }
.by-thread-filter input#searchmypost { height: 34px; border-radius: 20px; padding: 0 16px; border: 1px solid var(--border-color, #e5e7eb); background: var(--bg-surface, #fff); font-size: 0.9rem; width: 160px; color: var(--text-main); transition: all 0.3s ease; outline: none; }
.by-thread-filter input#searchmypost:focus { border-color: var(--primary-color, #3b82f6); box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15); width: 220px; }
.by-thread-filter button[onclick*="searchpostbyusername"] { height: 34px; border-radius: 20px; padding: 0 20px; font-size: 0.9rem; font-weight: 600; background: linear-gradient(135deg, var(--primary-hover, #2563eb), var(--primary-color, #3b82f6)); color: #fff; border: none; box-shadow: 0 4px 10px rgba(59, 130, 246, 0.25); cursor: pointer; transition: transform 0.2s, box-shadow 0.2s; }
.by-thread-filter button[onclick*="searchpostbyusername"]:hover { transform: translateY(-2px); box-shadow: 0 6px 14px rgba(59, 130, 246, 0.35); }
.by-thread-list { display: flex; flex-direction: column; gap: 16px; margin-bottom: 24px; }
.by-thread-list .th { display: none; }
.by-thread-card { display: flex; flex-direction: column; padding: 20px; background: var(--bg-surface); border: 1px solid var(--border-color); border-radius: var(--radius-md); box-shadow: 0 2px 8px rgba(0,0,0,0.02); transition: all 0.3s ease; }
.by-thread-card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.06); border-color: rgba(59, 130, 246, 0.3); }
.by-tc-main { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; }
.by-tc-content { flex: 1; min-width: 0; }
.by-tc-title { font-size: 1.15rem; font-weight: 700; margin: 0 0 10px 0; line-height: 1.5; display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.by-tc-title a { color: var(--text-main); text-decoration: none; transition: color 0.2s; word-break: break-word; }
.by-tc-title a:hover { color: var(--primary-color); }
.by-tc-title .recy { text-decoration: line-through; color: var(--text-muted); }
.by-tc-badge { font-size: 0.75rem; padding: 2px 8px; border-radius: 4px; background: rgba(239, 68, 68, 0.1); color: #ef4444; }
.by-tc-badge.digest { background: rgba(245, 158, 11, 0.1); color: #d97706; }
.by-tc-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-size: 0.85rem; color: var(--text-muted); }
.by-tc-meta a { color: var(--text-muted); text-decoration: none; transition: color 0.2s; }
.by-tc-meta a:hover { color: var(--primary-color); }
.by-tc-meta .forum-link { color: var(--primary-color); background: rgba(59, 130, 246, 0.05); padding: 2px 8px; border-radius: 4px; }
.by-tc-stats { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; flex-shrink: 0; text-align: right; }
.by-tc-stat-item { font-size: 0.9rem; color: var(--text-muted); display: flex; align-items: center; gap: 6px; }
.by-tc-stat-item.replies { color: var(--primary-color); font-weight: 600; font-size: 1rem; }
.by-tc-reply-preview { margin-top: 16px; padding: 12px 16px; background: var(--bg-body); border-radius: 8px; border-left: 3px solid var(--border-color); font-size: 0.95rem; color: var(--text-main); line-height: 1.6; word-break: break-word; }
.by-tc-reply-preview a { color: var(--text-main); text-decoration: none; }
.by-tc-reply-preview a:hover { color: var(--primary-color); }
.by-tc-manage { margin-top: 16px; padding-top: 12px; border-top: 1px dashed var(--border-color); display: flex; align-items: center; }
.by-tc-manage input[type="checkbox"] { margin: 0 8px 0 0; transform: scale(1.2); cursor: pointer; }


/* ==========================================================
   7. 【神级自适应】全系个人中心 右侧菜单(.appl)提顶与多重排版重构
   ========================================================== */
@media (max-width: 999px) {
    #ct.ct2_a, #ct.ct2_a_r { display: flex !important; flex-direction: column !important; padding: 0 16px !important; box-sizing: border-box !important; }
    #ct.ct2_a .mn, #ct.ct2_a_r .mn { order: 2 !important; width: 100% !important; float: none !important; box-sizing: border-box !important; }
    #ct.ct2_a .appl, #ct.ct2_a_r .appl { order: 1 !important; width: 100% !important; float: none !important; padding: 0 !important; margin-bottom: 0 !important; box-sizing: border-box !important; }
    #ct .appl .tbn h2 { display: none !important; }
    #ct .appl .tbn { background: transparent !important; border: none !important; padding: 0 !important; margin: 16px 0 20px 0 !important; }
    #ct .appl .tbn ul { display: grid !important; grid-template-columns: repeat(3, 1fr) !important; gap: 12px !important; padding: 0 20px !important; background: transparent !important; border-radius: 0 !important; box-shadow: none !important; border: none !important; }
    #ct .appl .tbn ul li { border: none !important; padding: 0 !important; margin: 0 !important; background: transparent !important; }
    #ct .appl .tbn ul li a { display: flex !important; align-items: center; justify-content: center; padding: 12px !important; background: var(--bg-surface, #ffffff) !important; color: var(--text-main, #1f2937) !important; border: 1px solid var(--border-color, #e5e7eb) !important; border-radius: var(--radius-sm, 8px) !important; font-size: 0.95rem !important; font-weight: 600 !important; box-shadow: var(--shadow-sm, 0 2px 4px rgba(0,0,0,0.02)) !important; transition: all 0.3s ease !important; text-align: center; }
    #ct .appl .tbn ul li a:hover { background: rgba(59, 130, 246, 0.08) !important; color: var(--primary-hover, #2563eb) !important; }
    #ct .appl .tbn ul li.a a, #ct .appl .tbn ul li.current a { background: var(--primary-color, #3b82f6) !important; color: #fff !important; border-color: var(--primary-color, #3b82f6) !important; box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3) !important; }
    .by-thread-filter > div[style*="flex:1"] { flex: 0 0 100% !important; height: 0 !important; margin: 0 !important; display: block !important; }
    .by-thread-filter > div:last-child { margin-left: auto !important; }
}

@media (max-width: 768px) {
    #ct.ct2_a, #ct.ct2_a_r { padding: 0 !important; }
    #ct .mn > .bm { padding: 16px; border-radius: 0; border-left: none; border-right: none; margin-bottom: 16px; }
    .xld.xlda .nts dl.cl { grid-template-columns: 40px 1fr; grid-template-areas: "avatar content" "avatar footer" "avatar meta"; gap: 8px 12px; padding: 16px; }
    .xld.xlda .nts dl.cl dd.m.avt img { width: 40px; height: 40px; }
    .xld.xlda .nts dl.cl dt { flex-direction: row-reverse; justify-content: flex-end; align-items: center; margin-top: 8px; }
    .xld.xlda .nts dl.cl dt a.d.b { opacity: 1; transform: none; padding: 2px 10px; }
    .tb.cl li.y { width: 100%; text-align: right; }
    #ct .appl .tbn { margin: 16px 16px 12px !important; }
    #ct .appl .tbn ul { display: flex !important; flex-wrap: nowrap !important; overflow-x: auto !important; -webkit-overflow-scrolling: touch; scrollbar-width: none; gap: 16px !important; padding: 4px 4px 12px 4px !important; background: transparent !important; border: none !important; box-shadow: none !important; border-radius: 0 !important; }
    #ct .appl .tbn ul::-webkit-scrollbar { display: none; }
    #ct .appl .tbn ul li { flex-shrink: 0 !important; }
    #ct .appl .tbn ul li a { display: inline-flex !important; padding: 10px 24px !important; border-radius: 30px !important; background: var(--bg-surface, #fff) !important; border: 1px solid var(--border-color, #e5e7eb) !important; box-shadow: 0 2px 6px rgba(0,0,0,0.04) !important; color: var(--text-main, #1f2937) !important; }
    #ct .appl .tbn ul li.a a, #ct .appl .tbn ul li.current a { background: var(--primary-color, #3b82f6) !important; color: #fff !important; border-color: var(--primary-color, #3b82f6) !important; box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3) !important; }
    .by-tc-main { flex-direction: column; gap: 12px; }
    .by-tc-stats { flex-direction: row; align-items: center; justify-content: flex-start; width: 100%; margin-top: 4px; border-top: 1px dashed var(--border-color); padding-top: 12px; gap: 16px; }
    .by-tc-title { font-size: 1.05rem; }
    .by-thread-filter { padding: 12px; gap: 12px; align-items: center !important; flex-direction: row !important; flex-wrap: wrap !important; }
    .by-thread-filter > div:first-child { width: 100%; justify-content: flex-start; }
    .by-thread-filter > div[style*="flex:1"] { display: block !important; flex: 0 0 100% !important; height: 0 !important; margin: 0 !important; } 
    .by-thread-filter > div:last-child { width: 100%; margin-left: 0 !important; margin-top: 8px; flex-wrap: nowrap; }
    .by-thread-filter input#searchmypost { width: 100% !important; flex: 1; min-width: 0; }
    .by-thread-filter input#searchmypost:focus { width: 100% !important; }
    .by-thread-filter button[onclick*="searchpostbyusername"] { flex-shrink: 0; }
}


/* ==========================================================
   8. 我的收藏 (space_favorite.php) 现代化卡片瀑布流
   ========================================================== */
.by-favorite-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; padding: 0; margin: 0 0 24px 0; list-style: none; }
.by-favorite-card { 
    display: flex; flex-direction: column; background: var(--bg-surface, #fff); 
    border: 1px solid var(--border-color, #e5e7eb); border-radius: var(--radius-md, 12px); 
    padding: 20px; box-shadow: 0 2px 8px rgba(0,0,0,0.02); transition: all 0.3s ease; position: relative; 
}
.by-favorite-card:hover { transform: translateY(-4px); box-shadow: 0 10px 24px rgba(0,0,0,0.08); border-color: rgba(59, 130, 246, 0.4); }
.by-fav-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.by-fav-type { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; color: var(--text-muted); }
.by-fav-checkbox { transform: scale(1.2); cursor: pointer; margin: 0; }
.by-fav-icon { display: inline-flex; align-items: center; justify-content: center; background: rgba(59,130,246,0.1); padding: 4px; border-radius: 6px; }
.by-fav-icon img { width: 16px; height: 16px; display: block; }
.by-fav-actions .by-fav-del { color: var(--text-muted); opacity: 0; transition: all 0.3s ease; padding: 4px 10px; border-radius: 6px; text-decoration: none; font-size: 0.85rem; }
.by-favorite-card:hover .by-fav-actions .by-fav-del { opacity: 1; background: rgba(239,68,68,0.05); color: #ef4444; }
.by-fav-actions .by-fav-del:hover { background: #ef4444; color: #fff; }
.by-fav-body { flex: 1; display: flex; flex-direction: column; gap: 10px; }
.by-fav-title { font-size: 1.1rem; font-weight: 700; color: var(--text-main); text-decoration: none; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; transition: color 0.2s; word-break: break-all; }
.by-fav-title:hover { color: var(--primary-color); }
.by-fav-desc { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; background: var(--bg-body); padding: 12px 16px; border-radius: 8px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; border-left: 3px solid var(--border-color); }
.by-fav-manage { display: flex; align-items: center; gap: 16px; padding: 16px 24px; background: var(--bg-body); border: 1px solid var(--border-color); border-radius: var(--radius-sm); margin-top: 24px; flex-wrap: wrap; }
.by-fav-manage label { font-weight: 600; cursor: pointer; display: flex; align-items: center; gap: 8px; color: var(--text-main); }
.by-fav-manage label input { transform: scale(1.2); }
.by-fav-manage .del-btn { color: #ef4444 !important; border-color: transparent !important; background: transparent !important; box-shadow: none !important; }
.by-fav-manage .del-btn:hover { background: rgba(239,68,68,0.1) !important; color: #dc2626 !important; }
@media (max-width: 768px) {
    .by-favorite-grid { grid-template-columns: 1fr; gap: 12px; }
    .by-fav-actions .by-fav-del { opacity: 1; background: rgba(239,68,68,0.05); color: #ef4444; }
    .by-fav-manage { justify-content: space-between; }
}


/* ==========================================================
   10. 全局表单与设置页 (原生 .tfm 表格暴力接管)
   ========================================================== */
.ct2_a form .tfm, #profilelist { 
    display: block !important; width: 100% !important; background: var(--bg-surface, #ffffff) !important; 
    padding: 32px !important; border-radius: var(--radius-md, 12px) !important; 
    box-shadow: var(--shadow-sm, 0 4px 16px rgba(0,0,0,0.05)) !important; 
    border: 1px solid var(--border-color, #e5e7eb) !important; 
    margin-bottom: 24px !important; margin-top: 16px !important; box-sizing: border-box !important; 
}
.ct2_a form .tfm tbody, #profilelist tbody { display: block !important; width: 100% !important; }
.ct2_a form .tfm tr, #profilelist tr { 
    display: flex !important; flex-wrap: wrap !important; margin-bottom: 24px !important; align-items: flex-start !important; 
}
.ct2_a form .tfm th, #profilelist th { 
    display: block !important; width: 100% !important; text-align: left !important; 
    font-size: 0.95rem !important; font-weight: 600 !important; color: var(--text-main, #1f2937) !important; 
    margin-bottom: 8px !important; padding: 0 !important; border: none !important; line-height: 1.5 !important;
}
/* 这里采用 min-width 200px 保证输入框和公开下拉菜单可以在同一行显示 */
.ct2_a form .tfm td, #profilelist td { 
    display: flex !important; flex-wrap: wrap !important; align-items: center !important; gap: 8px !important; 
    padding: 0 !important; border: none !important; flex: 1 !important; min-width: 200px !important; 
}

.ct2_a form .tfm td.p, #profilelist td.p { 
    flex: 0 0 auto !important; width: auto !important; min-width: auto !important; margin-left: 12px !important;
}

.ct2_a form .tfm td[colspan="2"], .ct2_a form .tfm td[colspan="3"], #profilelist td[colspan="2"] { 
    width: 100% !important; margin-top: 16px !important; padding-top: 24px !important; 
    border-top: 1px dashed var(--border-color, #e5e7eb) !important; display: flex !important; justify-content: flex-start !important;
}

.ct2_a form .tfm input.px, 
.ct2_a form .tfm input.pt,
.ct2_a form .tfm input[type="text"],
.ct2_a form .tfm input[type="password"],
#profilelist input.px { 
    flex: 1 1 120px !important; max-width: 480px !important; height: 44px !important; padding: 0 16px !important; 
    border: 1px solid var(--border-color, #e5e7eb) !important; border-radius: 8px !important; 
    background: var(--bg-body, #f9fafb) !important; font-size: 1rem !important; 
    color: var(--text-main, #1f2937) !important; transition: all 0.3s !important; box-sizing: border-box !important; 
}

.ct2_a form .tfm textarea, 
#profilelist textarea { 
    width: 100% !important; max-width: 480px !important; padding: 12px 16px !important; min-height: 80px !important;
    border: 1px solid var(--border-color, #e5e7eb) !important; border-radius: 8px !important; 
    background: var(--bg-body, #f9fafb) !important; font-size: 1rem !important; 
    color: var(--text-main, #1f2937) !important; transition: all 0.3s !important; box-sizing: border-box !important; 
    resize: vertical !important;
}

.ct2_a form .tfm input.px:focus, 
.ct2_a form .tfm textarea:focus,
#profilelist input.px:focus, #profilelist textarea:focus { 
    background: var(--bg-surface, #ffffff) !important; border-color: var(--primary-color, #3b82f6) !important; 
    box-shadow: 0 0 0 3px rgba(59,130,246,0.15) !important; outline: none !important; 
}

.ct2_a form .tfm select, #profilelist select { 
    height: 44px !important; padding: 0 32px 0 16px !important; border: 1px solid var(--border-color, #e5e7eb) !important; 
    border-radius: 8px !important; background: var(--bg-body, #f9fafb) !important; margin: 0 !important;
    font-size: 0.95rem !important; color: var(--text-main, #1f2937) !important; outline: none !important; 
    transition: border-color 0.3s !important; cursor: pointer !important; max-width: 100% !important; 
    appearance: auto !important;
}
.ct2_a form .tfm select:focus, #profilelist select:focus { 
    border-color: var(--primary-color, #3b82f6) !important; box-shadow: 0 0 0 3px rgba(59,130,246,0.15) !important;
}

.ct2_a form .tfm td.p select, #profilelist td.p select { 
    background-color: var(--bg-surface, #ffffff) !important; border-style: dashed !important; color: var(--primary-color, #3b82f6) !important; margin-bottom: 0 !important;
}

.ct2_a form .tfm td.d, .ct2_a form .tfm td > .d, .ct2_a form .tfm td > p.d, .ct2_a form .tfm td > .xg1, #profilelist td > .d { 
    width: 100% !important; font-size: 0.85rem !important; line-height: 1.6 !important; display: block !important; margin: 0 !important;
    background: rgba(0,0,0,0.02) !important; padding: 12px 16px !important; border-radius: 8px !important; border: 1px dashed var(--border-color) !important;
    color: var(--text-muted, #6b7280) !important;
}
.ct2_a form .tfm td.d { margin-top: 0 !important; background: rgba(245, 158, 11, 0.05) !important; border-color: rgba(245, 158, 11, 0.3) !important; color: #d97706 !important; }
.ct2_a form .tfm p.xi1, #profilelist p.xi1 { color: #ef4444 !important; margin-top: 8px !important; font-size: 0.85rem !important; }

.ct2_a form .tfm td > span { font-weight: 600; color: var(--text-main); }

.ct2_a form .tfm .pn, #profilelist .pn { 
    padding: 10px 32px !important; border-radius: 8px !important; background: linear-gradient(135deg, var(--primary-hover, #2563eb), var(--primary-color, #3b82f6)) !important; 
    border: none !important; color: #fff !important; font-weight: 600 !important; font-size: 1rem !important; cursor: pointer !important; 
    box-shadow: 0 4px 12px rgba(59,130,246,0.3) !important; transition: all 0.3s !important; height: auto !important; line-height: normal !important;
}
.ct2_a form .tfm .pn:hover, #profilelist .pn:hover { 
    transform: translateY(-2px) !important; box-shadow: 0 6px 16px rgba(59,130,246,0.4) !important; 
}

.ct2_a form .tfm .rq, #profilelist .rq { color: #ef4444 !important; margin-right: 4px !important; font-weight: bold !important; }
.ct2_a form .tfm th.rq, #profilelist th.rq { color: #ef4444 !important; }

@media (max-width: 768px) {
    .ct2_a form .tfm, #profilelist { padding: 20px !important; border-radius: 0 !important; border-left: none !important; border-right: none !important; }
    .ct2_a form .tfm td.p, #profilelist td.p { margin-left: 0 !important; margin-top: 8px !important; width: 100% !important; }
    .ct2_a form .tfm td.p select, #profilelist td.p select { width: 100% !important; }
}

/* ==========================================================
   11. 我的积分 / 资产大盘与流水表格 (专属定制 PHP 美化版找回)
   ========================================================== */
.by-profile-form { background: var(--bg-surface, #ffffff); padding: 32px; border-radius: var(--radius-md, 12px); box-shadow: var(--shadow-sm, 0 4px 16px rgba(0,0,0,0.05)); border: 1px solid var(--border-color, #e5e7eb); margin-bottom: 24px; margin-top: 16px; }
.by-form-group { margin-bottom: 24px; display: flex; flex-direction: column; }
.by-form-group > label { display: block; font-size: 0.95rem; font-weight: 600; color: var(--text-main, #1f2937); margin-bottom: 10px; }
.by-form-control { flex: 1; }
.by-form-control .px, .by-form-control input[type="text"], .by-form-control input[type="password"] { width: 100%; max-width: 480px; padding: 12px 16px; border: 1px solid var(--border-color, #e5e7eb); border-radius: 8px; background: var(--bg-body, #f9fafb); font-size: 1rem; color: var(--text-main, #1f2937); transition: all 0.3s; box-sizing: border-box; height: 44px; }
.by-form-control .px:focus, .by-form-control input[type="text"]:focus, .by-form-control input[type="password"]:focus { background: var(--bg-surface, #ffffff); border-color: var(--primary-color, #3b82f6); box-shadow: 0 0 0 3px rgba(59,130,246,0.15); outline: none; }
.by-form-control select { padding: 0 32px 0 16px; border: 1px solid var(--border-color, #e5e7eb); border-radius: 8px; background: var(--bg-body, #f9fafb); font-size: 0.95rem; color: var(--text-main, #1f2937); outline: none; transition: border-color 0.3s; cursor: pointer; height: 44px; appearance: auto; }
.by-form-control select:focus { border-color: var(--primary-color, #3b82f6); box-shadow: 0 0 0 3px rgba(59,130,246,0.15); }
.by-static-text { display: inline-block; padding: 10px 16px; background: rgba(0,0,0,0.03); border-radius: 8px; color: var(--text-main, #1f2937); border: 1px dashed var(--border-color, #e5e7eb); font-size: 0.95rem; height: 44px; box-sizing: border-box; line-height: 22px; }
.by-form-actions { margin-top: 32px; padding-top: 24px; border-top: 1px dashed var(--border-color, #e5e7eb); display: flex; gap: 16px; align-items: center; }

/* 积分大盘卡片 */
.by-credit-dashboard { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; margin-bottom: 24px; margin-top: 16px; }
.by-credit-card { background: linear-gradient(135deg, var(--primary-hover, #2563eb), var(--primary-color, #3b82f6)); border-radius: var(--radius-md, 12px); padding: 24px; color: #fff; box-shadow: 0 10px 20px rgba(59,130,246,0.2); position: relative; overflow: hidden; transition: transform 0.3s; }
.by-credit-card:hover { transform: translateY(-4px); box-shadow: 0 14px 28px rgba(59,130,246,0.3); }
.by-credit-card::after { content: ''; position: absolute; top: -20px; right: -20px; width: 120px; height: 120px; background: rgba(255,255,255,0.1); border-radius: 50%; }
.by-credit-card.secondary { background: var(--bg-surface, #fff); border: 1px solid var(--border-color, #e5e7eb); color: var(--text-main, #1f2937); box-shadow: var(--shadow-sm, 0 2px 8px rgba(0,0,0,0.02)); }
.by-credit-card.secondary:hover { border-color: var(--primary-color, #3b82f6); box-shadow: 0 8px 24px rgba(59,130,246,0.1); }
.by-credit-card.secondary::after { display: none; }
.by-credit-title { font-size: 0.95rem; opacity: 0.9; margin-bottom: 8px; display: flex; align-items: center; gap: 8px; font-weight: 600; }
.by-credit-card.secondary .by-credit-title { color: var(--text-muted, #6b7280); }
.by-credit-amount { font-size: 2.2rem; font-weight: 800; line-height: 1.2; font-family: monospace; }
.by-credit-card.secondary .by-credit-amount { color: var(--primary-color, #3b82f6); }
.by-credit-action { margin-top: 16px; position: relative; z-index: 1; }
.by-credit-action a { display: inline-flex; align-items: center; justify-content: center; padding: 6px 16px; background: rgba(255,255,255,0.2); color: #fff; border-radius: 20px; font-size: 0.85rem; text-decoration: none; transition: background 0.2s; }
.by-credit-action a:hover { background: rgba(255,255,255,0.3); }

/* 流水账单表格 */
.by-log-table { width: 100%; border-collapse: collapse; background: var(--bg-surface, #fff); border-radius: var(--radius-md, 12px); overflow: hidden; box-shadow: var(--shadow-sm, 0 2px 8px rgba(0,0,0,0.02)); border: 1px solid var(--border-color, #e5e7eb); margin-bottom: 24px; }
.by-log-table th { background: var(--bg-body, #f9fafb); color: var(--text-muted, #6b7280); font-size: 0.9rem; font-weight: 600; text-align: left; padding: 14px 20px; border-bottom: 1px solid var(--border-color, #e5e7eb); white-space: nowrap; }
.by-log-table td { padding: 16px 20px; border-bottom: 1px dashed var(--border-color, #e5e7eb); color: var(--text-main, #1f2937); font-size: 0.95rem; vertical-align: middle; transition: background 0.2s; }
.by-log-table tr:last-child td { border-bottom: none; }
.by-log-table tr:hover td { background: rgba(59,130,246,0.02); }
.by-log-amount { font-weight: 700; font-family: monospace; font-size: 1.1rem; }
.by-log-amount.pos { color: #10b981; }
.by-log-amount.neg { color: #ef4444; }
.by-log-time { color: var(--text-muted, #9ca3af); font-size: 0.85rem; }

@media (max-width: 768px) {
    .by-credit-dashboard { grid-template-columns: 1fr 1fr; gap: 12px; }
    .by-log-table { display: block; overflow-x: auto; white-space: nowrap; }
    .by-profile-form { padding: 20px; border-radius: 0; border-left: none; border-right: none; margin-top: 0; }
}

/* ==========================================================
   12. 修改头像 (spacecp_avatar.php) 样式修复
   ========================================================== */
/* 彻底修复原生“返回选择”、“保存”等按钮白底白字看不清的问题 */
#avatardesigner .backfileselection,
#avatardesigner .saveAvatar,
#avatardesigner .finishbutton { 
    color: #333333 !important; 
    background: #ffffff !important; 
    border: 1px solid #d1d5db !important; 
    text-shadow: none !important;
    border-radius: 4px !important;
    padding: 6px 16px !important;
    font-size: 14px !important;
    font-weight: normal !important;
    cursor: pointer !important;
    box-shadow: none !important;
}
#avatardesigner .backfileselection:hover { 
    color: #3b82f6 !important; 
    border-color: #3b82f6 !important; 
    background: #f0f9ff !important; 
}
#avatardesigner .saveAvatar, 
#avatardesigner .finishbutton { 
    background: var(--primary-color, #3b82f6) !important; 
    color: #ffffff !important; 
    border-color: transparent !important; 
}
#avatardesigner .saveAvatar:hover, 
#avatardesigner .finishbutton:hover { 
    background: var(--primary-hover, #2563eb) !important; 
}

/* ==========================================================
   13. 全局下拉菜单与用户组权限矩阵 (.p_pop / spacecp_usergroup.php)
   ========================================================== */
/* 全局接管所有弹出的浮动下拉菜单 (.p_pop) */
.p_pop { 
    background: var(--bg-surface, #ffffff) !important; 
    border: 1px solid var(--border-color, #e5e7eb) !important; 
    box-shadow: 0 10px 25px rgba(0,0,0,0.1) !important; 
    border-radius: 8px !important; 
    padding: 8px 0 !important; 
    z-index: 100000 !important; 
    min-width: 120px !important;
    outline: none !important; 
}
.p_pop li { list-style: none !important; margin: 0 !important; padding: 0 !important; border: none !important; background: transparent !important; }
.p_pop a, .p_pop li a { 
    display: block !important; 
    padding: 10px 20px !important; 
    color: var(--text-main, #1f2937) !important; 
    font-size: 0.95rem !important; 
    text-decoration: none !important; 
    white-space: nowrap !important; 
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    outline: none !important; 
}
.p_pop a:hover, .p_pop li a:hover, .p_pop a.a, .p_pop li.a a { 
    background: rgba(59, 130, 246, 0.08) !important; 
    color: var(--primary-color, #3b82f6) !important; 
}

/* 用户组顶部卡片 */
.by-ug-hero { background: linear-gradient(135deg, var(--primary-hover, #2563eb), var(--primary-color, #3b82f6)); color: #fff; padding: 24px 32px; border-radius: var(--radius-md, 12px); margin-bottom: 24px; box-shadow: 0 10px 20px rgba(59,130,246,0.2); position: relative; overflow: hidden; }
.by-ug-hero::after { content: '\f0a1'; font-family: 'Font Awesome 5 Free'; font-weight: 900; position: absolute; font-size: 120px; right: -20px; top: -20px; opacity: 0.1; transform: rotate(-15deg); }
.by-ug-hero h3 { font-size: 1.5rem; font-weight: 700; margin: 0 0 8px 0; color: #fff; display: flex; align-items: center; gap: 8px; }
.by-ug-hero p { margin: 0; opacity: 0.9; font-size: 0.95rem; line-height: 1.6; }

/* 权限对比大表 (原生 .tdats 彻底不折行修复，恢复到完美三表并排拉伸版) */
.tdats { display: flex; overflow-x: auto; background: var(--bg-surface, #fff); border-radius: var(--radius-md, 12px); box-shadow: var(--shadow-sm, 0 2px 8px rgba(0,0,0,0.02)); border: 1px solid var(--border-color, #e5e7eb); margin-bottom: 24px; -webkit-overflow-scrolling: touch; align-items: flex-start; width: 100%; }
.tdats table { border-collapse: collapse; flex: 1; min-width: 140px; border-right: 1px solid var(--border-color, #e5e7eb); table-layout: fixed; }
.tdats table:first-child { flex: 1.2; min-width: 150px; } 
.tdats table:last-child { border-right: none; }

/* 绝对绑定所有表格每行高度为 48px，并强制绝对不准换行，彻底断绝多米诺骨牌式错位 */
.tdats table tr { height: 48px !important; }
.tdats table tr:first-child { height: 160px !important; } 

.tdats table th, .tdats table td { 
    padding: 0 12px !important; 
    height: 48px !important; 
    box-sizing: border-box; 
    font-size: 0.95rem; 
    color: var(--text-main, #1f2937); 
    text-align: center; 
    vertical-align: middle; 
    border-bottom: 1px solid var(--border-color, #e5e7eb);
    white-space: nowrap !important; /* 绝对禁止换行 */
    overflow: hidden !important;
    text-overflow: ellipsis !important; /* 字数超长变成省略号 */
}
.tdats table tr:last-child th, .tdats table tr:last-child td { border-bottom: none; }
.tdats table th { background: var(--bg-body, #f9fafb); font-weight: 600; }

/* 精准居中对齐目标用户组 ("新手上路", "高级会员") 的标题栏文字 */
.tdats table tr.h th { 
    background: rgba(59, 130, 246, 0.05) !important; 
    color: var(--primary-color, #3b82f6) !important; 
    font-size: 1rem !important; 
    text-align: center !important; 
    padding-left: 0 !important; 
}

/* 保持第一列（权限名称列）特殊左对齐 */
.tdats table:first-child th, .tdats table:first-child td { text-align: left !important; background: var(--bg-body, #f9fafb) !important; font-weight: 600; color: var(--text-muted, #6b7280) !important; }
.tdats table:first-child tr.h th { background: rgba(59, 130, 246, 0.08) !important; color: var(--primary-color, #3b82f6) !important; text-align: left !important; padding-left: 20px !important; }

/* 修复特权对比表的头部高低不对齐问题 (绝对高度约束) */
.tdats table th.c0 { 
    height: 160px !important; 
    vertical-align: top !important; 
    padding-top: 24px !important; 
    padding-bottom: 24px !important; 
    box-sizing: border-box !important;
    white-space: normal !important; /* 仅允许表头换行 */
}
.tdats table:first-child th.c0 { 
    vertical-align: middle !important; 
}

/* 弹窗内的购买表单 */
.by-ug-modal { padding: 24px; background: var(--bg-surface, #fff); }
.by-ug-modal table { width: 100%; border-collapse: collapse; margin-bottom: 20px; }
.by-ug-modal table td { padding: 12px 0; border-bottom: 1px dashed var(--border-color, #e5e7eb); font-size: 0.95rem; color: var(--text-main, #1f2937); }
.by-ug-modal table tr:last-child td { border-bottom: none; }
.by-ug-modal table td:first-child { font-weight: 600; color: var(--text-muted, #6b7280); width: 120px; }
.by-ug-modal .px { width: 80px; padding: 6px 12px; border: 1px solid var(--border-color); border-radius: 6px; text-align: center; font-size: 1rem; outline:none; }
.by-ug-modal .px:focus { border-color: var(--primary-color); box-shadow: 0 0 0 3px rgba(59,130,246,0.15); }