/* ============ 用户中心（侧边栏布局） ============ */

.dashboard-layout {
  min-height: 100vh;
  background: var(--bgPage);
  display: flex;
}

/* ============ 侧边栏（桌面端） ============ */
.sidebar-desktop {
  flex-shrink: 0;
}

.user-sidebar {
  width: 240px;
  height: 100vh;
  position: sticky;
  top: 0;
  background: var(--surface);
  border-right: 1px solid var(--borderLight);
  display: flex;
  flex-direction: column;
  padding: 20px 14px;
  gap: 16px;
  flex-shrink: 0;
}

.sidebar-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 8px 12px;
  border-bottom: 1px solid var(--borderSoft);
}

.sidebar-logo {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--accent), var(--accentDark));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 14px;
  box-shadow: 0 2px 8px rgba(108, 191, 74, 0.3);
}

.sidebar-brand {
  font-size: 16px;
  font-weight: 700;
  color: var(--header);
}

.sidebar-user-card {
  background: var(--bgSoft);
  border-radius: 12px;
  padding: 14px;
  display: flex;
  gap: 12px;
  align-items: center;
}

.sidebar-user-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accentDark));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.sidebar-user-info {
  flex: 1;
  min-width: 0;
}

.sidebar-user-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--header);
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sidebar-user-level {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 600;
  color: var(--accentDeeper);
  background: rgba(108, 191, 74, 0.12);
  padding: 2px 8px;
  border-radius: 9999px;
  margin-bottom: 4px;
}

.sidebar-user-expiry {
  font-size: 11px;
  color: var(--textMuted);
  display: flex;
  align-items: center;
  gap: 4px;
}

.sidebar-nav {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  overflow-y: auto;
}

.sidebar-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: none;
  background: transparent;
  border-radius: 10px;
  font-size: 14px;
  color: var(--textMuted);
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
  text-align: left;
}

.sidebar-nav-item i {
  width: 18px;
  font-size: 14px;
  flex-shrink: 0;
}

.sidebar-nav-item:hover {
  background: var(--bgSoft);
  color: var(--header);
}

.sidebar-nav-item.active {
  background: linear-gradient(135deg, var(--accent), var(--accentDark));
  color: white;
  box-shadow: 0 2px 8px rgba(108, 191, 74, 0.3);
}

.sidebar-footer {
  padding-top: 12px;
  border-top: 1px solid var(--borderSoft);
}

.sidebar-logout-btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--borderLight);
  background: var(--surface);
  border-radius: 10px;
  font-size: 13px;
  color: var(--textMuted);
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.sidebar-logout-btn i {
  width: 18px;
  font-size: 13px;
}

.sidebar-logout-btn:hover {
  color: var(--danger);
  border-color: var(--danger);
  background: rgba(239, 68, 68, 0.05);
}

/* ============ 主内容区 ============ */
.dashboard-main-area {
  flex: 1;
  min-width: 0;
  padding: 32px 36px 48px;
  overflow-x: hidden;
}

.page-content {
  max-width: 1000px;
  margin: 0 auto;
}

.page-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--header);
  margin: 0 0 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.page-title i {
  color: var(--accent);
  font-size: 18px;
}

.section-hint {
  margin-left: auto;
  font-size: 12px;
  font-weight: 400;
  color: var(--textMuted);
}

/* 过期横幅 */
.expired-banner {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), rgba(239, 68, 68, 0.05));
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.expired-banner-content {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #991b1b;
}

.expired-banner-content > i {
  font-size: 20px;
  flex-shrink: 0;
}

.expired-banner-content strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 2px;
}

.expired-banner-content span {
  font-size: 12px;
  color: #b91c1c;
  opacity: 0.8;
}

.expired-banner-close {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: none;
  background: rgba(153, 27, 27, 0.1);
  color: #991b1b;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  transition: all 0.2s ease;
  flex-shrink: 0;
  font-family: inherit;
}

.expired-banner-close:hover {
  background: rgba(153, 27, 27, 0.2);
}

/* ============ 用户权益 ============ */

