/* =============================================================
   发电机组专业资源大本营 - 核心样式 (2026现代版)
   ============================================================= */
:root {
  --primary: #4338ca;
  --primary-light: #6366f1;
  --primary-soft: #eef2ff;
  --accent: #f59e0b;
  --accent-hover: #fbbf24;
  --accent-soft: #fffbeb;
  --bg: #f1f5f9;
  --card-bg: #ffffff;
  --border: #e2e8f0;
  --border-light: #f1f5f9;
  --text: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  --danger: #ef4444;
  --danger-hover: #dc2626;
  --success: #22c55e;
  --success-hover: #16a34a;
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --shadow-xs: 0 1px 2px rgba(0,0,0,0.03);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.04), 0 1px 2px rgba(0,0,0,0.03);
  --shadow: 0 4px 16px rgba(0,0,0,0.05), 0 1px 4px rgba(0,0,0,0.03);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.08), 0 2px 8px rgba(0,0,0,0.04);
  --shadow-lg: 0 16px 48px rgba(0,0,0,0.1), 0 4px 12px rgba(0,0,0,0.05);
  --transition: 0.2s cubic-bezier(0.4,0,0.2,1);
}
* { margin:0; padding:0; box-sizing:border-box; }
body {
  font-family:Inter,"SF Pro Display","PingFang SC","Microsoft YaHei",system-ui,-apple-system,sans-serif;
  background:var(--bg);
  color:var(--text);
  line-height:1.65;
  font-size:15px;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}
a { color:var(--primary-light); text-decoration:none; transition:color var(--transition); }
a:hover { color:var(--primary); }
.container { max-width:1500px; margin:0 auto; padding:0 24px; }

