/* profile.css — 个人资料 / 备注 / 聊天历史面板（源文件行 963-1031，保持原顺序） */
  /* ====== 新增：个人资料 / 好友备注 / 聊天历史 ====== */
  .fs-my-profile{
    display:flex;align-items:center;gap:10px;padding:10px 4px 10px 4px;
    border-bottom:1px solid var(--border);margin-bottom:8px;
  }
  .fs-my-avatar-wrap{position:relative;cursor:pointer;flex-shrink:0}
  .fs-my-avatar{
    width:44px;height:44px;border-radius:50%;display:flex;align-items:center;justify-content:center;
    font-size:16px;font-weight:700;color:#fff;object-fit:cover;border:2px solid var(--primary);
    background:#4a9eff;overflow:hidden;
  }
  .fs-my-avatar img{width:100%;height:100%;object-fit:cover}
  .fs-my-avatar-edit{
    position:absolute;right:-2px;bottom:-2px;width:20px;height:20px;border-radius:50%;
    background:var(--surface);border:1px solid var(--primary);color:var(--primary);
    font-size:10px;display:flex;align-items:center;justify-content:center;cursor:pointer;
  }
  .fs-my-info{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
  .fs-my-nickname{
    font-size:14px;font-weight:600;color:var(--text);display:flex;align-items:center;gap:6px;
    max-width:100%;
  }
  .fs-my-nickname span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .fs-my-nickname-edit{font-size:11px;color:var(--primary);cursor:pointer;opacity:.8}
  .fs-my-nickname-edit:hover{opacity:1}
  .fs-my-id-small{font-size:11px;color:var(--text-dim);font-family:monospace}
  /* 聊天历史查看面板 */
  .fs-history-box{
    position:fixed;inset:0;background:rgba(0,0,0,.6);z-index:5200;display:none;
    align-items:center;justify-content:center;padding:20px;
  }
  .fs-history-box.show{display:flex}
  .fs-history-panel{
    background:var(--surface);border:1px solid var(--border);border-radius:14px;
    width:100%;max-width:440px;max-height:85vh;display:flex;flex-direction:column;
    box-shadow:0 20px 60px rgba(0,0,0,.6);animation:fsPop .2s ease;
  }
  .fs-history-header{
    display:flex;align-items:center;justify-content:space-between;padding:14px 16px;
    border-bottom:1px solid var(--border);
  }
  .fs-history-title{font-size:15px;font-weight:600;color:var(--text);display:flex;align-items:center;gap:8px}
  .fs-history-actions{display:flex;gap:6px}
  .fs-history-body{flex:1;overflow-y:auto;padding:10px 12px}
  .fs-history-body::-webkit-scrollbar{width:4px}
  .fs-history-body::-webkit-scrollbar-thumb{background:var(--border);border-radius:2px}
  .fs-hmsg{margin-bottom:10px;max-width:85%}
  .fs-hmsg.me{margin-left:auto;text-align:right}
  .fs-hmsg.them{margin-right:auto}
  .fs-hmsg-bubble{
    display:inline-block;padding:8px 12px;border-radius:12px;font-size:13px;line-height:1.5;
    word-break:break-word;max-width:100%;position:relative;
  }
  .fs-hmsg.me .fs-hmsg-bubble{background:var(--primary);color:#fff;border-bottom-right-radius:4px}
  .fs-hmsg.them .fs-hmsg-bubble{background:rgba(255,255,255,.08);color:var(--text);border-bottom-left-radius:4px}
  .fs-hmsg-meta{font-size:10px;color:var(--text-dim);margin-top:3px}
  .fs-hmsg.me .fs-hmsg-meta{text-align:right}
  .fs-hmsg-del{
    position:absolute;top:-8px;right:-8px;width:20px;height:20px;border-radius:50%;
    background:var(--red);color:#fff;font-size:10px;display:none;align-items:center;justify-content:center;
    cursor:pointer;border:none;font-family:inherit;
  }
  .fs-hmsg:hover .fs-hmsg-del{display:flex}
  .fs-history-empty{text-align:center;padding:40px;color:var(--text-dim);font-size:13px}
  .fs-history-empty i{font-size:36px;display:block;margin-bottom:10px;opacity:.3}
  .fs-ctx-divider{height:1px;background:var(--border);margin:4px 8px}
  /* 好友备注标签 */
  .fs-remark-tag{font-size:10px;color:var(--primary);background:rgba(74,158,255,.1);padding:1px 6px;border-radius:8px;margin-left:4px;font-weight:normal}