/* 会员卡 — 极简白卡 + 翡翠绿竖色带 */
.member-card {
  position: relative;
  border-radius: 18px;
  padding: 28px 28px 24px 40px;
  margin-bottom: 24px;
  background: #ffffff;
  border: 1px solid var(--borderLight);
  box-shadow: 0 2px 16px rgba(20, 60, 30, 0.06);
  overflow: hidden;
}

.member-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 5px;
  background: linear-gradient(180deg, var(--accent) 0%, var(--accentDark) 100%);
  border-radius: 18px 0 0 18px;
}

.member-card-top {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 26px;
  z-index: 1;
}

.member-card-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--textMuted);
  letter-spacing: 0.5px;
}

.member-card-brand i {
  font-size: 14px;
  color: var(--accent);
}

.member-card-level-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  background: var(--bgSoft);
  border: 1px solid var(--borderLight);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--accentDeeper);
}

.member-card-level-badge i {
  font-size: 11px;
}

.member-card-user {
  position: relative;
  margin-bottom: 26px;
  z-index: 1;
}

.member-card-name {
  font-size: 26px;
  font-weight: 700;
  color: var(--header);
  margin-bottom: 6px;
  letter-spacing: 0.2px;
}

.member-card-desc {
  font-size: 13px;
  color: var(--textMuted);
}

.member-card-code-row {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  background: var(--bgSoft);
  border: 1px solid var(--borderSoft);
  border-radius: 10px;
  margin-bottom: 24px;
  z-index: 1;
}

.member-card-code-label {
  font-size: 11px;
  font-weight: 500;
  color: var(--textMuted);
  margin-bottom: 6px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.member-card-code-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex: 1;
}

.member-card-code {
  font-family: var(--fontMono);
  font-size: 18px;
  font-weight: 700;
  color: var(--header);
  letter-spacing: 0.5px;
  word-break: break-all;
}

.member-card-copy-btn {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 8px;
  border: 1px solid var(--accent);
  background: transparent;
  color: var(--accentDeeper);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.member-card-copy-btn:hover {
  background: var(--accent);
  color: white;
}

.member-card-copy-btn.copied {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}

.member-card-meta {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--borderSoft);
  z-index: 1;
}

.member-card-meta-item {
  text-align: left;
  padding-left: 4px;
}

.member-card-meta-label {
  font-size: 11px;
  color: var(--textMuted);
  margin-bottom: 6px;
  letter-spacing: 0.3px;
}

.member-card-meta-value {
  font-size: 16px;
  font-weight: 700;
  color: var(--header);
}

.member-card.expired {
  background: #fafafa;
}

.member-card.expired::before {
  background: linear-gradient(180deg, #bbb 0%, #888 100%);
}

.member-card.expired .member-card-level-badge {
  color: var(--textMuted);
  border-color: var(--borderLight);
  background: var(--bgSoft);
}

.member-card.expired .member-card-copy-btn {
  border-color: var(--borderLight);
  color: var(--textMuted);
}

@media (max-width: 640px) {
  .member-card {
    padding: 20px 16px 18px 24px;
    border-radius: 14px;
  }
  .member-card-name {
    font-size: 20px;
  }
  .member-card-code {
    font-size: 14px;
  }
  .member-card-code-row {
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
  }
  .member-card-meta {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
  .member-card-meta-value {
    font-size: 14px;
  }
}

/* 权益详情列表 */
.feature-list-card {
  background: var(--surface);
  border-radius: 16px;
  padding: 24px;
  border: 1px solid var(--borderLight);
  box-shadow: 0 2px 12px rgba(20, 40, 20, 0.04);
}

.feature-list-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--header);
  margin: 0 0 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.feature-list-title i {
  color: var(--accent);
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--textBody);
}

.feature-check {
  color: var(--accent);
  font-size: 12px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(108, 191, 74, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ============ 订阅链接 ============ */
.subscriptions-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.subscription-card {
  background: var(--surface);
  border-radius: 16px;
  padding: 24px;
  border: 1px solid var(--borderLight);
  box-shadow: 0 2px 12px rgba(20, 40, 20, 0.04);
}

.subscription-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.subscription-card-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 600;
  color: var(--header);
}

.subscription-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--accent), var(--accentDark));
  color: white;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
}

.subscription-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--accentDeeper);
  font-weight: 500;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(108, 191, 74, 0.2);
}