/* Header */
.header {
  background:linear-gradient(135deg,#312e81 0%,#4338ca 50%,#6366f1 100%);
  color:#fff;
  padding:12px 0;
  position:sticky;
  top:0;
  z-index:100;
  box-shadow:0 2px 16px rgba(67,56,202,0.2);
  backdrop-filter:blur(8px);
}
.header .container { display:flex; align-items:center; justify-content:space-between; }
.header-brand { display:flex; align-items:center; gap:14px; }
.header-logo { width:180px; height:auto; max-height:90px; object-fit:contain; }
.header-name { font-size:22px; font-weight:700; letter-spacing:1px; opacity:0.95; }
.header-nav { display:flex; gap:8px; align-items:center; }

/* Buttons */
.btn {
  display:inline-flex; align-items:center; justify-content:center; gap:6px;
  padding:8px 22px; border:none; border-radius:var(--radius-sm);
  font-size:14px; cursor:pointer; font-weight:600;
  transition:all var(--transition);
  line-height:1.4;
}
.btn:active { transform:scale(0.97); }
.btn-primary { background:var(--primary); color:#fff; box-shadow:0 2px 8px rgba(67,56,202,0.25); }
.btn-primary:hover { background:#3730a3; box-shadow:0 4px 16px rgba(67,56,202,0.35); transform:translateY(-1px); }
.btn-outline { background:#fff; color:var(--primary); border:1.5px solid var(--border); }
.btn-outline:hover { border-color:var(--primary); background:var(--primary-soft); }
.btn-accent { background:var(--accent); color:#fff; box-shadow:0 2px 8px rgba(245,158,11,0.25); }
.btn-accent:hover { background:#d97706; box-shadow:0 4px 16px rgba(245,158,11,0.35); transform:translateY(-1px); }
.btn-success { background:var(--success); color:#fff; }
.btn-success:hover { background:var(--success-hover); transform:translateY(-1px); }
.btn-danger { background:var(--danger); color:#fff; }
.btn-danger:hover { background:var(--danger-hover); transform:translateY(-1px); }
.btn-sm { padding:5px 14px; font-size:12px; border-radius:6px; }
.btn-xs { padding:3px 10px; font-size:11px; border-radius:5px; }

.header-btn {
  padding:7px 18px; border:1.5px solid rgba(255,255,255,0.2);
  border-radius:var(--radius-sm); background:transparent; color:#fff;
  cursor:pointer; font-size:13px; font-weight:500;
  transition:all var(--transition);
}
.header-btn:hover { background:rgba(255,255,255,0.12); border-color:rgba(255,255,255,0.35); }
.header-btn-accent { background:var(--accent); border-color:var(--accent); font-weight:600; color:#fff; }
.header-btn-accent:hover { background:var(--accent-hover); border-color:var(--accent-hover); }

/* Tool Bar */
.tool-bar { background:#fff; border-bottom:1px solid var(--border-light); padding:6px 0; }
.tool-bar .container { display:flex; align-items:center; gap:4px; flex-wrap:wrap; }
.tool-tab {
  padding:8px 20px; border:none; background:none; cursor:pointer;
  font-size:14px; color:var(--text-secondary); font-weight:600;
  border-radius:var(--radius-sm); transition:all var(--transition);
}
.tool-tab:hover { color:var(--primary); background:var(--primary-soft); }
.tool-tab.active { background:var(--primary); color:#fff; box-shadow:0 2px 8px rgba(67,56,202,0.2); }
.tool-tab-soon { padding:8px 20px; border:1.5px dashed var(--border); background:none; cursor:default; font-size:13px; color:var(--text-muted); border-radius:var(--radius-sm); }

/* Section / Card */
.section { background:var(--card-bg); border-radius:var(--radius-lg); box-shadow:var(--shadow-sm); margin-bottom:18px; transition:box-shadow var(--transition); }
.section:hover { box-shadow:var(--shadow); }
.section-header {
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 24px; cursor:pointer; user-select:none;
  border-bottom:1px solid var(--border-light);
}
.section-header:hover { background:var(--primary-soft); border-radius:var(--radius-lg) var(--radius-lg) 0 0; }
.section-title { font-size:16px; font-weight:700; color:var(--primary); display:flex; align-items:center; gap:10px; }
.section-arrow { font-size:12px; transition:transform 0.3s; color:var(--text-muted); }
.section.collapsed .section-arrow { transform:rotate(-90deg); }
.section.collapsed .section-body { display:none; }
.section-body { padding:20px 24px; }
.tool-title { text-align:center; font-size:18px; font-weight:700; color:var(--primary); padding:8px 0 4px; }

/* Card (generic) */
.card { background:var(--card-bg); border-radius:var(--radius-lg); box-shadow:var(--shadow-sm); transition:all var(--transition); }
.card:hover { box-shadow:var(--shadow); }
.card-header { display:flex; align-items:center; justify-content:space-between; padding:14px 20px; border-bottom:1px solid var(--border-light); }
.card-title { font-size:15px; font-weight:700; color:var(--primary); }
.card-body { padding:16px 20px; }

/* Announcement */
.announce-ticker { display:flex; align-items:center; gap:12px; overflow:hidden; }
.announce-ticker .icon { font-size:18px; flex-shrink:0; }
.announce-ticker .text { flex:1; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; color:var(--text-secondary); font-size:14px; }

/* Filter */
.filter-grid { display:grid; grid-template-columns:repeat(6,1fr); gap:12px 16px; }
@media (max-width:1200px) { .filter-grid { grid-template-columns:repeat(4,1fr); } }
@media (max-width:768px) { .filter-grid { grid-template-columns:repeat(2,1fr); } }
.filter-group { display:flex; flex-direction:column; gap:5px; }
.filter-label { font-size:12px; font-weight:600; color:var(--text-secondary); letter-spacing:0.5px; }
.filter-range { display:flex; align-items:center; gap:6px; }
.filter-range input { width:80px; }
.filter-range span { color:var(--text-muted); font-size:12px; }

/* 标签面板（替换 select multiple） */
.tag-panel { display:flex; flex-wrap:wrap; gap:6px; align-content:flex-start; min-height:38px; padding:4px; border:1.5px solid var(--border); border-radius:var(--radius-sm); background:#fff; cursor:default; transition:border-color var(--transition); }
.tag-panel:hover { border-color:#cbd5e1; }
.tag-panel:focus-within { border-color:var(--primary-light); box-shadow:0 0 0 3px rgba(99,102,241,0.12); }
.tag-panel.tall { max-height:220px; overflow-y:auto; }
.tag-chip { display:inline-block; padding:3px 10px; border-radius:6px; font-size:12px; cursor:pointer; background:var(--bg); color:var(--text-secondary); border:1px solid transparent; transition:all var(--transition); user-select:none; line-height:1.6; }
.tag-chip:hover { background:#e2e8f0; color:var(--text); }
.tag-chip.active { background:var(--primary-soft); color:var(--primary); border-color:var(--primary-light); font-weight:600; }
.filter-actions { grid-column:1/-1; display:flex; align-items:center; gap:12px; padding-top:10px; }
.query-count { font-size:13px; color:var(--text-muted); margin-left:auto; }

/* Inputs */
input[type="text"],input[type="number"],input[type="password"],input[type="email"],select,textarea {
  height:38px; padding:0 12px;
  border:1.5px solid var(--border); border-radius:var(--radius-sm);
  font-size:14px; background:#fff; color:var(--text); width:100%;
  outline:none; font-family:inherit;
  transition:all var(--transition);
}
input:hover,select:hover,textarea:hover { border-color:#cbd5e1; }
input:focus,select:focus,textarea:focus {
  border-color:var(--primary-light);
  box-shadow:0 0 0 3px rgba(99,102,241,0.12);
}
select[multiple] { height:80px; }
select[multiple].tall { height:220px; }
.filter-brand { grid-row:span 3; }
.hint-text { font-size:12px; color:var(--text-muted); margin-top:6px; }

/* Table */
.table-wrap { overflow:auto; max-height:500px; border-radius:var(--radius-sm); }
.result-info { display:flex; justify-content:space-between; align-items:center; margin-bottom:12px; font-size:13px; color:var(--text-secondary); }
.data-table { width:100%; min-width:1600px; border-collapse:collapse; font-size:13px; }
.data-table th,.data-table td { padding:8px 10px; border-bottom:1px solid var(--border-light); text-align:center; white-space:nowrap; }
.data-table th {
  background:#f8fafc; color:var(--text-secondary); font-weight:700;
  font-size:12px; position:sticky; top:0; z-index:1;
}
.data-table tr:nth-child(even) td { background:#fafbfc; }
.data-table tr:hover td { background:var(--primary-soft); }
.data-table input[type="checkbox"] { width:16px; height:16px; cursor:pointer; accent-color:var(--primary); }

/* Pagination */
.pagination { display:flex; align-items:center; justify-content:center; gap:6px; margin-top:18px; flex-wrap:wrap; }
.page-btn {
  padding:7px 14px; border:1.5px solid var(--border); border-radius:var(--radius-sm);
  background:#fff; cursor:pointer; font-size:13px; font-weight:500;
  transition:all var(--transition);
}
.page-btn:hover { border-color:var(--primary); color:var(--primary); background:var(--primary-soft); }
.page-btn.active { background:var(--primary); color:#fff; border-color:var(--primary); box-shadow:0 2px 8px rgba(67,56,202,0.2); }
.page-btn:disabled { opacity:0.4; cursor:default; }
.page-btn:disabled:hover { border-color:var(--border); color:inherit; background:#fff; }

/* Star */
.star-btn { background:none; border:none; cursor:pointer; font-size:16px; padding:2px 4px; transition:transform var(--transition); line-height:1; }
.star-btn:hover { transform:scale(1.2); }
.star-btn.recommended { color:var(--accent); }
.star-count { font-size:10px; color:var(--text-muted); display:block; }

/* Comments */
.comment-input-area { margin-bottom:20px; }
.comment-input-area textarea { flex:1; height:64px; padding:10px 14px; border:1.5px solid var(--border); border-radius:var(--radius-sm); font-size:14px; resize:vertical; transition:all var(--transition); }
.comment-input-area textarea:focus { border-color:var(--primary-light); box-shadow:0 0 0 3px rgba(99,102,241,0.1); }
.comment-item { padding:10px 0; border-bottom:1px solid var(--border-light); }
.comment-meta { display:flex; align-items:center; gap:10px; font-size:12px; color:var(--text-muted); margin-bottom:6px; }
.comment-content { font-size:14px; line-height:1.65; }
.like-btn { background:none; border:none; cursor:pointer; font-size:13px; color:var(--text-muted); padding:3px 8px; border-radius:6px; transition:all var(--transition); }
.like-btn:hover { color:var(--danger); background:#fef2f2; }
.like-btn.liked { color:var(--danger); font-weight:600; }

/* Modal */
.modal { display:none; position:fixed; top:0; left:0; width:100%; height:100%; background:rgba(15,23,42,0.5); backdrop-filter:blur(4px); z-index:200; align-items:center; justify-content:center; animation:fadeIn 0.2s ease; }
.modal.show { display:flex; }
@keyframes fadeIn { from{opacity:0} to{opacity:1} }
.modal-content {
  background:#fff; border-radius:var(--radius-lg); padding:32px;
  width:420px; max-width:95%; box-shadow:var(--shadow-lg);
  animation:slideUp 0.25s ease;
}
@keyframes slideUp { from{opacity:0;transform:translateY(16px)} to{opacity:1;transform:translateY(0)} }
.modal-title { font-size:20px; font-weight:700; color:var(--primary); margin-bottom:24px; text-align:center; }
.modal .form-group { margin-bottom:16px; }
.modal .form-label { display:block; font-size:13px; font-weight:600; color:var(--text-secondary); margin-bottom:6px; }
.modal .form-actions { display:flex; gap:10px; justify-content:center; margin-top:24px; }
.modal .tab-switch { display:flex; gap:0; margin-bottom:18px; background:var(--bg); border-radius:var(--radius-sm); padding:3px; }
.modal .tab-switch button { flex:1; padding:9px; border:none; background:transparent; cursor:pointer; font-size:14px; font-weight:600; border-radius:6px; color:var(--text-secondary); transition:all var(--transition); }
.modal .tab-switch button.active { background:#fff; color:var(--primary); box-shadow:var(--shadow-sm); }

/* Messages */
.msg { padding:10px 16px; border-radius:var(--radius-sm); font-size:13px; margin:10px 0; display:none; }
.msg.show { display:block; }
.msg-success { background:#f0fdf4; color:#166534; border:1px solid #bbf7d0; }
.msg-error { background:#fef2f2; color:#991b1b; border:1px solid #fecaca; }

/* Footer */
.footer { text-align:center; padding:24px; color:var(--text-muted); font-size:12px; }

/* ========== 用户主页 ========== */
.profile-page { display:flex; gap:24px; padding-top:24px; }
.profile-sidebar { width:300px; flex-shrink:0; }
.profile-main { flex:1; min-width:0; }
.profile-card { background:var(--card-bg); border-radius:var(--radius-lg); box-shadow:var(--shadow-sm); padding:28px 24px; margin-bottom:18px; transition:box-shadow var(--transition); }
.profile-card:hover { box-shadow:var(--shadow); }
.profile-avatar-wrap { display:flex; flex-direction:column; align-items:center; gap:10px; margin-bottom:14px; }
.profile-avatar { width:120px; height:120px; border-radius:var(--radius-lg); object-fit:cover; border:3px solid var(--primary-soft); box-shadow:var(--shadow-sm); }
.profile-title-badge { padding:4px 16px; border-radius:20px; background:linear-gradient(135deg,var(--accent),#fbbf24); color:#fff; font-size:12px; font-weight:700; box-shadow:0 2px 8px rgba(245,158,11,0.3); }
.profile-nickname { text-align:center; font-size:20px; margin:6px 0; font-weight:700; }
.profile-points { text-align:center; font-size:15px; color:var(--accent); font-weight:700; cursor:pointer; padding:4px 12px; border-radius:20px; transition:all var(--transition); display:inline-block; }
.profile-points:hover { background:var(--accent-soft); }
.profile-bio { text-align:center; font-size:13px; color:var(--text-muted); margin:8px 0 12px; padding:0 10px; line-height:1.6; }
.profile-meta { text-align:center; font-size:12px; color:var(--text-muted); }
.profile-stats { text-align:center; margin-top:12px; font-size:13px; color:var(--text-secondary); background:var(--bg); border-radius:var(--radius-sm); padding:10px; }
.profile-stats .clickable { cursor:pointer; font-weight:600; }
.profile-stats .clickable:hover { color:var(--primary); }

.avatar-selector { display:flex; gap:8px; flex-wrap:wrap; }
.avatar-option { width:58px; height:58px; border-radius:var(--radius-sm); cursor:pointer; border:2.5px solid transparent; transition:all var(--transition); }
.avatar-option:hover { border-color:var(--primary-light); transform:scale(1.08); box-shadow:var(--shadow-sm); }
.avatar-option.selected { border-color:var(--primary); box-shadow:0 0 0 3px rgba(99,102,241,0.2); }

/* 动态 */
.post-item { padding:14px 0; border-bottom:1px solid var(--border-light); }
.post-header { display:flex; align-items:center; gap:12px; margin-bottom:8px; }
.post-author { font-weight:600; font-size:15px; color:var(--primary); }
.post-time { font-size:12px; color:var(--text-muted); }
.post-content { font-size:14px; line-height:1.75; white-space:pre-wrap; word-break:break-word; }

/* 关注列表 */
.follow-item { display:flex; justify-content:space-between; align-items:center; padding:10px 0; border-bottom:1px solid var(--border-light); }

/* 消息弹窗 */
.noti-item { padding:10px 0; border-bottom:1px solid var(--border-light); font-size:14px; }
.noti-item.unread { background:#fef9c3; padding:10px 12px; border-radius:var(--radius-sm); margin:4px 0; }
.noti-item .noti-time { font-size:11px; color:var(--text-muted); margin-top:4px; }

/* 积分徽章 */
.points-badge { font-size:13px; font-weight:700; color:var(--accent); white-space:nowrap; cursor:pointer; padding:3px 10px; border-radius:20px; transition:all var(--transition); }
.points-badge:hover { background:rgba(245,158,11,0.1); }
.header-badge { font-size:10px; padding:2px 6px; border-radius:10px; line-height:1; vertical-align:super; font-weight:700; }

/* 验证码 */
.modal .send-code-row { display:flex; gap:8px; align-items:flex-end; }
.modal .send-code-row input { flex:1; }
.dev-hint { font-size:11px; color:var(--accent); margin-top:6px; font-weight:500; }
.badge-accent { background:var(--accent); color:#fff; }

/* 视图切换Tab栏 */
.view-tabs { display:flex; gap:0; border-bottom:2px solid var(--border); margin-bottom:16px; }
.view-tab { padding:10px 22px; border:none; background:none; font-size:14px; cursor:pointer; color:var(--text-muted); font-weight:600; border-bottom:2px solid transparent; margin-bottom:-2px; transition:all var(--transition); }
.view-tab:hover { color:var(--primary); background:rgba(99,102,241,0.04); }
.view-tab.active:hover { color:#fff; background:var(--primary); }
.view-tab.active { color:#fff; background:var(--primary); border-bottom-color:var(--primary); border-radius:var(--radius-sm) var(--radius-sm) 0 0; }
.view-panel { background:var(--card-bg); border-radius:var(--radius); box-shadow:var(--shadow); padding:20px; }

/* 知识广场 / 文章系统 */
.article-card { cursor:pointer; }
.article-card-body { display:flex; gap:14px; }
.article-thumb { width:120px; height:80px; border-radius:8px; object-fit:cover; flex-shrink:0; background:var(--bg); }
.article-thumb-placeholder { width:120px; height:80px; border-radius:8px; flex-shrink:0; background:linear-gradient(135deg,#eef2ff,#e0e7ff); display:flex; align-items:center; justify-content:center; font-size:28px; color:#6366f1; }
.article-info { flex:1; min-width:0; }
.article-card:hover { box-shadow:var(--shadow-md); transform:translateY(-2px); }
.article-card-title { font-size:18px; color:var(--text); margin:0 0 8px; font-weight:700; line-height:1.4; }
.article-card-excerpt { font-size:14px; color:var(--text-secondary); margin:0 0 10px; line-height:1.65; }
.article-card-meta { display:flex; align-items:center; gap:12px; font-size:12px; color:var(--text-muted); }
.article-author-avatar { width:22px; height:22px; border-radius:6px; vertical-align:middle; }
.article-detail-meta { display:flex; flex-wrap:wrap; align-items:center; gap:14px; font-size:13px; color:var(--text-muted); }
.article-content-body { font-size:16px; line-height:1.9; color:var(--text); word-break:break-word; }
.article-content-body img { max-width:100%; border-radius:var(--radius-sm); margin:12px 0; box-shadow:var(--shadow-sm); }
.article-content-body h2,.article-content-body h3 { color:var(--primary); margin:20px 0 10px; }
.article-content-body pre { background:var(--bg); padding:14px; border-radius:var(--radius-sm); overflow-x:auto; font-size:13px; }
.article-tag { display:inline-block; padding:3px 12px; background:var(--primary-soft); color:var(--primary); border-radius:16px; font-size:12px; margin-right:6px; font-weight:500; }
.article-mini { transition:all var(--transition); }
.article-mini:hover { box-shadow:var(--shadow); transform:translateY(-1px); }
.comment-item { padding:8px 0; border-bottom:1px solid var(--border-light); }
.comment-meta { font-size:12px; color:var(--text-muted); margin-bottom:6px; }
.comment-content { font-size:14px; line-height:1.65; }
.comment-replies { margin-left:24px; padding-left:14px; border-left:2px solid var(--border); margin-top:6px; }
.reply-item { padding:6px 0; }
.reply-item:last-child { border-bottom:none; }
/* 文章编辑器 */
.editor-toolbar { display:flex; align-items:center; gap:4px; padding:6px 8px; background:var(--bg); border:1.5px solid var(--border); border-bottom:none; border-radius:var(--radius-sm) var(--radius-sm) 0 0; flex-wrap:wrap; }
.editor-toolbar button { min-width:30px; height:30px; border:none; background:transparent; border-radius:6px; cursor:pointer; font-size:14px; color:var(--text-secondary); display:inline-flex; align-items:center; justify-content:center; transition:all var(--transition); padding:0 4px; }
.editor-toolbar button:hover { background:#e2e8f0; color:var(--text); }
.editor-toolbar .sep { color:var(--text-muted); margin:0 6px; font-size:12px; }

/* 评论/回复操作 */
.comment-btn { font-size:12px; cursor:pointer; color:var(--text-muted); background:none; border:none; padding:3px 8px; border-radius:6px; transition:all var(--transition); font-weight:500; }
.comment-btn:hover { background:var(--bg); color:var(--primary); }
.comment-btn.liked { color:var(--danger); font-weight:600; }
.comment-actions { display:flex; gap:10px; margin-top:8px; }
.post-actions { display:flex; gap:14px; padding-top:10px; margin-top:10px; border-top:1px solid var(--border-light); }
.post-body { font-size:15px; line-height:1.75; word-break:break-word; }
.post-body img { max-width:100%; border-radius:var(--radius-sm); margin:8px 0; }
.post-comments-box { background:var(--bg); border-radius:var(--radius-sm); padding:12px; }
.reply-box { margin-left:8px; }
.post-editor-body:empty:before { content:attr(placeholder); color:var(--text-muted); }

/* 问答 & 粉丝圈 */
.kb-tab { min-width:unset; padding:7px 18px; }
.kb-tab.active { background:var(--primary); color:#fff; border-color:var(--primary); box-shadow:0 2px 8px rgba(67,56,202,0.2); }
.profile-list-tab { padding:7px 18px; border-radius:var(--radius-sm); border:none; background:transparent; font-size:14px; font-weight:600; cursor:pointer; color:var(--text-muted); transition:all var(--transition); }
.profile-list-tab.active { background:var(--primary); color:#fff; box-shadow:0 2px 8px rgba(67,56,202,0.2); }
.profile-list-tab:hover { color:var(--primary); background:rgba(99,102,241,0.06); }
.profile-list-tab.active:hover { color:#fff; background:var(--primary); }
.feed-card { transition:all var(--transition); }
.feed-card:hover { box-shadow:var(--shadow); transform:translateY(-1px); }
.feed-header { display:flex; align-items:center; gap:10px; margin-bottom:10px; padding-bottom:10px; border-bottom:1px solid var(--border-light); }
.question-card { cursor:pointer; }
.question-card:hover { box-shadow:var(--shadow); transform:translateY(-1px); }
.answer-item:last-child { border-bottom:none !important; }
.ans-comments-box { padding:10px 0 0 18px; border-left:2px solid var(--border); margin-left:6px; }

@media (max-width:768px) {
  .profile-page { flex-direction:column; }
  .profile-sidebar { width:100%; }
  .container { padding:0 14px; }
  .header-name { font-size:16px; }
  .header-logo { width:120px; }
}
/* 通用加载动画 */
.spinner { display:inline-block; width:24px; height:24px; border:3px solid var(--border); border-top-color:var(--primary); border-radius:50%; animation:spin 0.6s linear infinite; }
@keyframes spin { to { transform:rotate(360deg); } }
