/* ─── 个人中心 移动端响应式 (从 usercenter.css 分离) ─────────────────────────────── */
@media (max-width: 768px) {
  .uc-modal {
    width: 100vw;
    height: 100vh;
    max-width: 100vw;
    max-height: 100vh;
    border-radius: 0;
  }
  .uc-body { flex-direction: column; }
  
  /* 移动端菜单按钮 */
  .uc-menu-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: #f8f9fc;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 14px;
    color: var(--text);
    cursor: pointer;
    margin-bottom: 12px;
  }
  .uc-menu-btn:hover { background: #eef0f8; }
  .uc-menu-icon { font-size: 18px; }
  
  /* 隐藏桌面端侧边栏 */
  .uc-sidebar { display: none; }
  
  /* 移动端浮动菜单 */
  .uc-mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 10000;
    display: none;
  }
  .uc-mobile-menu.show { display: block; }
  
  .uc-mobile-menu-content {
    position: absolute;
    top: 60px;
    right: 16px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    min-width: 180px;
    overflow: hidden;
    animation: ucMenuSlideIn 0.2s ease-out;
  }
  
  @keyframes ucMenuSlideIn {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  .uc-mobile-nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    cursor: pointer;
    font-size: 14px;
    color: #555;
    transition: all 0.2s;
    border-bottom: 1px solid #f0f0f5;
  }
  .uc-mobile-nav-item:last-child { border-bottom: none; }
  .uc-mobile-nav-item:hover { background: #f8f9fc; color: var(--primary); }
  .uc-mobile-nav-item.active {
    background: var(--primary);
    color: #fff;
    font-weight: 500;
  }
  .uc-mobile-nav-logout {
    color: var(--error);
  }
  .uc-mobile-nav-logout:hover {
    background: #fde8e8;
    color: var(--error);
  }
  
  .uc-user-info { display: none; }
  
  .uc-content {
    padding: 16px;
    overflow-x: hidden;
  }
}
