/**
 * VIP会员系统 - PC端专属样式
 * 全宽布局 + 左侧导航栏
 */
:root {
  --pc-primary: #8B5CF6;
  --pc-primary-dark: #7C3AED;
  --pc-primary-light: #A78BFA;
  --pc-bg: #f0edf6;
  --pc-card: #ffffff;
  --pc-text: #1f2937;
  --pc-text-secondary: #6b7280;
  --pc-text-muted: #9ca3af;
  --pc-border: #e5e7eb;
  --pc-success: #10b981;
  --pc-warning: #f59e0b;
  --pc-danger: #ef4444;
  --pc-sidebar-w: 240px;
  --pc-header-h: 60px;
  --pc-radius: 10px;
  --pc-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --pc-shadow-lg: 0 4px 16px rgba(139,92,246,0.10);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  background: var(--pc-bg);
  color: var(--pc-text);
  line-height: 1.6;
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--pc-primary); text-decoration: none; }
a:hover { text-decoration: underline; }
input, select, textarea, button { font-family: inherit; font-size: inherit; }

/* ===== 布局 ===== */
.pc-layout {
  display: flex;
  min-height: 100vh;
}

/* ===== 侧边栏 ===== */
.pc-sidebar {
  width: var(--pc-sidebar-w);
  background: linear-gradient(180deg, #1e1b4b 0%, #2e1065 100%);
  color: #fff;
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 100;
  overflow: hidden;
  transition: width 0.25s;
}
.pc-sidebar-logo {
  padding: 20px 18px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  gap: 10px;
}
.pc-sidebar-logo-icon {
  width: 38px; height: 38px;
  background: linear-gradient(135deg, #8B5CF6, #6D28D9);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.pc-sidebar-logo-text {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
}
.pc-sidebar-logo-sub {
  font-size: 10px;
  opacity: 0.6;
  font-weight: 400;
}

.pc-sidebar-menu {
  flex: 1;
  overflow-y: auto;
  padding: 12px 0;
}
.pc-sidebar-menu::-webkit-scrollbar { width: 4px; }
.pc-sidebar-menu::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 2px; }

.pc-menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 20px;
  cursor: pointer;
  transition: all 0.2s;
  color: rgba(255,255,255,0.65);
  font-size: 14px;
  font-weight: 500;
  border-left: 3px solid transparent;
  margin: 2px 0;
}
.pc-menu-item:hover {
  color: #fff;
  background: rgba(255,255,255,0.06);
}
.pc-menu-item.active {
  color: #fff;
  background: rgba(139,92,246,0.25);
  border-left-color: #8B5CF6;
  font-weight: 600;
}
.pc-menu-icon {
  width: 22px;
  text-align: center;
  font-size: 16px;
  flex-shrink: 0;
}
.pc-menu-label { flex: 1; }
.pc-menu-badge {
  background: var(--pc-danger);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 8px;
  min-width: 18px;
  text-align: center;
}

.pc-sidebar-footer {
  padding: 16px 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  line-height: 1.8;
}

/* ===== 主内容区 ===== */
.pc-main {
  flex: 1;
  margin-left: var(--pc-sidebar-w);
  min-height: 100vh;
}

/* ===== 顶栏 ===== */
.pc-topbar {
  height: var(--pc-header-h);
  background: #fff;
  border-bottom: 1px solid var(--pc-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  position: sticky;
  top: 0;
  z-index: 90;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.pc-topbar-left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.pc-topbar-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--pc-text);
}
.pc-topbar-breadcrumb {
  font-size: 12px;
  color: var(--pc-text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}
.pc-topbar-breadcrumb span { color: var(--pc-text-secondary); }

.pc-topbar-right {
  display: flex;
  align-items: center;
  gap: 16px;
}
.pc-topbar-user {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  padding: 4px 10px 4px 4px;
  border-radius: 8px;
  transition: background 0.15s;
}
.pc-topbar-user:hover { background: rgba(139,92,246,0.06); }
.pc-topbar-avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #8B5CF6, #6D28D9);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
}
.pc-topbar-name {
  font-size: 13px;
  font-weight: 600;
}
.pc-topbar-level {
  font-size: 11px;
  color: var(--pc-text-muted);
}
.pc-topbar-action {
  padding: 6px 14px;
  border-radius: 8px;
  border: 1px solid var(--pc-border);
  background: #fff;
  color: var(--pc-text-secondary);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
}
.pc-topbar-action:hover {
  border-color: var(--pc-primary);
  color: var(--pc-primary);
}
.pc-topbar-action-danger:hover {
  border-color: var(--pc-danger);
  color: var(--pc-danger);
}

/* ===== 内容区 ===== */
.pc-content {
  padding: 24px;
  max-width: 1400px;
  margin: 0 auto;
}

/* ===== 页面视图 ===== */
.pc-page { display: none; }
.pc-page.active { display: block; animation: pcFadeIn 0.25s ease; }
@keyframes pcFadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