.status-dot.status-green {
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2);
}

.subscription-btns {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.sub-copy-btn {
  flex: 1;
  min-width: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 16px;
  background: var(--bgSoft);
  border: 1px solid var(--borderLight);
  border-radius: 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--textBody);
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.sub-copy-btn:hover {
  background: linear-gradient(135deg, var(--accent), var(--accentDark));
  color: white;
  border-color: transparent;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(108, 191, 74, 0.25);
}

.sub-copy-btn:active {
  transform: translateY(0);
}

/* ============ 客户端下载 ============ */
.download-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.download-card {
  background: var(--surface);
  border-radius: 16px;
  padding: 28px 24px;
  border: 1px solid var(--borderLight);
  box-shadow: 0 2px 12px rgba(20, 40, 20, 0.04);
  text-align: center;
  transition: all 0.3s ease;
}

.download-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(20, 40, 20, 0.08);
}

.download-card-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 14px;
  background: var(--bgSoft);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.download-card-platform {
  font-size: 16px;
  font-weight: 600;
  color: var(--header);
  margin-bottom: 16px;
}

.download-card-btns {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.download-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s ease;
  font-family: inherit;
}

.download-btn-main {
  background: linear-gradient(135deg, var(--accent), var(--accentDark));
  color: white;
}

.download-btn-main:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(108, 191, 74, 0.3);
}

.download-btn-backup {
  background: var(--bgSoft);
  color: var(--textBody);
  border-color: var(--borderLight);
}

.download-btn-backup:hover {
  background: white;
  color: var(--accentDeeper);
  border-color: var(--accent);
}

.download-btn-qr {
  background: var(--bgSoft);
  color: var(--textBody);
  border-color: var(--borderLight);
}

.download-btn-qr:hover {
  background: white;
  color: var(--accentDeeper);
  border-color: var(--accent);
}

.download-btn-apple {
  background: var(--bgSoft);
  color: var(--textBody);
  border-color: var(--borderLight);
}

.download-btn-apple:hover {
  background: white;
  color: #007AFF;
  border-color: #007AFF;
}

.download-card-status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 11px;
  color: var(--textMuted);
}

/* ============ 使用教程 ============ */
.tutorial-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.tutorial-card {
  background: var(--surface);
  border-radius: 14px;
  padding: 20px;
  border: 1px solid var(--borderLight);
  display: flex;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tutorial-card:hover {
  border-color: var(--accent);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(108, 191, 74, 0.15);
}

.tutorial-card-icon {
  width: 48px;
  height: 48px;
  background: var(--bgSoft);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.tutorial-card-content {
  flex: 1;
  min-width: 0;
}

.tutorial-card-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--header);
  margin-bottom: 4px;
}

.tutorial-card-desc {
  font-size: 12px;
  color: var(--textMuted);
}

.tutorial-card-arrow {
  color: var(--textMuted);
  font-size: 12px;
  flex-shrink: 0;
}

/* ============ 弹窗 ============ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20, 40, 20, 0.5);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 20px;
  animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-content {
  background: var(--surface);
  border-radius: 20px;
  padding: 32px;
  width: 100%;
  max-width: 420px;
  position: relative;
  box-shadow: 0 20px 60px rgba(20, 40, 20, 0.2);
  animation: modalIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: var(--bgSoft);
  color: var(--textMuted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: all 0.2s ease;
  font-family: inherit;
}

.modal-close:hover {
  background: rgba(239, 68, 68, 0.1);
  color: var(--danger);
}

.modal-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--header);
  margin: 0 0 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.modal-title i {
  color: var(--accent);
}

/* 教程步骤 */
.tutorial-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.tutorial-steps li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: var(--textBody);
  line-height: 1.6;
}

.step-num {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  background: linear-gradient(135deg, var(--accent), var(--accentDark));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
}

.step-text {
  flex: 1;
  padding-top: 2px;
}

/* 二维码弹窗 */
.qr-modal {
  text-align: center;
  max-width: 360px;
}

.qr-image-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 12px 0;
}

.qr-image {
  width: 200px;
  height: 200px;
  border-radius: 12px;
  border: 4px solid white;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.qr-placeholder {
  width: 200px;
  height: 200px;
  border-radius: 12px;
  background: var(--bgSoft);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--textMuted);
  font-size: 14px;
}

