/**
 * 文件路径：public/assets/style.css
 * 功能：MailAPI 公共样式
 * 版本：v2.1
 * 日期：2026-09-25
 * 修改说明：
 *   v2.0 - 加 8 套皮肤 + 皮肤下拉框 + 退出按钮渐变
 *   v2.1 - 去掉重复的皮肤定义，修复下拉菜单颜色
 */

* { box-sizing: border-box; margin:0; padding:0; }
body { font-family:-apple-system,'PingFang SC','Microsoft YaHei',sans-serif; background:#f5f7fa; color:#2c3e50; transition: background .3s, color .3s; }

/* ==================== 登录 / 注册 ==================== */
.auth-wrap { min-height:100vh; display:flex; align-items:center; justify-content:center; padding:20px; }
.auth-box { background:#fff; width:400px; padding:40px 36px; border-radius:14px; box-shadow:0 8px 30px rgba(0,0,0,0.08); }
.logo { text-align:center; margin-bottom:28px; }
.logo-icon { display:inline-block; width:56px; height:56px; line-height:56px; border-radius:14px; background:linear-gradient(135deg,#2d8cf0,#19be6b); color:#fff; font-size:26px; font-weight:700; }
.logo h1 { font-size:22px; color:#17233d; margin-top:14px; font-weight:600; }
.logo p { font-size:13px; color:#808695; margin-top:6px; }

.row { margin-bottom:18px; }
label { display:block; font-size:13px; color:#515a6e; margin-bottom:8px; font-weight:500; }
input { width:100%; padding:11px 14px; border:1px solid #dcdee2; border-radius:8px; font-size:14px; outline:none; transition:all .2s; }
input:focus { border-color:#2d8cf0; box-shadow:0 0 0 3px rgba(45,140,240,0.1); }

.code-row { display:flex; gap:8px; }
.code-row input { flex:1; }
.code-btn { width:auto; padding:0 16px; background:#2d8cf0; color:#fff; border:none; border-radius:8px; font-size:13px; cursor:pointer; white-space:nowrap; transition:all .2s; }
.code-btn:hover { background:#2b85e4; }
.code-btn:disabled { background:#c5c8ce; cursor:not-allowed; }

.btn { width:100%; padding:12px; background:#2d8cf0; color:#fff; border:none; border-radius:8px; font-size:15px; font-weight:500; cursor:pointer; transition:all .2s; margin-top:8px; }
.btn:hover { background:#2b85e4; }
.btn:disabled { background:#c5c8ce; cursor:not-allowed; }

.link { text-align:center; margin-top:20px; font-size:13px; color:#808695; }
.link a { color:#2d8cf0; text-decoration:none; }
.link a:hover { text-decoration:underline; }

.msg { margin-top:14px; font-size:13px; text-align:center; min-height:20px; }
.msg.ok { color:#19be6b; }
.msg.err { color:#ed4014; }

/* ==================== 顶部导航 ==================== */
.nav { background:#fff; padding:0 32px; height:60px; display:flex; align-items:center; justify-content:space-between; box-shadow:0 1px 4px rgba(0,0,0,0.06); transition: background .3s; }
.nav-logo { font-size:18px; font-weight:600; color:#17233d; display:flex; align-items:center; gap:10px; }
.nav-logo span { display:inline-block; width:32px; height:32px; line-height:32px; text-align:center; border-radius:8px; background:linear-gradient(135deg,#2d8cf0,#19be6b); color:#fff; font-size:16px; }
.nav-right { font-size:14px; color:#515a6e; display:flex; align-items:center; gap:14px; }
.nav-user { color:#515a6e; }
.nav-right a { text-decoration:none; }

.nav-logout {
  padding: 6px 16px;
  background: linear-gradient(135deg, #2d8cf0 0%, #19be6b 100%);
  color: #fff !important;
  border-radius: 8px;
  font-size: 13px;
  transition: all .2s;
  box-shadow: 0 2px 8px rgba(45,140,240,0.3);
}
.nav-logout:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(45,140,240,0.45);
}

/* ==================== 布局：侧边栏 + 内容 ==================== */
.layout { display:flex; min-height:calc(100vh - 60px); }
.sidebar { width:200px; background:#fff; padding:20px 0; box-shadow:1px 0 4px rgba(0,0,0,0.04); transition: background .3s; }
.sidebar a { display:block; padding:12px 28px; color:#515a6e; text-decoration:none; font-size:14px; transition:all .2s; }
.sidebar a:hover { background:#f0f7ff; color:#2d8cf0; }
.sidebar a.active { background:#e8f5ff; color:#2d8cf0; font-weight:500; border-right:3px solid #2d8cf0; }

.container { flex:1; max-width:1200px; margin:0 auto; padding:32px 24px; }

/* ==================== 卡片 ==================== */
.card {
  background:#fff;
  border-radius:14px;
  box-shadow:0 4px 20px rgba(0,0,0,0.05);
  padding:24px 32px;
  margin-bottom:20px;
  transition: background .3s, box-shadow .3s;
}
.card h2 { font-size:18px; color:#17233d; margin-bottom:16px; font-weight:600; }

/* ==================== 帮助图标 ==================== */
.help-icon { display:inline-block; width:18px; height:18px; line-height:18px; text-align:center; border-radius:50%; background:#2d8cf0; color:#fff; font-size:12px; font-weight:700; cursor:pointer; margin-left:6px; user-select:none; }
.help-icon:hover { background:#1a9fff; }
.help-box { display:none; margin-top:12px; padding:14px 16px; background:#f8f9fb; border-left:3px solid #2d8cf0; border-radius:6px; font-size:13px; color:#515a6e; line-height:1.8; }
.help-box.show { display:block; }
.help-box p { margin:6px 0; }
.help-box p:first-child { margin-top:0; }
.help-box b { color:#17233d; }
.help-box ul { margin:6px 0 0 20px; padding:0; }
.help-box ul li { margin:4px 0; }
.help-box .warn { color:#ed4014; font-weight:500; margin-top:10px; }

/* ==================== 表格 ==================== */
table { width:100%; border-collapse:collapse; margin-top:8px; }
th, td { padding:10px 10px; text-align:left; font-size:14px; border-bottom:1px solid #f0f2f5; }
th { color:#808695; font-weight:500; font-size:13px; }
td { color:#17233d; }
.key-cell { font-family:'Consolas',monospace; color:#2d8cf0; }
.copy-btn { padding:4px 10px; background:#e8f5ff; color:#2d8cf0; border:none; border-radius:6px; font-size:12px; cursor:pointer; margin-right:6px; }
.copy-btn:hover { background:#d0e8ff; }
.del-btn { padding:4px 10px; background:#ffecec; color:#ed4014; border:none; border-radius:6px; font-size:12px; cursor:pointer; }
.del-btn:hover { background:#ffd6d6; }

/* ==================== 多语言 TAB ==================== */
.tabs { display:flex; flex-wrap:wrap; gap:6px; margin:16px 0 0; border-bottom:1px solid #e8eaec; }
.tab { padding:8px 16px; background:transparent; border:1px solid transparent; border-bottom:none; border-radius:8px 8px 0 0; color:#515a6e; cursor:pointer; font-size:13px; user-select:none; transition:all .2s; margin-bottom:-1px; }
.tab:hover { background:#f0f7ff; color:#2d8cf0; }
.tab.active { background:#2d8cf0; color:#fff; font-weight:500; }
.panel { display:none; padding:16px 0 0; }
.panel.active { display:block; }
pre { background:#1b2838; color:#e6edf3; padding:14px 18px; border-radius:8px; overflow-x:auto; font-size:12.5px; line-height:1.65; font-family:'Consolas','Monaco',monospace; margin:0; white-space:pre; position:relative; }
.copy-code-btn { position:absolute; top:8px; right:8px; padding:3px 10px; background:#2d8cf0; color:#fff; border:none; border-radius:4px; font-size:11px; cursor:pointer; opacity:0.85; }
.copy-code-btn:hover { opacity:1; }
.copy-code-btn.copied { background:#19be6b; }
.api-info { font-size:13px; color:#808695; margin-bottom:14px; line-height:1.8; }
.api-info code { background:#eef2f7; color:#d63384; padding:2px 6px; border-radius:4px; font-size:12px; }

/* ==================== 公共弹窗 ==================== */
.modal-mask {
  position: fixed; inset: 0; background: rgba(0,0,0,0.4);
  display: none; align-items: center; justify-content: center; z-index: 9999;
  animation: fadeIn .2s;
}
.modal-mask.show { display: flex; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.modal-box {
  background: #fff; width: 320px; padding: 28px 24px 20px;
  border-radius: 14px; box-shadow: 0 20px 60px rgba(0,0,0,0.2);
  text-align: center; animation: slideUp .25s;
}
@keyframes slideUp { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

.modal-icon {
  width: 48px; height: 48px; line-height: 48px; border-radius: 50%;
  margin: 0 auto 14px; font-size: 24px; font-weight: 700; color: #fff;
}
.modal-icon.ok   { background: linear-gradient(135deg,#19be6b,#0fa860); }
.modal-icon.err  { background: linear-gradient(135deg,#ed4014,#d9363e); }
.modal-icon.info { background: linear-gradient(135deg,#2d8cf0,#1a9fff); }

.modal-msg { font-size: 14px; color: #17233d; line-height: 1.6; margin-bottom: 20px; }

.modal-btn {
  width: 100%; padding: 10px; background: #2d8cf0; color: #fff;
  border: none; border-radius: 8px; font-size: 14px; cursor: pointer;
  transition: all .2s;
}
.modal-btn:hover { background: #2b85e4; }

/* ==================== 底部 ==================== */
.footer { text-align:center; padding:20px; color:#c5c8ce; font-size:12px; }

/* ==================== 响应式 ==================== */
@media (max-width: 1200px) {
  .container { max-width: 100%; }
}

/* ============================================================
   自定义皮肤下拉框
   ============================================================ */
.theme-dropdown { position: relative; display: inline-block; }

.theme-trigger {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: #f5f7fa;
  color: #515a6e;
  border: 1px solid #dcdee2;
  border-radius: 8px;
  font-size: 13px;
  cursor: pointer;
  outline: none;
  transition: all .2s;
  min-width: 100px;
  justify-content: space-between;
}
.theme-trigger:hover { border-color: #2d8cf0; }
.theme-arrow { font-size: 10px; transition: transform .2s; }
.theme-dropdown.open .theme-arrow { transform: rotate(180deg); }

.theme-menu {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 130px;
  background: #fff;
  border: 1px solid #dcdee2;
  border-radius: 8px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
  padding: 6px 0;
  list-style: none;
  z-index: 1000;
  overflow: hidden;
}
.theme-dropdown.open .theme-menu { display: block; }

.theme-menu li {
  padding: 8px 14px;
  font-size: 13px;
  color: #515a6e;
  cursor: pointer;
  transition: all .15s;
  white-space: nowrap;
}
.theme-menu li:hover { background: #f0f7ff; color: #2d8cf0; }
.theme-menu li.active { background: #e8f5ff; color: #2d8cf0; font-weight: 500; }

/* ============================================================
   皮肤主题 —— 8 套（只定义一次）
   ============================================================ */

/* ============ 1. 深蓝绿 ============ */
body.theme-blue {
  background: linear-gradient(160deg, #1a6fc4 0%, #2d8cf0 30%, #0d47a1 100%);
  background-attachment: fixed;
  color: #e6edf3;
}
body.theme-blue .nav { background: rgba(255,255,255,0.1); backdrop-filter: blur(10px); box-shadow: 0 1px 8px rgba(0,0,0,0.2); }
body.theme-blue .nav-logo { color: #fff; }
body.theme-blue .nav-user { color: rgba(255,255,255,0.9); }
body.theme-blue .sidebar { background: rgba(255,255,255,0.08); backdrop-filter: blur(10px); box-shadow: 1px 0 8px rgba(0,0,0,0.15); }
body.theme-blue .sidebar a { color: rgba(255,255,255,0.8); }
body.theme-blue .sidebar a:hover { background: rgba(255,255,255,0.15); color: #fff; }
body.theme-blue .sidebar a.active { background: rgba(255,255,255,0.2); color: #fff; border-right-color: #fff; }
body.theme-blue .card { background: rgba(255,255,255,0.95); backdrop-filter: blur(10px); box-shadow: 0 8px 32px rgba(0,0,0,0.15); }
body.theme-blue .card h2 { color: #17233d; }
body.theme-blue .footer { color: rgba(255,255,255,0.7); }
body.theme-blue .theme-trigger { background: rgba(255,255,255,0.15); color: #fff; border-color: rgba(255,255,255,0.3); }
body.theme-blue .theme-trigger:hover { border-color: rgba(255,255,255,0.6); }
body.theme-blue .theme-menu { background: #1b2838; border-color: #2a475e; box-shadow: 0 6px 20px rgba(0,0,0,0.4); }
body.theme-blue .theme-menu li { color: #e6edf3; }
body.theme-blue .theme-menu li:hover { background: #2a475e; color: #66c0f4; }
body.theme-blue .theme-menu li.active { background: #2a475e; color: #66c0f4; }
body.theme-blue .stat-card { background: rgba(255,255,255,0.95); backdrop-filter: blur(10px); box-shadow: 0 8px 32px rgba(0,0,0,0.15); }
body.theme-blue .modal-box { background: #1b2838; border: 1px solid #2a475e; }
body.theme-blue .modal-msg { color: #e6edf3; }
body.theme-blue input { background: rgba(255,255,255,0.95); color: #17233d; }

/* ============ 2. 深蓝紫 ============ */
body.theme-purple {
  background: linear-gradient(160deg, #3a3f9e 0%, #667eea 30%, #4a2c7a 100%);
  background-attachment: fixed;
  color: #e6edf3;
}
body.theme-purple .nav { background: rgba(255,255,255,0.1); backdrop-filter: blur(10px); box-shadow: 0 1px 8px rgba(0,0,0,0.2); }
body.theme-purple .nav-logo { color: #fff; }
body.theme-purple .nav-user { color: rgba(255,255,255,0.9); }
body.theme-purple .sidebar { background: rgba(255,255,255,0.08); backdrop-filter: blur(10px); box-shadow: 1px 0 8px rgba(0,0,0,0.15); }
body.theme-purple .sidebar a { color: rgba(255,255,255,0.8); }
body.theme-purple .sidebar a:hover { background: rgba(255,255,255,0.15); color: #fff; }
body.theme-purple .sidebar a.active { background: rgba(255,255,255,0.2); color: #fff; border-right-color: #fff; }
body.theme-purple .card { background: rgba(255,255,255,0.95); backdrop-filter: blur(10px); box-shadow: 0 8px 32px rgba(0,0,0,0.15); }
body.theme-purple .card h2 { color: #17233d; }
body.theme-purple .footer { color: rgba(255,255,255,0.7); }
body.theme-purple .theme-trigger { background: rgba(255,255,255,0.15); color: #fff; border-color: rgba(255,255,255,0.3); }
body.theme-purple .theme-trigger:hover { border-color: rgba(255,255,255,0.6); }
body.theme-purple .theme-menu { background: #1b2838; border-color: #2a475e; box-shadow: 0 6px 20px rgba(0,0,0,0.4); }
body.theme-purple .theme-menu li { color: #e6edf3; }
body.theme-purple .theme-menu li:hover { background: #2a475e; color: #66c0f4; }
body.theme-purple .theme-menu li.active { background: #2a475e; color: #66c0f4; }
body.theme-purple .stat-card { background: rgba(255,255,255,0.95); backdrop-filter: blur(10px); box-shadow: 0 8px 32px rgba(0,0,0,0.15); }
body.theme-purple .modal-box { background: #1b2838; border: 1px solid #2a475e; }
body.theme-purple .modal-msg { color: #e6edf3; }
body.theme-purple input { background: rgba(255,255,255,0.95); color: #17233d; }

/* ============ 3. 深黑 ============ */
body.theme-dark {
  background: #0e1621;
  color: #e6edf3;
}
body.theme-dark .nav { background: #16202d; box-shadow: 0 1px 8px rgba(0,0,0,0.4); }
body.theme-dark .nav-logo { color: #fff; }
body.theme-dark .nav-user { color: #acb2b8; }
body.theme-dark .sidebar { background: #16202d; box-shadow: 1px 0 8px rgba(0,0,0,0.3); }
body.theme-dark .sidebar a { color: #acb2b8; }
body.theme-dark .sidebar a:hover { background: #1b2838; color: #66c0f4; }
body.theme-dark .sidebar a.active { background: #1b2838; color: #66c0f4; border-right-color: #66c0f4; }
body.theme-dark .card { background: #16202d; border: 1px solid #2a475e; box-shadow: 0 4px 20px rgba(0,0,0,0.3); }
body.theme-dark .card h2 { color: #e6edf3; }
body.theme-dark table th { color: #8899a6; }
body.theme-dark table td { color: #e6edf3; border-bottom-color: #2a475e; }
body.theme-dark .footer { color: #6b7683; }
body.theme-dark .help-box { background: #1b2838; color: #acb2b8; border-left-color: #66c0f4; }
body.theme-dark .help-box b { color: #e6edf3; }
body.theme-dark .theme-trigger { background: #1b2838; color: #e6edf3; border-color: #2a475e; }
body.theme-dark .theme-trigger:hover { border-color: #66c0f4; }
body.theme-dark .theme-menu { background: #16202d; border-color: #2a475e; box-shadow: 0 6px 20px rgba(0,0,0,0.5); }
body.theme-dark .theme-menu li { color: #acb2b8; }
body.theme-dark .theme-menu li:hover { background: #1b2838; color: #66c0f4; }
body.theme-dark .theme-menu li.active { background: #1b2838; color: #66c0f4; }
body.theme-dark .stat-card { background: #16202d; border: 1px solid #2a475e; box-shadow: 0 4px 20px rgba(0,0,0,0.3); }
body.theme-dark .stat-label { color: #8899a6; }
body.theme-dark .stat-value { color: #e6edf3; }
body.theme-dark .stat-card.blue  .stat-value { color: #66c0f4; }
body.theme-dark .stat-card.green .stat-value { color: #19be6b; }
body.theme-dark .stat-card.red   .stat-value { color: #ed4014; }
body.theme-dark .stat-card.blue  .stat-icon { background: rgba(102,192,244,0.15); color: #66c0f4; }
body.theme-dark .stat-card.green .stat-icon { background: rgba(25,190,107,0.15);  color: #19be6b; }
body.theme-dark .stat-card.red   .stat-icon { background: rgba(237,64,20,0.15);   color: #ed4014; }
body.theme-dark .stat-card.gray  .stat-icon { background: rgba(136,153,166,0.15); color: #8899a6; }
body.theme-dark .quick-item { background: #1b2838; color: #e6edf3; border-color: #2a475e; }
body.theme-dark .quick-item:hover { background: #2a475e; border-color: #66c0f4; }
body.theme-dark .quick-item .qi-text { color: #acb2b8; }
body.theme-dark .quick-item:hover .qi-text { color: #66c0f4; }
body.theme-dark .modal-box { background: #16202d; border: 1px solid #2a475e; }
body.theme-dark .modal-msg { color: #e6edf3; }
body.theme-dark input { background: #1b2838; color: #e6edf3; border-color: #2a475e; }
body.theme-dark .auth-box { background: #16202d; border: 1px solid #2a475e; box-shadow: 0 8px 32px rgba(0,0,0,0.5); }
body.theme-dark .logo h1 { color: #e6edf3; }
body.theme-dark .logo p { color: #8899a6; }
body.theme-dark label { color: #acb2b8; }
body.theme-dark .link { color: #8899a6; }
body.theme-dark .link a { color: #66c0f4; }

/* ============ 4. 薄荷绿 ============ */
body.theme-mint {
  background: linear-gradient(160deg, #0e7a4a 0%, #19be6b 30%, #0a4d8a 100%);
  background-attachment: fixed;
  color: #e6edf3;
}
body.theme-mint .nav { background: rgba(255,255,255,0.1); backdrop-filter: blur(10px); box-shadow: 0 1px 8px rgba(0,0,0,0.2); }
body.theme-mint .nav-logo { color: #fff; }
body.theme-mint .nav-user { color: rgba(255,255,255,0.9); }
body.theme-mint .sidebar { background: rgba(255,255,255,0.08); backdrop-filter: blur(10px); box-shadow: 1px 0 8px rgba(0,0,0,0.15); }
body.theme-mint .sidebar a { color: rgba(255,255,255,0.8); }
body.theme-mint .sidebar a:hover { background: rgba(255,255,255,0.15); color: #fff; }
body.theme-mint .sidebar a.active { background: rgba(255,255,255,0.2); color: #fff; border-right-color: #fff; }
body.theme-mint .card { background: rgba(255,255,255,0.95); backdrop-filter: blur(10px); box-shadow: 0 8px 32px rgba(0,0,0,0.15); }
body.theme-mint .card h2 { color: #17233d; }
body.theme-mint .footer { color: rgba(255,255,255,0.7); }
body.theme-mint .theme-trigger { background: rgba(255,255,255,0.15); color: #fff; border-color: rgba(255,255,255,0.3); }
body.theme-mint .theme-trigger:hover { border-color: rgba(255,255,255,0.6); }
body.theme-mint .theme-menu { background: #1b2838; border-color: #2a475e; box-shadow: 0 6px 20px rgba(0,0,0,0.4); }
body.theme-mint .theme-menu li { color: #e6edf3; }
body.theme-mint .theme-menu li:hover { background: #2a475e; color: #66c0f4; }
body.theme-mint .theme-menu li.active { background: #2a475e; color: #66c0f4; }
body.theme-mint .stat-card { background: rgba(255,255,255,0.95); backdrop-filter: blur(10px); box-shadow: 0 8px 32px rgba(0,0,0,0.15); }
body.theme-mint .modal-box { background: #1b2838; border: 1px solid #2a475e; }
body.theme-mint .modal-msg { color: #e6edf3; }
body.theme-mint input { background: rgba(255,255,255,0.95); color: #17233d; }

/* ============ 5. 暖橙 ============ */
body.theme-sunset {
  background: linear-gradient(160deg, #c43d1a 0%, #ff7b54 30%, #b35c00 100%);
  background-attachment: fixed;
  color: #e6edf3;
}
body.theme-sunset .nav { background: rgba(255,255,255,0.1); backdrop-filter: blur(10px); box-shadow: 0 1px 8px rgba(0,0,0,0.2); }
body.theme-sunset .nav-logo { color: #fff; }
body.theme-sunset .nav-user { color: rgba(255,255,255,0.9); }
body.theme-sunset .sidebar { background: rgba(255,255,255,0.08); backdrop-filter: blur(10px); box-shadow: 1px 0 8px rgba(0,0,0,0.15); }
body.theme-sunset .sidebar a { color: rgba(255,255,255,0.8); }
body.theme-sunset .sidebar a:hover { background: rgba(255,255,255,0.15); color: #fff; }
body.theme-sunset .sidebar a.active { background: rgba(255,255,255,0.2); color: #fff; border-right-color: #fff; }
body.theme-sunset .card { background: rgba(255,255,255,0.95); backdrop-filter: blur(10px); box-shadow: 0 8px 32px rgba(0,0,0,0.15); }
body.theme-sunset .card h2 { color: #17233d; }
body.theme-sunset .footer { color: rgba(255,255,255,0.7); }
body.theme-sunset .theme-trigger { background: rgba(255,255,255,0.15); color: #fff; border-color: rgba(255,255,255,0.3); }
body.theme-sunset .theme-trigger:hover { border-color: rgba(255,255,255,0.6); }
body.theme-sunset .theme-menu { background: #1b2838; border-color: #2a475e; box-shadow: 0 6px 20px rgba(0,0,0,0.4); }
body.theme-sunset .theme-menu li { color: #e6edf3; }
body.theme-sunset .theme-menu li:hover { background: #2a475e; color: #66c0f4; }
body.theme-sunset .theme-menu li.active { background: #2a475e; color: #66c0f4; }
body.theme-sunset .stat-card { background: rgba(255,255,255,0.95); backdrop-filter: blur(10px); box-shadow: 0 8px 32px rgba(0,0,0,0.15); }
body.theme-sunset .modal-box { background: #1b2838; border: 1px solid #2a475e; }
body.theme-sunset .modal-msg { color: #e6edf3; }
body.theme-sunset input { background: rgba(255,255,255,0.95); color: #17233d; }

/* ============ 6. 粉紫 ============ */
body.theme-pink {
  background: linear-gradient(160deg, #9c27b0 0%, #f093fb 30%, #c2185b 100%);
  background-attachment: fixed;
  color: #e6edf3;
}
body.theme-pink .nav { background: rgba(255,255,255,0.1); backdrop-filter: blur(10px); box-shadow: 0 1px 8px rgba(0,0,0,0.2); }
body.theme-pink .nav-logo { color: #fff; }
body.theme-pink .nav-user { color: rgba(255,255,255,0.9); }
body.theme-pink .sidebar { background: rgba(255,255,255,0.08); backdrop-filter: blur(10px); box-shadow: 1px 0 8px rgba(0,0,0,0.15); }
body.theme-pink .sidebar a { color: rgba(255,255,255,0.8); }
body.theme-pink .sidebar a:hover { background: rgba(255,255,255,0.15); color: #fff; }
body.theme-pink .sidebar a.active { background: rgba(255,255,255,0.2); color: #fff; border-right-color: #fff; }
body.theme-pink .card { background: rgba(255,255,255,0.95); backdrop-filter: blur(10px); box-shadow: 0 8px 32px rgba(0,0,0,0.15); }
body.theme-pink .card h2 { color: #17233d; }
body.theme-pink .footer { color: rgba(255,255,255,0.7); }
body.theme-pink .theme-trigger { background: rgba(255,255,255,0.15); color: #fff; border-color: rgba(255,255,255,0.3); }
body.theme-pink .theme-trigger:hover { border-color: rgba(255,255,255,0.6); }
body.theme-pink .theme-menu { background: #1b2838; border-color: #2a475e; box-shadow: 0 6px 20px rgba(0,0,0,0.4); }
body.theme-pink .theme-menu li { color: #e6edf3; }
body.theme-pink .theme-menu li:hover { background: #2a475e; color: #66c0f4; }
body.theme-pink .theme-menu li.active { background: #2a475e; color: #66c0f4; }
body.theme-pink .stat-card { background: rgba(255,255,255,0.95); backdrop-filter: blur(10px); box-shadow: 0 8px 32px rgba(0,0,0,0.15); }
body.theme-pink .modal-box { background: #1b2838; border: 1px solid #2a475e; }
body.theme-pink .modal-msg { color: #e6edf3; }
body.theme-pink input { background: rgba(255,255,255,0.95); color: #17233d; }

/* ============ 7. 青蓝 ============ */
body.theme-cyan {
  background: linear-gradient(160deg, #006064 0%, #00b4db 30%, #004d66 100%);
  background-attachment: fixed;
  color: #e6edf3;
}
body.theme-cyan .nav { background: rgba(255,255,255,0.1); backdrop-filter: blur(10px); box-shadow: 0 1px 8px rgba(0,0,0,0.2); }
body.theme-cyan .nav-logo { color: #fff; }
body.theme-cyan .nav-user { color: rgba(255,255,255,0.9); }
body.theme-cyan .sidebar { background: rgba(255,255,255,0.08); backdrop-filter: blur(10px); box-shadow: 1px 0 8px rgba(0,0,0,0.15); }
body.theme-cyan .sidebar a { color: rgba(255,255,255,0.8); }
body.theme-cyan .sidebar a:hover { background: rgba(255,255,255,0.15); color: #fff; }
body.theme-cyan .sidebar a.active { background: rgba(255,255,255,0.2); color: #fff; border-right-color: #fff; }
body.theme-cyan .card { background: rgba(255,255,255,0.95); backdrop-filter: blur(10px); box-shadow: 0 8px 32px rgba(0,0,0,0.15); }
body.theme-cyan .card h2 { color: #17233d; }
body.theme-cyan .footer { color: rgba(255,255,255,0.7); }
body.theme-cyan .theme-trigger { background: rgba(255,255,255,0.15); color: #fff; border-color: rgba(255,255,255,0.3); }
body.theme-cyan .theme-trigger:hover { border-color: rgba(255,255,255,0.6); }
body.theme-cyan .theme-menu { background: #1b2838; border-color: #2a475e; box-shadow: 0 6px 20px rgba(0,0,0,0.4); }
body.theme-cyan .theme-menu li { color: #e6edf3; }
body.theme-cyan .theme-menu li:hover { background: #2a475e; color: #66c0f4; }
body.theme-cyan .theme-menu li.active { background: #2a475e; color: #66c0f4; }
body.theme-cyan .stat-card { background: rgba(255,255,255,0.95); backdrop-filter: blur(10px); box-shadow: 0 8px 32px rgba(0,0,0,0.15); }
body.theme-cyan .modal-box { background: #1b2838; border: 1px solid #2a475e; }
body.theme-cyan .modal-msg { color: #e6edf3; }
body.theme-cyan input { background: rgba(255,255,255,0.95); color: #17233d; }

/* ============ 欢迎横幅跟随皮肤 ============ */
body.theme-blue   .welcome { background: linear-gradient(135deg, #0d47a1 0%, #19be6b 100%); box-shadow: 0 8px 32px rgba(13,71,161,0.4); }
body.theme-purple .welcome { background: linear-gradient(135deg, #4a2c7a 0%, #667eea 100%); box-shadow: 0 8px 32px rgba(74,44,122,0.4); }
body.theme-dark   .welcome { background: linear-gradient(135deg, #1b2838 0%, #2a475e 100%); box-shadow: 0 8px 32px rgba(0,0,0,0.5); }
body.theme-mint   .welcome { background: linear-gradient(135deg, #0a4d8a 0%, #19be6b 100%); box-shadow: 0 8px 32px rgba(10,77,138,0.4); }
body.theme-sunset .welcome { background: linear-gradient(135deg, #b35c00 0%, #ff7b54 100%); box-shadow: 0 8px 32px rgba(179,92,0,0.4); }
body.theme-pink   .welcome { background: linear-gradient(135deg, #c2185b 0%, #f093fb 100%); box-shadow: 0 8px 32px rgba(194,24,91,0.4); }
body.theme-cyan   .welcome { background: linear-gradient(135deg, #004d66 0%, #00b4db 100%); box-shadow: 0 8px 32px rgba(0,77,102,0.4); }

/* ============ 登录/注册页顶栏 ============ */
.auth-topbar {
  position: fixed;
  top: 0;
  right: 0;
  padding: 16px 24px;
  z-index: 100;
}
.auth-topbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ============ 表格 hover ============ */
tbody tr:hover, table tr:hover { background: rgba(45,140,240,0.04); }
body.theme-dark table tr:hover { background: rgba(102,192,244,0.08); }

/* ============ 表格排序 ============ */
th {
  cursor: pointer;
  user-select: none;
  transition: background .15s;
}
th:hover {
  background: rgba(45,140,240,0.06);
}
body.theme-dark th:hover {
  background: rgba(102,192,244,0.08);
}

.sort-icon {
  font-size: 11px;
  color: #c5c8ce;
  margin-left: 4px;
}
th[data-sort-dir="asc"] .sort-icon,
th[data-sort-dir="desc"] .sort-icon {
  color: #2d8cf0;
  font-weight: 700;
}
body.theme-dark th[data-sort-dir="asc"] .sort-icon,
body.theme-dark th[data-sort-dir="desc"] .sort-icon {
  color: #66c0f4;
}