/* ===== 登录页 - 高端专业分屏版 ===== */
.pc-login-wrap {
  min-height: 100vh;
  margin-left: 0;
  display: flex;
  align-items: stretch;
  justify-content: center;
  background: #0f0c29;
  position: relative;
  overflow: hidden;
}
/* 左侧品牌展示区 */
.pc-login-brand {
  flex: 1;
  background: linear-gradient(135deg, #1e1b4b 0%, #312e81 40%, #4c1d95 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px;
  position: relative;
  overflow: hidden;
}
.pc-login-brand::before {
  content: '';
  position: absolute;
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139,92,246,0.2) 0%, transparent 70%);
  top: -250px; right: -200px;
  animation: pcLoginGlow1 10s ease-in-out infinite alternate;
}
.pc-login-brand::after {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(168,85,247,0.15) 0%, transparent 70%);
  bottom: -150px; left: -100px;
  animation: pcLoginGlow2 12s ease-in-out infinite alternate;
}
@keyframes pcLoginGlow1 {
  0% { transform: translate(0, 0) scale(1); opacity: 0.5; }
  100% { transform: translate(-50px, 50px) scale(1.2); opacity: 1; }
}
@keyframes pcLoginGlow2 {
  0% { transform: translate(0, 0) scale(1); opacity: 0.4; }
  100% { transform: translate(40px, -40px) scale(1.15); opacity: 0.9; }
}
/* 左侧浮动粒子 */
.pc-login-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.pc-login-particles span {
  position: absolute;
  display: block;
  background: rgba(255,255,255,0.06);
  border-radius: 50%;
  animation: pcLoginParticle linear infinite;
}
.pc-login-particles span:nth-child(1) { left: 8%; width: 10px; height: 10px; animation-duration: 20s; animation-delay: 0s; }
.pc-login-particles span:nth-child(2) { left: 22%; width: 6px; height: 6px; animation-duration: 25s; animation-delay: 2s; }
.pc-login-particles span:nth-child(3) { left: 40%; width: 8px; height: 8px; animation-duration: 22s; animation-delay: 4s; }
.pc-login-particles span:nth-child(4) { left: 58%; width: 12px; height: 12px; animation-duration: 18s; animation-delay: 1s; }
.pc-login-particles span:nth-child(5) { left: 75%; width: 5px; height: 5px; animation-duration: 26s; animation-delay: 3s; }
.pc-login-particles span:nth-child(6) { left: 33%; width: 4px; height: 4px; animation-duration: 21s; animation-delay: 6s; }
.pc-login-particles span:nth-child(7) { left: 65%; width: 7px; height: 7px; animation-duration: 19s; animation-delay: 5s; }
.pc-login-particles span:nth-child(8) { left: 88%; width: 9px; height: 9px; animation-duration: 23s; animation-delay: 2s; }
@keyframes pcLoginParticle {
  0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(-10vh) rotate(720deg); opacity: 0; }
}
/* 左侧品牌内容 */
.pc-login-brand-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 420px;
}
.pc-login-brand-icon {
  font-size: 72px;
  margin-bottom: 24px;
  filter: drop-shadow(0 8px 24px rgba(139,92,246,0.5));
  animation: pcCrownFloat 4s ease-in-out infinite;
}
@keyframes pcCrownFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.pc-login-brand-title {
  font-size: 36px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 2px;
  margin-bottom: 12px;
  text-shadow: 0 4px 20px rgba(139,92,246,0.4);
}
.pc-login-brand-desc {
  font-size: 16px;
  color: rgba(255,255,255,0.6);
  line-height: 1.8;
  letter-spacing: 0.5px;
}
.pc-login-brand-features {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: left;
}
.pc-login-brand-feature {
  display: flex;
  align-items: center;
  gap: 14px;
  color: rgba(255,255,255,0.75);
  font-size: 14px;
  font-weight: 500;
}
.pc-login-brand-feature-icon {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: rgba(139,92,246,0.2);
  border: 1px solid rgba(139,92,246,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

/* 右侧登录表单区 */
.pc-login-form-side {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px;
  background: #faf9fc;
  position: relative;
}
.pc-login-card {
  width: 420px;
  max-width: 100%;
  animation: pcLoginCardIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}
@keyframes pcLoginCardIn {
  from { opacity: 0; transform: translateY(30px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.pc-login-card-header {
  margin-bottom: 36px;
}
.pc-login-card-header h2 {
  font-size: 28px;
  font-weight: 800;
  color: var(--pc-text);
  margin-bottom: 6px;
}
.pc-login-card-header p {
  font-size: 14px;
  color: var(--pc-text-secondary);
}
.pc-login-tabs {
  display: flex;
  background: #f3f0f9;
  border-radius: 12px;
  padding: 4px;
  margin-bottom: 32px;
  border: 1px solid #e9e5f0;
}
.pc-login-tab {
  flex: 1;
  text-align: center;
  padding: 11px 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--pc-text-secondary);
  cursor: pointer;
  border-radius: 10px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.pc-login-tab.active {
  color: #fff;
  background: linear-gradient(135deg, var(--pc-primary), var(--pc-primary-dark));
  box-shadow: 0 4px 16px rgba(139,92,246,0.3);
}

.pc-login-form { display: none; }
.pc-login-form.active { display: block; animation: pcLoginFormIn 0.35s ease; }
@keyframes pcLoginFormIn { from { opacity: 0; transform: translateX(10px); } to { opacity: 1; transform: translateX(0); } }

.pc-login-form .form-group { margin-bottom: 20px; }
.pc-login-form .form-label { display: block; font-size: 13px; font-weight: 600; color: var(--pc-text-secondary); margin-bottom: 8px; }
.pc-login-form .form-input {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid #e5e7eb;
  border-radius: 12px;
  font-size: 14px;
  color: var(--pc-text);
  background: #fff;
  transition: all 0.3s;
  outline: none;
  box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}
.pc-login-form .form-input:focus {
  border-color: var(--pc-primary);
  box-shadow: 0 0 0 4px rgba(139,92,246,0.1), 0 2px 8px rgba(139,92,246,0.06);
  background: #fff;
}
.pc-login-form .form-row { display: flex; gap: 10px; }
.pc-login-form .form-row .form-input { flex: 1; }
.pc-login-form .btn-sms {
  white-space: nowrap;
  padding: 13px 18px;
  background: linear-gradient(135deg, var(--pc-primary), var(--pc-primary-dark));
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  min-width: 110px;
  transition: all 0.3s;
  box-shadow: 0 4px 12px rgba(139,92,246,0.2);
}
.pc-login-form .btn-sms:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(139,92,246,0.3); }
.pc-login-form .btn-sms:disabled { opacity: 0.4; cursor: not-allowed; transform: none; box-shadow: none; }
.pc-login-form .btn { display: inline-flex; align-items: center; justify-content: center; padding: 14px 24px; border: none; border-radius: 12px; font-size: 16px; font-weight: 700; cursor: pointer; transition: all 0.3s; gap: 6px; letter-spacing: 2px; }
.pc-login-form .btn-block { width: 100%; }
.pc-login-form .btn-primary {
  background: linear-gradient(135deg, #8B5CF6, #7C3AED, #6D28D9);
  background-size: 200% 200%;
  animation: pcLoginBtnShimmer 3s ease infinite;
  color: #fff;
  box-shadow: 0 8px 24px rgba(139,92,246,0.3);
}
.pc-login-form .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(139,92,246,0.4); }
.pc-login-form .btn-primary:active { transform: translateY(0); }
.pc-login-form .btn-primary:disabled { opacity: 0.5; cursor: not-allowed; transform: none; box-shadow: none; }
@keyframes pcLoginBtnShimmer {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* PC登录页底部版权 */
.pc-login-copyright {
  position: absolute;
  bottom: 24px;
  left: 0; right: 0;
  text-align: center;
  font-size: 11px;
  color: var(--pc-text-muted);
  line-height: 1.8;
  padding: 0 20px;
}

/* PC返回首页链接 */
.pc-login-home-link {
  text-align: center;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid #eee;
}
.pc-login-home-link a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  color: var(--pc-text-muted);
  font-weight: 500;
  transition: all 0.3s;
  padding: 6px 18px;
  border-radius: 20px;
  background: #f5f3f9;
  border: 1px solid #e9e5f0;
}
.pc-login-home-link a:hover {
  color: var(--pc-primary);
  background: #ede9f7;
  border-color: rgba(139,92,246,0.3);
  text-decoration: none;
}

/* 小屏PC响应式 - 分屏变为单卡片 */
@media (max-width: 900px) {
  .pc-login-brand { display: none; }
  .pc-login-form-side { padding: 40px 24px; }
  .pc-login-wrap { background: linear-gradient(135deg, #1e1b4b 0%, #2e1065 50%, #4c1d95 100%); }
  .pc-login-form-side { background: transparent; }
  .pc-login-card {
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-radius: 24px;
    padding: 40px 32px;
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow: 0 24px 80px rgba(0,0,0,0.3);
  }
  .pc-login-card-header h2 { color: #fff; }
  .pc-login-card-header p { color: rgba(255,255,255,0.6); }
  .pc-login-tabs { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.06); }
  .pc-login-tab { color: rgba(255,255,255,0.45); }
  .pc-login-form .form-label { color: rgba(255,255,255,0.7); }
  .pc-login-form .form-input { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.12); color: #fff; }
  .pc-login-form .form-input::placeholder { color: rgba(255,255,255,0.3); }
  .pc-login-form .form-input:focus { border-color: rgba(139,92,246,0.7); background: rgba(255,255,255,0.1); }
  .pc-login-home-link { border-top-color: rgba(255,255,255,0.08); }
  .pc-login-home-link a { color: rgba(255,255,255,0.4); background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.06); }
  .pc-login-home-link a:hover { color: rgba(255,255,255,0.8); background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.12); }
}

/* ===== Dashboard ===== */
.pc-dashboard-header {
  background: linear-gradient(135deg, #8B5CF6 0%, #6D28D9 50%, #5B21B6 100%);
  border-radius: 16px;
  padding: 32px 36px;
  color: #fff;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(91,33,182,0.2);
}
.pc-dashboard-header::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 240px; height: 240px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
}
.pc-dashboard-header::after {
  content: '';
  position: absolute;
  bottom: -60px; left: 20%;
  width: 180px; height: 180px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
}
.pc-dash-user {
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
  z-index: 1;
}
.pc-dash-avatar {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px; font-weight: 700;
  border: 2px solid rgba(255,255,255,0.3);
}
.pc-dash-info { flex: 1; }
.pc-dash-name { font-size: 22px; font-weight: 700; }
.pc-dash-phone { font-size: 14px; opacity: 0.8; margin-top: 2px; }
.pc-dash-level {
  display: inline-block;
  background: rgba(255,255,255,0.2);
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  margin-top: 6px;
}
.pc-dash-points {
  text-align: right;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}
.pc-dash-points-label {
  font-size: 13px;
  opacity: 0.8;
}
.pc-dash-points-value {
  font-size: 32px;
  font-weight: 800;
  line-height: 1.2;
}

/* ===== 统计卡片网格 ===== */
.pc-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}
.pc-stat-card {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: var(--pc-shadow);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid rgba(139,92,246,0.04);
}
.pc-stat-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--pc-shadow-lg);
}
.pc-stat-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}
.pc-stat-body { flex: 1; }
.pc-stat-value { font-size: 24px; font-weight: 800; color: var(--pc-text); }
.pc-stat-label { font-size: 13px; color: var(--pc-text-secondary); margin-top: 2px; }
.pc-stat-change {
  font-size: 12px;
  font-weight: 600;
  margin-top: 2px;
}
.pc-stat-change.up { color: var(--pc-success); }
.pc-stat-change.down { color: var(--pc-danger); }