.qr-placeholder i {
  font-size: 40px;
}

.qr-hint {
  font-size: 13px;
  color: var(--textMuted);
  margin-top: 8px;
}

/* Apple ID 弹窗 */
.apple-id-hint {
  font-size: 13px;
  color: var(--textBody);
  margin-bottom: 20px;
  line-height: 1.6;
}

.apple-id-hint strong {
  color: var(--accentDeeper);
}

.apple-id-field {
  margin-bottom: 14px;
}

.apple-id-field-label {
  font-size: 12px;
  color: var(--textMuted);
  margin-bottom: 6px;
}

.apple-id-field-row {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bgSoft);
  border-radius: 8px;
  padding: 8px 12px;
  border: 1px solid var(--borderLight);
}

.apple-id-value {
  flex: 1;
  font-family: var(--fontMono);
  font-size: 13px;
  color: var(--textBody);
  word-break: break-all;
}

.apple-id-value.apple-id-pwd {
  letter-spacing: 2px;
}

.apple-id-copy-btn {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border: none;
  background: var(--surface);
  border-radius: 6px;
  color: var(--accentDeeper);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  transition: all 0.2s ease;
  font-family: inherit;
}

.apple-id-copy-btn:hover {
  background: var(--accent);
  color: white;
}

.apple-id-warning {
  margin-top: 16px;
  padding: 10px 12px;
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.15);
  border-radius: 8px;
  font-size: 12px;
  color: #b91c1c;
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.apple-id-warning i {
  margin-top: 1px;
  flex-shrink: 0;
}

/* ============ 空状态 ============ */
.empty-state-card {
  background: var(--surface);
  border-radius: 16px;
  padding: 60px 24px;
  border: 1px solid var(--borderLight);
  text-align: center;
  color: var(--textMuted);
}

.empty-state-card i {
  font-size: 40px;
  color: var(--danger);
  margin-bottom: 12px;
  display: block;
}

.empty-state-card p {
  font-size: 14px;
}

/* ============ 底部版权 ============ */
.dashboard-footer {
  text-align: center;
  font-size: 12px;
  color: var(--textMuted);
  padding: 32px 0 16px;
}

/* ============ 移动端 ============ */
.mobile-only {
  display: none;
}

.sidebar-desktop {
  display: block;
}

@media (max-width: 768px) {
  .sidebar-desktop {
    display: none;
  }

  .mobile-only {
    display: block;
  }

  .dashboard-layout {
    flex-direction: column;
    padding-bottom: 68px; /* 底部 tab 高度 */
  }

  .dashboard-main-area {
    padding: 16px 16px 24px;
  }

  .page-title {
    font-size: 20px;
    margin-bottom: 18px;
  }

  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .benefit-item {
    padding: 12px 6px;
  }

  .benefit-value {
    font-size: 15px;
  }

  .download-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .tutorial-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .sub-copy-btn {
    flex: 1 1 calc(50% - 5px);
    min-width: 0;
    padding: 10px 8px;
    font-size: 12px;
  }

  /* 移动端顶部栏 */
  .mobile-top-bar {
    position: sticky;
    top: 0;
    z-index: 40;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    height: 56px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--borderLight);
  }

  .mobile-menu-btn {
    width: 36px;
    height: 36px;
    border: none;
    background: var(--bgSoft);
    border-radius: 8px;
    color: var(--header);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-family: inherit;
  }

  .mobile-top-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--header);
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .mobile-top-title i {
    color: var(--accent);
  }

  .mobile-top-level {
    font-size: 11px;
    font-weight: 600;
    color: var(--accentDeeper);
    background: rgba(108, 191, 74, 0.12);
    padding: 4px 10px;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    gap: 4px;
  }

  /* 移动端侧边栏抽屉 */
  .user-sidebar.mobile {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    z-index: 90;
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.15);
  }

  .user-sidebar.mobile.open {
    transform: translateX(0);
  }

  .sidebar-mask {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 80;
    animation: fadeIn 0.2s ease;
  }


  .dashboard-footer {
    padding: 20px 0 8px;
  }
}
