/* ==============================================
   光羽无限 · 电商工具网站 - 公共样式
   ============================================== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg: #0a0a0f;
  --bg-soft: #12121c;
  --bg-card: #15151f;
  --border: rgba(255,255,255,0.06);
  --border-strong: rgba(255,255,255,0.1);
  --text: #fff;
  --text-soft: rgba(255,255,255,0.7);
  --text-mute: rgba(255,255,255,0.4);
  --text-faint: rgba(255,255,255,0.2);
  --primary: #8b5cf6;
  --primary-2: #7c3aed;
  --primary-light: #c4b5fd;
  --primary-glow: rgba(139,92,246,0.3);
}

html, body { height: 100%; }
body {
  font-family: 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', -apple-system, sans-serif;
  background: radial-gradient(circle at 50% 0%, rgba(139,92,246,0.12), transparent 28%), var(--bg);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.12); border-radius: 3px; }
a { color: inherit; text-decoration: none; }

/* ===== 顶部导航栏 ===== */
.topbar {
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  background: rgba(10,10,15,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.logo { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.logo-icon {
  width: 34px; height: 34px; border-radius: 9px;
  background: linear-gradient(135deg, #8b5cf6, #6366f1);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 14px rgba(124,58,237,0.4);
  position: relative; overflow: hidden;
}
.logo-icon::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(255,255,255,0.4), transparent 50%);
}
.logo-icon svg { width: 18px; height: 18px; color: #fff; position: relative; z-index: 1; }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-name { font-size: 17px; font-weight: 700; letter-spacing: 1px; }
.logo-sub { font-size: 10px; color: var(--text-mute); letter-spacing: 2px; }

.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-link {
  padding: 8px 16px; font-size: 13px; color: var(--text-soft);
  border-radius: 8px; cursor: pointer; transition: all 0.2s;
}
.nav-link:hover { background: rgba(255,255,255,0.05); color: #fff; }
.nav-link.active { background: rgba(139,92,246,0.15); color: var(--primary-light); }

.user-area { display: flex; align-items: center; gap: 12px; }
.user-chip {
  display: flex; align-items: center; gap: 8px;
  padding: 6px 12px 6px 6px; background: rgba(255,255,255,0.04);
  border: 1px solid var(--border); border-radius: 20px; cursor: pointer;
  transition: all 0.2s;
}
.user-chip:hover { background: rgba(139,92,246,0.1); border-color: rgba(139,92,246,0.3); }
.user-avatar {
  width: 28px; height: 28px; border-radius: 50%;
  background: linear-gradient(135deg, #8b5cf6, #6366f1);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; color: #fff;
}
.user-name { font-size: 13px; color: var(--text-soft); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 9px 18px; border: none; border-radius: 8px; cursor: pointer;
  font-size: 13px; font-weight: 600; transition: all 0.2s; white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, #8b5cf6, #7c3aed); color: #fff;
  box-shadow: 0 4px 14px rgba(124,58,237,0.3);
}
.btn-primary:hover { filter: brightness(1.1); transform: translateY(-1px); }
.btn-ghost {
  background: rgba(255,255,255,0.05); color: var(--text-soft);
  border: 1px solid var(--border);
}
.btn-ghost:hover { background: rgba(255,255,255,0.1); color: #fff; }
.btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

/* ===== 主内容区 ===== */
.main { flex: 1; width: 100%; max-width: 1200px; margin: 0 auto; padding: 48px 24px; }

/* ===== 首页 Hero ===== */
.hero { text-align: center; margin-bottom: 56px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px; background: rgba(139,92,246,0.1);
  border: 1px solid rgba(139,92,246,0.25); border-radius: 20px;
  font-size: 12px; color: var(--primary-light); margin-bottom: 20px;
}
.hero-title {
  font-size: 42px; font-weight: 800; letter-spacing: 1px;
  background: linear-gradient(135deg, #fff 30%, #c4b5fd);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; margin-bottom: 14px;
}
.hero-desc { font-size: 15px; color: var(--text-mute); max-width: 560px; margin: 0 auto; line-height: 1.7; }

/* ===== 工具卡片 ===== */
.section-title {
  font-size: 20px; font-weight: 700; margin-bottom: 24px;
  display: flex; align-items: center; gap: 10px;
}
.section-title::before {
  content: ''; width: 4px; height: 18px; border-radius: 2px;
  background: linear-gradient(135deg, #8b5cf6, #6366f1);
}
.tools-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 20px;
}
.tool-card {
  position: relative; background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 16px; padding: 28px; cursor: pointer; overflow: hidden;
  transition: all 0.3s;
}
.tool-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, #8b5cf6, #6366f1); opacity: 0; transition: opacity 0.3s;
}
.tool-card:hover {
  border-color: rgba(139,92,246,0.4); transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4), 0 0 0 1px rgba(139,92,246,0.15);
}
.tool-card:hover::before { opacity: 1; }
.tool-icon {
  width: 52px; height: 52px; border-radius: 12px;
  background: linear-gradient(135deg, rgba(139,92,246,0.2), rgba(99,102,241,0.15));
  border: 1px solid rgba(139,92,246,0.3);
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.tool-icon svg { width: 24px; height: 24px; color: var(--primary-light); }
.tool-name { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.tool-desc { font-size: 13px; color: var(--text-mute); line-height: 1.7; margin-bottom: 18px; }
.tool-tag {
  display: inline-block; padding: 3px 10px; font-size: 11px;
  background: rgba(139,92,246,0.12); border: 1px solid rgba(139,92,246,0.25);
  border-radius: 12px; color: var(--primary-light);
}
.tool-arrow {
  position: absolute; bottom: 28px; right: 28px;
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(255,255,255,0.05); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s; opacity: 0;
}
.tool-card:hover .tool-arrow {
  background: linear-gradient(135deg, #8b5cf6, #7c3aed); border-color: transparent; opacity: 1;
  transform: translateX(0);
}
.tool-arrow svg { width: 14px; height: 14px; color: var(--text-mute); transition: color 0.3s; }
.tool-card:hover .tool-arrow svg { color: #fff; }

/* ===== 页脚 ===== */
.footer {
  background: var(--bg-soft); border-top: 1px solid var(--border);
  padding: 32px 24px; margin-top: auto;
}
.footer-inner { max-width: 1200px; margin: 0 auto; text-align: center; }
.footer-icp { font-size: 12px; color: var(--text-mute); line-height: 2; margin-bottom: 8px; }
.footer-icp span { margin: 0 4px; }
.footer-company { font-size: 13px; color: var(--text-soft); margin-bottom: 4px; }
.footer-address { font-size: 12px; color: var(--text-mute); margin-bottom: 16px; }
.footer-links {
  display: flex; justify-content: center; gap: 0; font-size: 12px; color: var(--text-mute);
}
.footer-links a {
  padding: 0 14px; cursor: pointer; transition: color 0.2s; position: relative;
}
.footer-links a:not(:last-child)::after {
  content: '|'; position: absolute; right: -2px; color: var(--text-faint);
}
.footer-links a:hover { color: var(--primary-light); }

/* ===== 登录/注册 ===== */
.auth-wrap {
  flex: 1; display: flex; align-items: center; justify-content: center; padding: 40px 24px;
}
.auth-box {
  width: 400px; background: var(--bg-soft); border: 1px solid var(--border-strong);
  border-radius: 18px; padding: 40px 36px; box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.auth-logo { text-align: center; margin-bottom: 28px; }
.auth-logo .logo-icon { width: 48px; height: 48px; margin: 0 auto 14px; }
.auth-logo .logo-icon svg { width: 24px; height: 24px; }
.auth-title { font-size: 22px; font-weight: 700; text-align: center; margin-bottom: 6px; }
.auth-sub { font-size: 13px; color: var(--text-mute); text-align: center; margin-bottom: 30px; }
.form-group { margin-bottom: 18px; }
.form-label { display: block; font-size: 12px; color: var(--text-soft); margin-bottom: 8px; }
.form-input {
  width: 100%; padding: 12px 14px; background: var(--bg);
  border: 1px solid var(--border-strong); border-radius: 10px;
  color: #fff; font-size: 14px; outline: none; transition: all 0.2s;
}
.form-input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(139,92,246,0.1); }
.form-input::placeholder { color: var(--text-faint); }
.form-hint { font-size: 11px; color: var(--text-mute); margin-top: 6px; }
.auth-btn {
  width: 100%; padding: 13px; background: linear-gradient(135deg, #8b5cf6, #7c3aed);
  border: none; border-radius: 10px; color: #fff; font-size: 14px; font-weight: 600;
  cursor: pointer; margin-top: 8px; transition: all 0.2s;
}
.auth-btn:hover { filter: brightness(1.1); transform: translateY(-1px); }
.auth-btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.auth-err { color: #f87171; font-size: 12px; margin-top: 14px; min-height: 16px; text-align: center; }
.auth-switch { text-align: center; margin-top: 20px; font-size: 13px; color: var(--text-mute); }
.auth-switch a { color: var(--primary-light); cursor: pointer; }
.auth-switch a:hover { text-decoration: underline; }

/* ===== 工具页通用 ===== */
.tool-page { display: flex; flex-direction: column; height: 100vh; overflow: hidden; }
.tool-topbar {
  height: 56px; display: flex; align-items: center; justify-content: space-between;
  padding: 0 20px; background: rgba(10,10,15,0.9); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border); flex-shrink: 0; z-index: 50;
}
.tool-topbar .logo-icon { width: 30px; height: 30px; }
.tool-topbar .logo-name { font-size: 15px; }
.tool-back {
  display: inline-flex; align-items: center; gap: 5px; padding: 7px 14px;
  background: rgba(255,255,255,0.05); border: 1px solid var(--border); border-radius: 8px;
  color: var(--text-soft); font-size: 13px; cursor: pointer; transition: all 0.2s;
}
.tool-back:hover { background: rgba(139,92,246,0.12); color: #fff; }
.tool-canvas-area { flex: 1; position: relative; overflow: hidden; }
.canvas-wrapper {
  width: 100%; height: 100%; position: relative;
  background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 20px 20px; background-color: #0d0d14;
}
.canvas-container { width: 100%; height: 100%; position: relative; }
.canvas-tip {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  color: var(--text-faint); font-size: 14px; text-align: center; z-index: 1;
  pointer-events: none; letter-spacing: 1px;
}
.canvas-image-actions-layer { position: absolute; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: 10; }
.canvas-image-action-group {
  position: absolute; display: flex; align-items: center; gap: 4px;
  pointer-events: none; opacity: 0; transform-origin: top right; transition: opacity 0.2s ease;
}
.canvas-image-action-group.visible { opacity: 1; pointer-events: auto; }
.canvas-image-action-btn {
  width: 32px; height: 32px; border-radius: 8px;
  background: rgba(30,30,45,0.95); border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.8); cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: all 0.15s ease; backdrop-filter: blur(8px);
}
.canvas-image-action-btn:hover { background: rgba(139,92,246,0.25); border-color: rgba(139,92,246,0.5); color: #fff; }
.canvas-image-action-btn i { width: 14px; height: 14px; }
.canvas-image-more-menu {
  position: fixed; min-width: 120px; background: rgba(30,30,45,0.98);
  border: 1px solid rgba(255,255,255,0.12); border-radius: 8px; padding: 6px;
  z-index: 600; display: none; box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  backdrop-filter: blur(10px); pointer-events: auto;
}
.canvas-image-more-menu.active { display: block; }
.canvas-image-menu-item {
  padding: 8px 12px; color: rgba(255,255,255,0.75); font-size: 13px; cursor: pointer;
  border-radius: 6px; transition: all 0.15s ease; display: flex; align-items: center; gap: 8px;
}
.canvas-image-menu-item:hover { background: rgba(139,92,246,0.2); color: #fff; }
.canvas-image-menu-item.danger:hover { background: rgba(239,68,68,0.2); color: #fca5a5; }
.canvas-image-menu-item i { width: 14px; height: 14px; }

/* 画布右上角控制 */
.canvas-controls {
  position: absolute; top: 20px; right: 20px; background: rgba(13,13,20,0.9);
  backdrop-filter: blur(8px); border-radius: 8px; display: flex; align-items: center;
  gap: 8px; padding: 8px 12px; border: 1px solid rgba(255,255,255,0.08);
  z-index: 100; box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
.canvas-btn {
  width: 28px; height: 28px; border-radius: 6px; background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.06); color: #fff; font-size: 14px; cursor: pointer;
  display: flex; align-items: center; justify-content: center; transition: all 0.2s ease;
}
.canvas-btn:hover { background: rgba(139,92,246,0.2); border-color: rgba(139,92,246,0.4); transform: scale(1.05); }
.canvas-btn i { width: 14px; height: 14px; }
.canvas-divider { width: 1px; height: 18px; background: rgba(255,255,255,0.08); }
.canvas-percent { font-size: 12px; color: var(--text-soft); min-width: 42px; text-align: center; font-variant-numeric: tabular-nums; }

/* 工具操作条（悬浮于画布上方） */
.tool-control-bar {
  position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 12px 18px;
  background: rgba(18,18,28,0.92); backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.08); border-radius: 14px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4); z-index: 40;
}

/* ===== 用户悬浮菜单 ===== */
.user-chip-wrap { position: relative; }
.user-chip { position: relative; z-index: 2; }
.user-menu {
  position: absolute !important; top: calc(100% + 8px) !important; right: 0 !important; min-width: 160px !important;
  background: rgba(20,20,30,0.98) !important; border: 1px solid rgba(255,255,255,0.1) !important;
  border-radius: 10px !important; padding: 6px !important; box-shadow: 0 12px 32px rgba(0,0,0,0.5) !important;
  backdrop-filter: blur(10px) !important;
  display: none !important; z-index: 20 !important;
}
.user-chip-wrap:hover .user-menu { display: block !important; }
.user-menu-item {
  display: flex; align-items: center; gap: 8px; padding: 10px 12px;
  font-size: 13px; color: rgba(255,255,255,0.75); cursor: pointer; border-radius: 7px;
  transition: all 0.15s;
}
.user-menu-item:hover { background: rgba(139,92,246,0.15); color: #fff; }
.user-menu-item.danger:hover { background: rgba(239,68,68,0.15); color: #fca5a5; }
.user-menu-item i { width: 15px; height: 15px; }
.user-menu-divider { height: 1px; background: rgba(255,255,255,0.08); margin: 4px 2px; }

/* ===== 密码强度 ===== */
.password-strength { height: 4px; border-radius: 2px; background: rgba(255,255,255,0.08); margin-top: 8px; overflow: hidden; }
.password-strength-bar { height: 100%; border-radius: 2px; transition: all 0.3s; width: 0; }
.password-strength-bar.weak { background: #f87171; width: 33%; }
.password-strength-bar.medium { background: #fbbf24; width: 66%; }
.password-strength-bar.strong { background: #34d399; width: 100%; }

/* ===== 个人中心 ===== */
.profile-wrap { flex: 1 !important; padding: 40px 24px !important; max-width: 800px !important; margin: 0 auto !important; width: 100% !important; }
.profile-header {
  display: flex !important; align-items: center !important; gap: 20px !important; padding-bottom: 24px !important;
  border-bottom: 1px solid var(--border) !important; margin-bottom: 28px !important;
}
.profile-avatar {
  width: 72px !important; height: 72px !important; border-radius: 50% !important;
  background: linear-gradient(135deg, #8b5cf6, #6366f1) !important;
  display: flex !important; align-items: center !important; justify-content: center !important;
  font-size: 28px !important; font-weight: 700 !important; color: #fff !important;
  box-shadow: 0 6px 20px rgba(124,58,237,0.4) !important;
}
.profile-user-info h2 { font-size: 22px !important; font-weight: 700 !important; margin-bottom: 4px !important; }
.profile-user-info .profile-points {
  display: inline-flex !important; align-items: center !important; gap: 6px !important; padding: 4px 12px !important;
  background: rgba(251,191,36,0.12) !important; border: 1px solid rgba(251,191,36,0.3) !important;
  border-radius: 12px !important; font-size: 13px !important; color: #fbbf24 !important; font-weight: 600 !important;
}
.profile-user-info .profile-points i { width: 14px !important; height: 14px !important; }

.profile-section {
  background: var(--bg-card) !important; border: 1px solid var(--border) !important; border-radius: 14px !important;
  padding: 24px !important; margin-bottom: 20px !important;
}
.profile-section-title {
  font-size: 15px !important; font-weight: 600 !important; margin-bottom: 18px !important;
  display: flex !important; align-items: center !important; gap: 8px !important;
}
.profile-section-title i { width: 16px !important; height: 16px !important; color: var(--primary-light) !important; }
.profile-grid { display: grid !important; grid-template-columns: 1fr 1fr !important; gap: 16px !important; }
.profile-grid .full { grid-column: 1 / -1 !important; }
.profile-field { display: flex !important; flex-direction: column !important; gap: 6px !important; margin-bottom: 0 !important; }
.profile-field label { font-size: 12px !important; color: rgba(255,255,255,0.4) !important; margin: 0 !important; }
.profile-field input {
  padding: 10px 12px !important; background: var(--bg) !important; border: 1px solid var(--border-strong) !important;
  border-radius: 8px !important; color: #fff !important; font-size: 13px !important; outline: none !important; transition: all 0.2s !important;
  width: 100% !important; font-family: inherit !important;
}
.profile-field input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(139,92,246,0.1); }
.profile-field input:disabled { opacity: 0.5; cursor: not-allowed; }
.profile-field-value {
  padding: 10px 12px; background: rgba(255,255,255,0.03); border: 1px solid var(--border);
  border-radius: 8px; color: var(--text-soft); font-size: 13px;
}
.profile-save-btn {
  margin-top: 16px; padding: 9px 20px; background: linear-gradient(135deg, #8b5cf6, #7c3aed);
  border: none; border-radius: 8px; color: #fff; font-size: 13px; font-weight: 600;
  cursor: pointer; transition: all 0.2s;
}
.profile-save-btn:hover { filter: brightness(1.1); transform: translateY(-1px); }
.profile-save-btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.profile-logout {
  display: flex; align-items: center; gap: 8px; padding: 12px 24px;
  background: rgba(239,68,68,0.08); border: 1px solid rgba(239,68,68,0.25);
  border-radius: 10px; color: #fca5a5; font-size: 14px; font-weight: 500;
  cursor: pointer; transition: all 0.2s; width: 100%; justify-content: center;
}
.profile-logout:hover { background: rgba(239,68,68,0.15); border-color: rgba(239,68,68,0.4); }
.profile-logout i { width: 16px; height: 16px; }
.profile-section-msg { font-size: 12px; margin-top: 8px; min-height: 16px; }
.profile-section-msg.success { color: #34d399; }
.profile-section-msg.error { color: #f87171; }

@media (max-width: 640px) {
  .topbar { padding: 0 16px; }
  .nav-links { display: none; }
  .hero-title { font-size: 30px; }
  .main { padding: 32px 16px; }
  .tools-grid { grid-template-columns: 1fr; }
  .auth-box { width: 100%; padding: 32px 24px; }
  .footer-links { flex-wrap: wrap; }
  .profile-grid { grid-template-columns: 1fr; }
}

/* ============ 政策/文章页面 ============ */
.article-wrap {
  flex: 1 !important; max-width: 820px !important; margin: 0 auto !important; padding: 48px 24px 80px !important; width: 100% !important;
}
.article-header { margin-bottom: 32px !important; text-align: center !important; }
.article-title { font-size: 28px !important; font-weight: 700 !important; margin-bottom: 12px !important; color: var(--text) !important; }
.article-meta { font-size: 13px !important; color: rgba(255,255,255,0.35) !important; line-height: 1.8 !important; }
.article-meta strong { color: rgba(255,255,255,0.5) !important; }
.article-body {
  font-size: 14px !important; line-height: 1.9 !important; color: rgba(255,255,255,0.45) !important;
  text-align: left !important;
}
.article-body h2 {
  font-size: 18px !important; font-weight: 700 !important; color: rgba(255,255,255,0.85) !important;
  margin: 32px 0 16px !important; padding-bottom: 8px !important;
  border-bottom: 1px solid var(--border) !important;
}
.article-body h3 {
  font-size: 15px !important; font-weight: 600 !important; color: rgba(196,181,253,0.75) !important;
  margin: 20px 0 10px !important;
}
.article-body p { margin: 10px 0 !important; }
.article-body ul, .article-body ol { margin: 10px 0 !important; padding-left: 24px !important; }
.article-body li { margin: 6px 0 !important; }
.article-body strong { color: rgba(255,255,255,0.65) !important; font-weight: 600 !important; }
.article-body a { color: var(--primary-light); text-decoration: underline; }
.article-toc {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 12px; padding: 20px 24px; margin: 20px 0 30px;
}
.article-toc-title { font-size: 14px; font-weight: 600; color: rgba(255,255,255,0.7); margin-bottom: 10px; }
.article-toc ol { padding-left: 20px; margin: 0; }
.article-toc li { margin: 6px 0; }
.article-toc a { color: var(--primary-light); cursor: pointer; text-decoration: none; font-size: 13px; }
.article-toc a:hover { text-decoration: underline; }
.article-divider { height: 1px; background: var(--border); margin: 24px 0; }

/* 协议勾选框 */
.agreement-check {
  display: flex !important; align-items: flex-start !important; gap: 6px !important; margin: 8px 0 4px !important;
  font-size: 11px !important; color: rgba(255,255,255,0.35) !important; line-height: 1.4 !important;
}
.agreement-check input[type="checkbox"] {
  width: 13px !important; height: 13px !important; accent-color: var(--primary) !important;
  cursor: pointer !important; margin-top: 1px !important; flex-shrink: 0 !important;
}
.agreement-check label { cursor: pointer; user-select: none; }
.agreement-check a {
  color: rgba(196,181,253,0.6); cursor: pointer; text-decoration: none;
}
.agreement-check a:hover { color: var(--primary-light); text-decoration: underline; }

/* 营业执照弹窗 */
.modal-mask {
  position: fixed; inset: 0; background: rgba(0,0,0,0.85);
  display: none; align-items: center; justify-content: center;
  z-index: 9999; padding: 20px;
}
.modal-mask.show { display: flex !important; }
.modal-box {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 12px; max-width: 720px; width: 100%;
  max-height: 90vh; overflow: auto; padding: 24px;
  position: relative;
}
.modal-close {
  position: absolute; top: 12px; right: 16px;
  background: none; border: none; color: var(--text-mute);
  font-size: 24px; cursor: pointer; line-height: 1; z-index: 10;
}
.modal-close:hover { color: var(--text); }
.modal-title { font-size: 16px; font-weight: 600; margin-bottom: 16px; text-align: center; }
.modal-img { width: 100%; border-radius: 8px; display: block; }