/* ===== 签到卡片 ===== */
.pc-signin-banner {
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  border-radius: 12px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  border: 1px solid rgba(251,191,36,0.2);
}
.pc-signin-info h3 { font-size: 16px; font-weight: 700; color: #92400e; }
.pc-signin-info p { font-size: 13px; color: #a16207; margin-top: 4px; }
.pc-signin-btn {
  padding: 10px 28px;
  background: #f59e0b;
  color: #fff;
  border: none;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}
.pc-signin-btn:hover { background: #d97706; }
.pc-signin-btn:disabled { background: #d1d5db; color: #9ca3af; cursor: not-allowed; }
.pc-signin-btn.done { background: var(--pc-success); }

/* ===== 快捷操作 ===== */
.pc-quick-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 12px;
  margin-bottom: 24px;
}
.pc-quick-item {
  background: #fff;
  border-radius: 12px;
  padding: 18px 12px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  border: 1px solid rgba(139,92,246,0.04);
  box-shadow: var(--pc-shadow);
}
.pc-quick-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--pc-shadow-lg);
  border-color: rgba(139,92,246,0.12);
}
.pc-quick-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin: 0 auto 8px;
}
.pc-quick-label { font-size: 13px; font-weight: 600; color: var(--pc-text); }

/* ===== 内容卡片 ===== */
.pc-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--pc-shadow);
  margin-bottom: 20px;
  border: 1px solid rgba(139,92,246,0.04);
  overflow: hidden;
}
.pc-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--pc-border);
}
.pc-card-title {
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}
.pc-card-title .badge {
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 10px;
  background: rgba(139,92,246,0.1);
  color: var(--pc-primary);
  font-weight: 600;
}
.pc-card-header-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}
.pc-card-body { padding: 20px; }
.pc-card-body-no-pad { padding: 0; }

/* ===== 数据表格 ===== */
.pc-table-wrap {
  overflow-x: auto;
}
.pc-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.pc-table th {
  background: #f8f7ff;
  padding: 11px 14px;
  text-align: left;
  font-size: 12px;
  color: var(--pc-text-secondary);
  font-weight: 600;
  border-bottom: 2px solid var(--pc-border);
  white-space: nowrap;
}
.pc-table td {
  padding: 11px 14px;
  border-bottom: 1px solid #f3f4f6;
  color: var(--pc-text);
}
.pc-table tr:hover td { background: #faf5ff; }
.pc-table tr:last-child td { border-bottom: none; }
.pc-table .text-right { text-align: right; }
.pc-table .text-center { text-align: center; }
.pc-table .text-muted { color: var(--pc-text-muted); }

/* ===== 筛选栏 ===== */
.pc-filter-bar {
  display: flex;
  gap: 10px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--pc-border);
  flex-wrap: wrap;
  align-items: center;
  background: #fafafa;
}
.pc-filter-bar input,
.pc-filter-bar select {
  padding: 7px 12px;
  border: 1.5px solid var(--pc-border);
  border-radius: 8px;
  font-size: 13px;
  outline: none;
  background: #fff;
  min-width: 120px;
}
.pc-filter-bar input:focus,
.pc-filter-bar select:focus { border-color: var(--pc-primary); box-shadow: 0 0 0 2px rgba(139,92,246,0.1); }
.pc-filter-bar .filter-btn {
  padding: 7px 16px;
  background: var(--pc-primary);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.pc-filter-bar .filter-btn:hover { background: var(--pc-primary-dark); }
.pc-filter-bar .clear-btn {
  padding: 7px 14px;
  background: #f3f4f6;
  color: var(--pc-text-secondary);
  border: none;
  border-radius: 8px;
  font-size: 13px;
  cursor: pointer;
}
.pc-filter-tabs {
  display: flex;
  gap: 4px;
  padding: 12px 20px 0;
  border-bottom: 1px solid var(--pc-border);
}
.pc-filter-tab {
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 600;
  color: var(--pc-text-secondary);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: all 0.15s;
}
.pc-filter-tab:hover { color: var(--pc-primary); }
.pc-filter-tab.active { color: var(--pc-primary); border-bottom-color: var(--pc-primary); }

/* ===== 分页 ===== */
.pc-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-top: 1px solid var(--pc-border);
  font-size: 13px;
}
.pc-pagination-info { color: var(--pc-text-muted); }
.pc-pagination-btns { display: flex; gap: 4px; }
.pc-pagination-btns button {
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 13px;
  border: 1px solid var(--pc-border);
  background: #fff;
  color: var(--pc-text);
  cursor: pointer;
  transition: all 0.12s;
}
.pc-pagination-btns button:hover { border-color: var(--pc-primary); color: var(--pc-primary); }
.pc-pagination-btns button.active { background: var(--pc-primary); color: #fff; border-color: var(--pc-primary); }
.pc-pagination-btns button:disabled { opacity: 0.4; cursor: not-allowed; }

/* ===== 徽章 ===== */
.pc-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 600;
}
.pc-badge-success { background: #dcfce7; color: #16a34a; }
.pc-badge-warning { background: #fff3e0; color: #e65100; }
.pc-badge-danger { background: #fce4ec; color: #e53935; }
.pc-badge-info { background: #e0f2fe; color: #0284c7; }
.pc-badge-purple { background: #f3e8ff; color: #7c3aed; }
.pc-badge-gray { background: #f3f4f6; color: #6b7280; }

/* ===== 按钮 ===== */
.pc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.15s;
}
.pc-btn-primary { background: var(--pc-primary); color: #fff; }
.pc-btn-primary:hover { background: var(--pc-primary-dark); }
.pc-btn-outline { background: #fff; color: var(--pc-text); border: 1px solid var(--pc-border); }
.pc-btn-outline:hover { border-color: var(--pc-primary); color: var(--pc-primary); }
.pc-btn-sm { padding: 5px 10px; font-size: 12px; }
.pc-btn-danger { background: var(--pc-danger); color: #fff; }
.pc-btn-danger:hover { opacity: 0.85; }
.pc-btn-success { background: var(--pc-success); color: #fff; }
.pc-btn-block { width: 100%; justify-content: center; }

/* ===== 代金券卡片网格 ===== */
.pc-voucher-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
}
.pc-voucher-card {
  background: #fff;
  border-radius: 12px;
  border: 1px solid var(--pc-border);
  overflow: hidden;
  transition: all 0.2s;
  box-shadow: var(--pc-shadow);
}
.pc-voucher-card:hover { box-shadow: var(--pc-shadow-lg); transform: translateY(-2px); }
.pc-voucher-card.pc-voucher-physical { border-left: 3px solid #f59e0b; }
.pc-voucher-card.pc-voucher-physical .pc-voucher-head { background: linear-gradient(135deg, #f59e0b, #d97706); }
.pc-voucher-head {
  background: linear-gradient(135deg, #8B5CF6, #7C3AED);
  color: #fff;
  padding: 16px 18px;
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.pc-voucher-value {
  font-size: 28px;
  font-weight: 800;
}
.pc-voucher-name {
  font-size: 14px;
  font-weight: 600;
  opacity: 0.9;
}
.pc-voucher-body {
  padding: 16px 18px;
}
.pc-voucher-meta {
  font-size: 12px;
  color: var(--pc-text-secondary);
  margin-bottom: 6px;
  display: flex;
  justify-content: space-between;
}
.pc-voucher-action {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--pc-border);
  text-align: center;
}

/* ===== 余额钱包 ===== */
.pc-wallet-card {
  background: linear-gradient(135deg, #8B5CF6 0%, #6D28D9 50%, #5B21B6 100%);
  border-radius: 16px;
  padding: 28px 32px;
  color: #fff;
  position: relative;
  overflow: hidden;
  margin-bottom: 24px;
  box-shadow: 0 8px 32px rgba(91,33,182,0.2);
}
.pc-wallet-card::before {
  content: '';
  position: absolute;
  top: -40px; right: -30px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
}
.pc-wallet-balance {
  position: relative;
  z-index: 1;
}
.pc-wallet-balance-label { font-size: 14px; opacity: 0.8; margin-bottom: 4px; }
.pc-wallet-balance-amount { font-size: 42px; font-weight: 800; letter-spacing: -1px; line-height: 1.1; }
.pc-wallet-stats {
  display: flex;
  gap: 20px;
  margin-top: 20px;
  position: relative;
  z-index: 1;
}
.pc-wallet-stat {
  background: rgba(255,255,255,0.12);
  border-radius: 10px;
  padding: 12px 18px;
  min-width: 120px;
}
.pc-wallet-stat-num { font-size: 18px; font-weight: 700; display: block; }
.pc-wallet-stat-lbl { font-size: 11px; opacity: 0.7; margin-top: 2px; display: block; }

/* ===== 充值金额 ===== */
.pc-recharge-grid {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.pc-recharge-item {
  padding: 12px 24px;
  border: 1.5px solid var(--pc-border);
  border-radius: 10px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  min-width: 100px;
  background: #fafafa;
}
.pc-recharge-item:hover {
  border-color: var(--pc-primary-light);
  background: #f5f3ff;
}
.pc-recharge-item.active {
  border-color: var(--pc-primary);
  background: #f5f3ff;
  box-shadow: 0 0 0 3px rgba(139,92,246,0.1);
}
.pc-recharge-amount { font-size: 16px; font-weight: 700; color: var(--pc-text); }
.pc-recharge-tag {
  font-size: 10px;
  font-weight: 700;
  color: var(--pc-warning);
  margin-top: 2px;
}

/* ===== 两栏布局 ===== */
.pc-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* ===== Toast ===== */
.pc-toast {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0,0,0,0.78);
  color: #fff;
  padding: 12px 28px;
  border-radius: 8px;
  font-size: 14px;
  z-index: 99999;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
  max-width: 400px;
  text-align: center;
}
.pc-toast.show { opacity: 1; }

/* ===== Modal ===== */
.pc-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.5);
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
}
.pc-modal-overlay.show { display: flex; }
.pc-modal {
  background: #fff;
  border-radius: 16px;
  padding: 28px;
  width: 90%;
  max-width: 460px;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}
.pc-modal-title { font-size: 17px; font-weight: 700; margin-bottom: 16px; }
.pc-modal-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 20px; }

/* ===== Loading ===== */
.pc-loading {
  text-align: center;
  padding: 60px 20px;
  color: var(--pc-text-muted);
}
.pc-spinner {
  display: inline-block;
  width: 36px; height: 36px;
  border: 3px solid var(--pc-border);
  border-top-color: var(--pc-primary);
  border-radius: 50%;
  animation: pcSpin 0.8s linear infinite;
}
@keyframes pcSpin { to { transform: rotate(360deg); } }

/* ===== 空状态 ===== */
.pc-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--pc-text-muted);
}
.pc-empty-icon { font-size: 48px; margin-bottom: 12px; }
.pc-empty-text { font-size: 14px; }

/* ===== 线下转账表单 ===== */
.pc-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.pc-form-row .full { grid-column: 1 / -1; }
.pc-form-field { margin-bottom: 0; }
.pc-form-field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--pc-text-secondary);
  margin-bottom: 6px;
}
.pc-form-field label .required { color: var(--pc-danger); }
.pc-form-field .form-input {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--pc-border);
  border-radius: 8px;
  font-size: 14px;
  outline: none;
  background: #fafafa;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.pc-form-field .form-input:focus { border-color: var(--pc-primary); box-shadow: 0 0 0 2px rgba(139,92,246,0.1); background: #fff; }
.pc-form-field textarea.form-input { min-height: 60px; resize: vertical; }

/* ===== 银行信息卡 ===== */
.pc-bank-card {
  background: #eef0fe;
  border: 1px solid #c7d2fe;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 16px;
}
.pc-bank-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  border-bottom: 1px solid #c7d2fe;
}
.pc-bank-row:last-child { border-bottom: none; }
.pc-bank-label { font-size: 12px; color: #475569; flex-shrink: 0; min-width: 70px; }
.pc-bank-value { font-size: 13px; font-weight: 600; color: #0f172a; text-align: right; word-break: break-all; flex: 1; margin-left: 10px; }
.pc-bank-copy {
  display: inline-flex; align-items: center; gap: 3px;
  border: 1px solid #5b6ef5; color: #5b6ef5;
  background: transparent; border-radius: 6px;
  padding: 2px 8px; font-size: 11px; font-weight: 600;
  cursor: pointer; transition: all 0.18s;
  flex-shrink: 0; margin-left: 6px;
}
.pc-bank-copy:hover { background: #5b6ef5; color: #fff; }

/* ===== 线下转账成功页 ===== */
.pc-success-page {
  text-align: center;
  padding: 40px;
}
.pc-success-icon {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #10b981, #059669);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  font-size: 40px; color: #fff;
  box-shadow: 0 8px 24px rgba(16,185,129,0.25);
}
.pc-success-title { font-size: 22px; font-weight: 800; margin-bottom: 6px; }
.pc-success-desc { font-size: 14px; color: var(--pc-text-secondary); margin-bottom: 20px; }
.pc-success-no {
  background: #f8fafc; border: 1px solid var(--pc-border);
  border-radius: 10px; padding: 16px; margin-bottom: 20px; display: inline-block;
}
.pc-success-no-label { font-size: 11px; color: #94a3b8; margin-bottom: 4px; }
.pc-success-no-value {
  font-family: "SF Mono", "Courier New", monospace;
  font-size: 22px; font-weight: 800;
  color: #5b6ef5; letter-spacing: 2px;
}
.pc-success-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ===== 代理中心 ===== */
.pc-agent-header {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  border-radius: 12px;
  padding: 20px 24px;
  color: #fff;
  margin-bottom: 20px;
}
.pc-agent-code {
  background: rgba(255,255,255,0.2);
  padding: 6px 16px;
  border-radius: 8px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 2px;
  display: inline-block;
  margin: 8px 0;
}

/* ===== 开票面板 ===== */
.pc-invoice-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: #f8fafc;
  border: 1.5px solid var(--pc-border);
  border-radius: 10px;
  cursor: pointer;
  transition: border-color 0.2s;
  user-select: none;
}
.pc-invoice-toggle:hover { border-color: #5b6ef5; }
.pc-invoice-toggle.open { border-color: #5b6ef5; background: #eef0fe; }
.pc-invoice-toggle .toggle-switch {
  width: 44px; height: 24px; border-radius: 12px;
  background: var(--pc-border);
  position: relative; transition: background 0.2s;
  flex-shrink: 0;
}
.pc-invoice-toggle .toggle-switch::after {
  content: ""; position: absolute;
  width: 18px; height: 18px; border-radius: 50%;
  background: #fff; top: 3px; left: 3px;
  transition: transform 0.2s;
  box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}
.pc-invoice-toggle .toggle-switch.on { background: #5b6ef5; }
.pc-invoice-toggle .toggle-switch.on::after { transform: translateX(20px); }

.pc-invoice-panel { display: none; }
.pc-invoice-panel.show { display: block; }

/* ===== 设置页面 ===== */
.pc-settings-section {
  margin-bottom: 24px;
}
.pc-settings-section-title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--pc-border);
}
.pc-settings-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid #f3f4f6;
}
.pc-settings-item:last-child { border-bottom: none; }
.pc-settings-item-left { display: flex; align-items: center; gap: 10px; }
.pc-settings-item-icon { font-size: 16px; width: 24px; text-align: center; }
.pc-settings-item-label { font-size: 14px; font-weight: 500; }
.pc-settings-item-value { font-size: 13px; color: var(--pc-text-secondary); }
.pc-settings-item-action { cursor: pointer; }
.pc-settings-item-action:hover { color: var(--pc-primary); }

/* ===== 密码修改 ===== */
.pc-pwd-container {
  max-width: 480px;
}
.pc-pwd-card {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  box-shadow: var(--pc-shadow);
}
.pc-pwd-field { margin-bottom: 18px; }
.pc-pwd-field label { display: block; font-size: 13px; font-weight: 600; color: var(--pc-text-secondary); margin-bottom: 6px; }
.pc-pwd-field input {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--pc-border);
  border-radius: 8px;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
}
.pc-pwd-field input:focus { border-color: var(--pc-primary); box-shadow: 0 0 0 2px rgba(139,92,246,0.1); }

.pc-pwd-strength {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
}
.pc-pwd-strength-bar {
  flex: 1;
  height: 5px;
  background: #e5e7eb;
  border-radius: 99px;
  overflow: hidden;
}
.pc-pwd-strength-fill {
  height: 100%;
  border-radius: 99px;
  width: 0;
  transition: width 0.35s ease, background 0.35s ease;
}
.pc-pwd-strength-text { font-size: 12px; font-weight: 600; min-width: 24px; text-align: right; }

/* ===== 表单 ===== */
.form-group { margin-bottom: 16px; }
.form-label { display: block; font-size: 13px; font-weight: 600; color: var(--pc-text-secondary); margin-bottom: 6px; }
.form-input {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--pc-border);
  border-radius: 8px;
  font-size: 14px;
  outline: none;
  background: #fafafa;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-input:focus { border-color: var(--pc-primary); box-shadow: 0 0 0 2px rgba(139,92,246,0.1); background: #fff; }
.form-row { display: flex; gap: 10px; }
.form-row .form-input { flex: 1; }

/* ===== 二维码放大遮罩 ===== */
.pc-qr-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,0.88);
  z-index: 9999;
  justify-content: center; align-items: center;
  flex-direction: column;
}
.pc-qr-overlay.on { display: flex; }
.pc-qr-overlay img {
  max-width: 88vw; max-height: 72vh;
  border-radius: 12px;
  box-shadow: 0 12px 48px rgba(0,0,0,0.5);
}
.pc-qr-overlay .pc-qr-close {
  position: absolute; top: 18px; right: 18px;
  width: 42px; height: 42px;
  border-radius: 50%; background: rgba(255,255,255,0.15);
  border: none; color: #fff; font-size: 22px;
  cursor: pointer; display: flex;
  align-items: center; justify-content: center;
  transition: background 0.2s;
}
.pc-qr-overlay .pc-qr-close:hover { background: rgba(255,255,255,0.3); }
.pc-qr-overlay .pc-qr-tip {
  color: rgba(255,255,255,0.55);
  font-size: 13px; margin-top: 16px;
}

/* ===== 二维码显示 ===== */
.pc-qrcode-wrap {
  display: flex; flex-direction: column; align-items: center;
  padding: 16px; background: #f8fafc;
  border: 1.5px dashed var(--pc-border);
  border-radius: 10px; margin-bottom: 16px;
  gap: 8px;
}
.pc-qrcode-wrap img {
  width: 140px; height: 140px;
  border-radius: 8px; cursor: zoom-in;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.pc-qrcode-wrap img:hover { transform: scale(1.04); box-shadow: 0 8px 20px rgba(0,0,0,0.12); }
.pc-qrcode-tip { font-size: 11px; color: #94a3b8; }

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
  .pc-two-col { grid-template-columns: 1fr; }
  .pc-sidebar { width: 200px; }
  .pc-main { margin-left: 200px; }
  .pc-content { padding: 16px; }
}
@media (max-width: 768px) {
  .pc-sidebar { width: 60px; }
  .pc-sidebar-logo-text,
  .pc-sidebar-logo-sub,
  .pc-menu-label,
  .pc-menu-badge,
  .pc-sidebar-footer { display: none; }
  .pc-main { margin-left: 60px; }
  .pc-menu-item { justify-content: center; padding: 14px 0; }
  .pc-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .pc-quick-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ===== PC技术服务商城 ===== */
.pc-mall-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    padding: 28px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    color: #fff;
}
.pc-mall-header-content { flex: 1; }
.pc-mall-header-title { font-size: 24px; font-weight: 800; }
.pc-mall-header-desc { font-size: 14px; opacity: 0.85; margin-top: 6px; }
.pc-mall-search-wrap {
    display: flex; align-items: center; gap: 8px;
    background: rgba(255,255,255,0.15);
    border-radius: 24px;
    padding: 6px 8px 6px 20px;
    min-width: 300px;
}
.pc-mall-search-input {
    flex: 1; border: none; outline: none;
    background: transparent; color: #fff;
    font-size: 14px;
}
.pc-mall-search-input::placeholder { color: rgba(255,255,255,0.6); }

.pc-mall-toolbar {
    margin-bottom: 20px;
}
.pc-mall-categories {
    display: flex; gap: 8px; flex-wrap: wrap;
}
.pc-mall-cat {
    padding: 8px 20px;
    border-radius: 24px;
    font-size: 13px; font-weight: 500;
    color: #6b7280; background: #f3f4f6;
    cursor: pointer;
    transition: all 0.2s;
}
.pc-mall-cat:hover { background: #e5e7eb; }
.pc-mall-cat.active {
    background: #8B5CF6; color: #fff;
}

.pc-mall-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.pc-mall-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    border: 1px solid #f3f4f6;
}
.pc-mall-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}
.pc-mall-card-img {
    width: 100%; height: 180px;
    object-fit: cover;
    background: #f3f4f6;
}
.pc-mall-card-img-placeholder {
    width: 100%; height: 180px;
    background: #f3f4f6;
    display: flex; align-items: center; justify-content: center;
    font-size: 48px; color: #d1d5db;
}
.pc-mall-card-body { padding: 16px; }
.pc-mall-card-name {
    font-size: 15px; font-weight: 600; color: #1f2937;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
    margin-bottom: 6px;
}
.pc-mall-card-desc {
    font-size: 12px; color: #9ca3af;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
    margin-bottom: 10px;
}
.pc-mall-card-footer {
    display: flex; justify-content: space-between; align-items: center;
}
.pc-mall-card-price {
    color: #ef4444; font-weight: 700; font-size: 18px;
}
.pc-mall-card-cat {
    font-size: 11px; color: #9ca3af;
    background: #f3f4f6; padding: 3px 10px; border-radius: 10px;
}
.pc-mall-card-type {
    position: absolute; top: 10px; left: 10px;
    background: #8B5CF6; color: #fff;
    font-size: 11px; padding: 3px 10px; border-radius: 10px;
}
.pc-mall-footer {
    text-align: center; padding: 24px 0;
}

@media (max-width: 1200px) {
    .pc-mall-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
    .pc-mall-grid { grid-template-columns: repeat(2, 1fr); }
    .pc-mall-header { flex-direction: column; gap: 16px; }
    .pc-mall-search-wrap { min-width: auto; width: 100%; }
}

/* ===== 知识中心 - 文章模块 ===== */
.pc-article-type-badge {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 500;
}

/* 精选文章（Dashboard） */
.pc-featured-article-item {
    display: flex;
    gap: 14px;
    padding: 14px 20px;
    border-bottom: 1px solid #f3f4f6;
    cursor: pointer;
    transition: background 0.2s;
}
.pc-featured-article-item:last-child { border-bottom: none; }
.pc-featured-article-item:hover { background: #f9fafb; }
.pc-featured-article-thumb {
    width: 100px;
    height: 68px;
    border-radius: 8px;
    object-fit: cover;
    background: linear-gradient(135deg, #8B5CF6 0%, #a78bfa 100%);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: rgba(255,255,255,0.5);
}
.pc-featured-article-info { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; }
.pc-featured-article-title {
    font-size: 14px;
    font-weight: 600;
    color: #1f2937;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-bottom: 4px;
}
.pc-featured-article-summary {
    font-size: 12px;
    color: #9ca3af;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-bottom: 4px;
}
.pc-featured-article-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    color: #d1d5db;
}

/* 文章列表网格（PC端用grid） */
.pc-articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.pc-article-card {
    background: #fff;
    border-radius: var(--pc-radius);
    overflow: hidden;
    border: 1px solid var(--pc-border);
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}
.pc-article-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--pc-shadow-lg);
}
.pc-article-card-cover {
    width: 100%;
    height: 160px;
    object-fit: cover;
    background: linear-gradient(135deg, #8B5CF6 0%, #a78bfa 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: rgba(255,255,255,0.3);
}
.pc-article-card-body { padding: 16px; }
.pc-article-card-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--pc-text);
    line-height: 1.4;
    margin-bottom: 6px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.pc-article-card-summary {
    font-size: 13px;
    color: var(--pc-text-secondary);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 10px;
    min-height: 39px;
}
.pc-article-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: var(--pc-text-muted);
}

/* 文章详情 */
.pc-article-detail-header { margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--pc-border); }
.pc-article-detail-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--pc-text);
    line-height: 1.4;
    margin-bottom: 12px;
}
.pc-article-detail-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 13px;
    color: var(--pc-text-muted);
    flex-wrap: wrap;
}
.pc-article-detail-cover {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 20px;
    max-height: 400px;
    object-fit: cover;
}
.pc-article-detail-content {
    font-size: 15px;
    line-height: 1.8;
    color: #374151;
}
.pc-article-detail-content p { margin-bottom: 14px; }
.pc-article-detail-content img { max-width: 100%; border-radius: 8px; margin: 10px 0; }

/* 富文本排版样式 */
.article-rich-text h1 { font-size: 26px; font-weight: 700; color: var(--pc-text); margin: 24px 0 14px; line-height: 1.4; }
.article-rich-text h2 { font-size: 22px; font-weight: 700; color: var(--pc-text); margin: 22px 0 12px; line-height: 1.4; border-bottom: 1px solid var(--pc-border); padding-bottom: 8px; }
.article-rich-text h3 { font-size: 19px; font-weight: 600; color: var(--pc-text); margin: 18px 0 10px; line-height: 1.4; }
.article-rich-text h4 { font-size: 16px; font-weight: 600; color: #374151; margin: 16px 0 8px; }
.article-rich-text h5, .article-rich-text h6 { font-size: 15px; font-weight: 600; color: #4b5563; margin: 14px 0 8px; }
.article-rich-text p { margin-bottom: 14px; line-height: 1.8; }
.article-rich-text ul, .article-rich-text ol { margin: 12px 0; padding-left: 28px; }
.article-rich-text li { margin-bottom: 6px; line-height: 1.7; }
.article-rich-text blockquote { margin: 16px 0; padding: 14px 20px; border-left: 4px solid #8B5CF6; background: #f9fafb; border-radius: 0 8px 8px 0; color: #4b5563; font-style: italic; }
.article-rich-text table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 14px; }
.article-rich-text th, .article-rich-text td { border: 1px solid var(--pc-border); padding: 10px 14px; text-align: left; }
.article-rich-text th { background: #f9fafb; font-weight: 600; color: #374151; }
.article-rich-text a { color: #8B5CF6; text-decoration: underline; word-break: break-all; }
.article-rich-text a:hover { color: #7c3aed; }
.article-rich-text code { background: #f3f4f6; padding: 2px 6px; border-radius: 4px; font-size: 13px; font-family: 'Menlo', 'Monaco', 'Consolas', monospace; color: #e11d48; }
.article-rich-text pre { background: #1f2937; color: #e5e7eb; padding: 18px; border-radius: 10px; overflow-x: auto; margin: 16px 0; font-size: 13px; line-height: 1.6; }
.article-rich-text pre code { background: transparent; padding: 0; color: inherit; font-size: inherit; }
.article-rich-text img { max-width: 100%; height: auto; border-radius: 8px; margin: 12px 0; display: block; }
.article-rich-text hr { border: none; border-top: 1px solid var(--pc-border); margin: 24px 0; }
.article-rich-text strong, .article-rich-text b { font-weight: 600; color: var(--pc-text); }
.article-rich-text em, .article-rich-text i { font-style: italic; }
.article-rich-text figure { margin: 18px 0; text-align: center; }
.article-rich-text figcaption { font-size: 13px; color: var(--pc-text-muted); margin-top: 8px; }
.article-rich-text dl { margin: 12px 0; }
.article-rich-text dt { font-weight: 600; margin-top: 10px; }
.article-rich-text dd { margin-left: 20px; color: #4b5563; }
/* 富文本安全覆盖：强制不溢出 */
.article-rich-text img { max-width: 100% !important; height: auto !important; }
.article-rich-text table { display: block; overflow-x: auto; max-width: 100%; }
.article-rich-text pre { overflow-x: auto; white-space: pre-wrap; word-break: break-word; }
.article-rich-text video, .article-rich-text audio { max-width: 100%; }
.article-rich-text div, .article-rich-text span, .article-rich-text section { max-width: 100%; }
.article-rich-text { overflow-wrap: break-word; word-break: break-word; }

/* 独立行图片块（SVG/PNG等） */
.article-img-block { margin: 20px 0; text-align: center; }
.article-img-block img { max-width: 100% !important; height: auto !important; border-radius: 12px; display: block; box-shadow: 0 2px 16px rgba(0,0,0,.06); }
.article-img-block img[src$=".svg" i], .article-img-block img[src*=".svg?" i] { width: 100%; }
/* 内联图片 */
.article-img-inline { max-width: 100% !important; height: auto !important; border-radius: 8px; vertical-align: middle; }
/* 独立行链接卡片 */
.article-link-card { display: flex; align-items: center; gap: 12px; padding: 14px 20px; margin: 14px 0; background: linear-gradient(135deg,#f8f9ff,#f0f4ff); border: 1px solid #e0e7ff; border-radius: 12px; text-decoration: none !important; color: #4338ca !important; transition: all .2s; }
.article-link-card:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(67,56,202,.12); background: #eef2ff; }
.article-link-icon { font-size: 22px; flex-shrink: 0; }
.article-link-text { flex: 1; font-size: 15px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.article-link-arrow { font-size: 18px; color: #818cf8; flex-shrink: 0; }

/* 文章标签徽章 */
.article-tags-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--pc-border, #f0f0f0); }
.article-tag-badge { display: inline-flex; align-items: center; padding: 6px 16px; background: linear-gradient(135deg, #f0f4ff, #e8ecff); color: #4338ca; font-size: 14px; font-weight: 500; border-radius: 20px; border: 1px solid #ddd6fe; }

/* 文章视频播放器 */
.article-video-block { margin: 20px 0; border-radius: 12px; overflow: hidden; box-shadow: 0 2px 16px rgba(0,0,0,.08); background: #000; }
.article-video-block video { width: 100% !important; max-height: 75vh; display: block; }

/* 推荐技术服务（PC） */
.article-recommended-section { margin: 28px 0; padding: 24px; background: var(--pc-bg, #fafbff); border-radius: 14px; border: 1px solid var(--pc-border, #f0f0f0); }
.article-rec-title { font-size: 18px; font-weight: 600; color: var(--pc-text, #1f2937); margin-bottom: 18px; }
.article-rec-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.article-rec-card { background: #fff; border-radius: 12px; overflow: hidden; cursor: pointer; transition: transform .2s, box-shadow .2s; border: 1px solid var(--pc-border, #f0f0f0); }
.article-rec-card:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(0,0,0,0.08); }
.article-rec-img-wrap { width: 100%; aspect-ratio: 1/1; overflow: hidden; background: #f3f4f6; }
.article-rec-img-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.article-rec-icon-wrap { display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #f0f4ff, #e8ecff); }
.article-rec-icon { font-size: 42px; }
.article-rec-desc { font-size: 12px; color: #9ca3af; line-height: 1.4; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-top: 3px; }
.article-rec-card:hover .article-rec-img-wrap img { transform: scale(1.05); }
.article-rec-info { padding: 10px 12px 12px; }
.article-rec-name { font-size: 14px; color: var(--pc-text, #374151); line-height: 1.4; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.article-rec-price { font-size: 15px; font-weight: 600; color: #ef4444; margin-top: 4px; }

@media (max-width: 1200px) {
    .article-rec-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
    .article-rec-grid { grid-template-columns: repeat(2, 1fr); }
}

/* 教程步骤（PC） */
.pc-tutorial-step {
    background: var(--pc-bg);
    border-radius: var(--pc-radius);
    padding: 20px;
    margin-bottom: 16px;
    border: 1px solid var(--pc-border);
}
.pc-tutorial-step-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}
.pc-tutorial-step-num {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--pc-primary), var(--pc-primary-dark));
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.pc-tutorial-step-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--pc-text);
}
.pc-tutorial-step-content {
    font-size: 14px;
    color: var(--pc-text-secondary);
    line-height: 1.7;
    padding-left: 44px;
}

/* 文章底部导航（PC） */
.article-nav-bar { display: flex; justify-content: space-between; gap: 16px; margin: 28px 0; padding: 20px; background: var(--pc-bg, #fafbff); border-radius: 12px; border: 1px solid var(--pc-border, #f0f0f0); }
.article-nav-item { flex: 1; cursor: pointer; padding: 12px 16px; border-radius: 8px; transition: background .2s, transform .2s; }
.article-nav-item:hover { background: #f0f4ff; transform: translateY(-1px); }
.article-nav-label { display: block; font-size: 12px; color: #9ca3af; margin-bottom: 6px; }
.article-nav-title { display: block; font-size: 14px; color: var(--pc-text, #374151); font-weight: 500; line-height: 1.4; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.article-nav-prev { text-align: left; }
.article-nav-next { text-align: right; }
.article-nav-empty { cursor: default; }
.article-nav-empty:hover { background: transparent; transform: none; }

@media (max-width: 1200px) {
    .pc-articles-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
    .pc-articles-grid { grid-template-columns: 1fr; }
}

/* ===== 算力状态条 ===== */
.pc-computing-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  background: linear-gradient(135deg, #1e1b4b 0%, #7c3aed 100%);
  border-radius: 12px;
  margin-bottom: 16px;
  color: #fff;
}
.pc-computing-bar-left { display: flex; align-items: center; gap: 8px; }
.pc-computing-icon { font-size: 18px; }
.pc-computing-label { font-size: 14px; opacity: 0.9; }
.pc-computing-value { font-size: 20px; font-weight: 700; }
.pc-computing-bar-right { display: flex; align-items: center; gap: 12px; }
.pc-computing-cost { font-size: 13px; opacity: 0.8; }
.pc-computing-recharge {
  padding: 6px 16px;
  background: rgba(255,255,255,0.2);
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 20px;
  color: #fff !important;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none !important;
  transition: background .2s;
}
.pc-computing-recharge:hover { background: rgba(255,255,255,0.3); }

/* ===== 算力中心页面 ===== */
.pc-computing-header { margin-bottom: 16px; }
.pc-computing-balance-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 28px 32px;
  background: linear-gradient(135deg, #1e1b4b 0%, #7c3aed 50%, #a78bfa 100%);
  border-radius: 16px;
  color: #fff;
}
.pc-computing-balance-icon { font-size: 48px; }
.pc-computing-balance-label { font-size: 14px; opacity: 0.8; margin-bottom: 4px; }
.pc-computing-balance-num { font-size: 42px; font-weight: 800; line-height: 1; }
.pc-computing-balance-desc { font-size: 13px; opacity: 0.7; margin-top: 4px; }

/* ===== 套餐卡片 ===== */
.pc-pkg-card {
  padding: 20px;
  border: 2px solid #e5e7eb;
  border-radius: 14px;
  text-align: center;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.pc-pkg-card:hover {
  border-color: var(--pc-primary);
  box-shadow: 0 4px 16px rgba(139,92,246,0.15);
  transform: translateY(-2px);
}
.pc-pkg-amount { font-size: 28px; font-weight: 800; color: var(--pc-primary); margin-bottom: 6px; }
.pc-pkg-name { font-size: 15px; font-weight: 600; color: #374151; margin-bottom: 10px; }
.pc-pkg-price { font-size: 18px; font-weight: 700; color: #1f2937; margin-bottom: 4px; }
.pc-pkg-original { font-size: 13px; color: #9ca3af; text-decoration: line-through; margin-bottom: 8px; }
.pc-btn-block { width: 100%; }

/* ===== 行情空间列表 ===== */
.pc-fav-list { display: flex; flex-direction: column; gap: 8px; }
.pc-fav-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  transition: background .2s, border-color .2s;
}
.pc-fav-item:hover { background: #f0f4ff; border-color: var(--pc-primary-light); }
.pc-fav-pinned { background: #fef3c7; border-color: #fcd34d; }
.pc-fav-item-left { display: flex; align-items: center; gap: 10px; }
.pc-fav-pin-icon { font-size: 16px; }
.pc-fav-item-name { font-size: 15px; font-weight: 600; color: #1f2937; }
.pc-fav-item-code { font-size: 13px; color: #9ca3af; }
.pc-fav-item-actions { display: flex; gap: 6px; }

/* ===== 分析历史列表 ===== */
.pc-stat-card {
  padding: 18px;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  text-align: center;
}
.pc-stat-value { font-size: 24px; font-weight: 800; color: var(--pc-primary); }
.pc-stat-label { font-size: 13px; color: #6b7280; margin-top: 4px; }
.pc-hist-list { display: flex; flex-direction: column; gap: 10px; }
.pc-hist-item {
  padding: 16px 18px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  transition: background .2s;
}
.pc-hist-item:hover { background: #f0f4ff; }
.pc-hist-item-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.pc-hist-item-name { font-size: 15px; font-weight: 600; color: #1f2937; margin-right: 8px; }
.pc-hist-item-code { font-size: 13px; color: #9ca3af; }
.pc-hist-item-meta { font-size: 12px; color: #9ca3af; }
.pc-hist-item-question { font-size: 13px; color: #6b7280; margin-bottom: 6px; padding: 6px 10px; background: #fff; border-radius: 6px; }
.pc-hist-item-summary { font-size: 13px; color: #374151; line-height: 1.6; margin-bottom: 8px; max-height: 60px; overflow: hidden; }
.pc-hist-item-actions { display: flex; justify-content: flex-end; }

/* ===== 表格样式 ===== */
.pc-table { border-collapse: collapse; width: 100%; font-size: 14px; }
.pc-table th { padding: 10px 12px; text-align: left; font-weight: 600; color: #6b7280; border-bottom: 2px solid #e5e7eb; font-size: 13px; }
.pc-table td { padding: 10px 12px; border-bottom: 1px solid #f3f4f6; }
.pc-table tr:hover td { background: #f9fafb; }

/* ===== 商品详情富文本 ===== */
.mall-detail-rich img { max-width: 100%; height: auto; border-radius: 8px; margin: 8px 0; }
.mall-detail-rich table { border-collapse: collapse; width: 100%; margin: 8px 0; }
.mall-detail-rich table td, .mall-detail-rich table th { border: 1px solid #e5e7eb; padding: 8px; font-size: 13px; }
.mall-detail-rich a { color: #8B5CF6; text-decoration: underline; }
.mall-detail-rich p { margin: 6px 0; }
.mall-detail-rich h1, .mall-detail-rich h2, .mall-detail-rich h3 { margin: 12px 0 6px; font-weight: 700; }
.pc-mall-sku-item:hover { border-color: #c4b5fd !important; }

/* ===== 商家合作申请 (PC) ===== */
.pc-form-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.pc-form-grid .form-group { margin-bottom: 0; }
