/* csdmxx Adobe 工具 v0.1 - 桌面端 UI v6.6
 * 黑白 Linear 风 + 去搜索去顶栏版本 + 卡加简介 + ⌄ 角标显眼
 * 880x650 严格固定
 */

* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }

:root {
  --black: #000000;
  --gray-1: #1a1a1a;
  --gray-2: #333333;
  --gray-3: #666666;
  --gray-4: #999999;
  --gray-5: #cccccc;
  --gray-6: #e5e5e5;
  --gray-7: #f0f0f0;
  --gray-8: #f5f5f5;
  --gray-9: #fafafa;
  --white: #ffffff;

  --bg: var(--white);
  --bg-sidebar: var(--gray-8);
  --bg-card: var(--white);
  --text: var(--black);
  --text-secondary: var(--gray-3);
  --text-tertiary: var(--gray-4);
  --border: var(--gray-6);
  --border-light: var(--gray-7);
  --fw-bg: var(--gray-7);
  --fw-text: var(--gray-4);

  --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
  --radius: 6px;
  --radius-sm: 4px;
  --radius-xs: 3px;
}

[data-theme="dark"] {
  --bg: var(--black);
  --bg-sidebar: var(--gray-1);
  --bg-card: var(--gray-1);
  --text: var(--white);
  --text-secondary: var(--gray-4);
  --text-tertiary: var(--gray-5);
  --border: var(--gray-2);
  --border-light: var(--gray-1);
  --fw-bg: var(--gray-2);
}

html, body {
  font-family: "Adobe Clean", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", "Source Han Sans CN", sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 13px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

body {
  width: 880px;
  height: 650px;
  display: flex;
  flex-direction: column;
  margin: 0 auto;
}

/* 顶栏 (v6.8: 砍, 4 个图标移到 .content-header 右边) */

/* 框架按钮 */
.btn-framework { position: relative; opacity: 0.5; }
.btn-framework:hover { opacity: 0.85; }
.fw-tag {
  position: absolute;
  top: 1px;
  right: 1px;
  background: var(--fw-bg);
  color: var(--fw-text);
  font-size: 7px;
  font-weight: 600;
  padding: 1px 3px;
  border-radius: 2px;
  line-height: 1;
  pointer-events: none;
  letter-spacing: 0.3px;
}
.fw-tag-inline {
  display: inline-block;
  background: var(--fw-bg);
  color: var(--fw-text);
  font-size: 9px;
  font-weight: 600;
  padding: 1px 5px;
  border-radius: 8px;
  margin-left: 4px;
  vertical-align: middle;
  letter-spacing: 0.3px;
}

/* ============== 主布局 ============== */
.layout {
  display: grid;
  grid-template-columns: 52px 1fr;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

/* ============== 侧栏 ============== */
.sidebar {
  background: var(--bg-sidebar);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0;
  gap: 2px;
}
.sidebar-item {
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  border-radius: var(--radius-sm);
  color: var(--text-tertiary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
}
.sidebar-item:hover { background: var(--bg-card); color: var(--text); }
.sidebar-item.active {
  background: var(--black);
  color: var(--white);
}
[data-theme="dark"] .sidebar-item.active { background: var(--white); color: var(--black); }
.sidebar-spacer { flex: 1; }

/* ============== 主区 (v6.18: 删 padding-bottom, 浮窗绝对定位) ============== */
.content {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 0;
  background: var(--bg);
  position: relative;  /* v6.18: 浮窗父容器, 必须 relative */
}
.content-header {
  padding: 10px 16px 6px 20px;
  flex-shrink: 0;
  display: flex;  /* v6.8: 应用 4 图标同行 */
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
}
.content-header-left { flex: 1; min-width: 0; }
.content-header-right {
  display: flex;
  gap: 2px;
  align-items: center;
  flex-shrink: 0;
  margin-bottom: 4px;
}
.content-header h1 {
  font-size: 15px;  /* v6.8: 从 17 缩 15 */
  font-weight: 600;
  letter-spacing: -0.3px;
  margin-bottom: 1px;
  line-height: 1.2;
  color: var(--text);
}
.content-sub {
  font-size: 12px;
  color: var(--text-secondary);
}
.content-sub b { color: var(--text); font-weight: 600; }
#pricing-summary {
  color: var(--black);
  font-weight: 700;
}
[data-theme="dark"] #pricing-summary { color: var(--white); }

/* 应用网格 (v6.12: 应用分类, 4 个分组 + 加购 + 资源库) */
.apps-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 8px 16px;
  flex: 1;
  overflow-y: auto;
  align-content: start;
  min-height: 0;
}

/* 分类分组 (v6.12) */
.app-group { display: flex; flex-direction: column; gap: 6px; }
.group-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 4px 2px 4px;
}
.group-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.1px;
}
.group-count {
  font-size: 10px;
  font-weight: 600;
  color: var(--text-tertiary);
  background: var(--gray-8);
  padding: 1px 7px;
  border-radius: 8px;
  font-family: "SF Mono", Consolas, monospace;
}
[data-theme="dark"] .group-count { background: var(--gray-2); }
.group-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);  /* v6.12: 3 列, 卡缩 30% */
  gap: 8px;
}
.group-special {
  display: grid;
  grid-template-columns: repeat(3, 1fr);  /* v6.12: 加购 + 资源库, 同 3 列 */
  gap: 8px;
  margin-top: 4px;
}
.app-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;  /* v6.13: 从 10 缩 8 */
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.15s;
  position: relative;
  min-height: 64px;  /* v6.13: 从 76 缩 64 (-16%) */
}
.app-card:hover {
  border-color: var(--black);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}
[data-theme="dark"] .app-card:hover { border-color: var(--white); }
.app-card.checked {
  border-color: var(--black);
  background: var(--gray-8);
  border-width: 1.5px;
}
[data-theme="dark"] .app-card.checked {
  border-color: var(--white);
  background: var(--gray-1);
}
.app-card input[type="checkbox"] {
  position: absolute;
  top: 8px;
  right: 8px;  /* v6.24: 勾选小方框改到卡片右边 */
  width: 14px;
  height: 14px;
  accent-color: var(--black);
  cursor: pointer;
  z-index: 2;
}

/* v6.13: 真实 Adobe 图标 (40px, 卡缩 16%) */
.app-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  display: block;
  object-fit: contain;
}
.app-info { flex: 1; min-width: 0; }
.app-name-line {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 2px;
}
.app-name {
  font-weight: 600;
  font-size: 13px;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* v6.6: ⌄ 角标改显眼 (黑边白底, 常显, 显示版本号) */
.app-version-btn {
  display: inline-flex;
  align-items: center;
  gap: 1px;
  background: var(--white);
  border: 1px solid var(--black);
  color: var(--black);
  font-size: 9px;
  font-weight: 700;
  padding: 1px 4px;
  border-radius: 8px;
  cursor: pointer;
  font-family: inherit;
  flex-shrink: 0;
  line-height: 1.2;
  transition: all 0.15s;
}
[data-theme="dark"] .app-version-btn { background: var(--black); color: var(--white); border-color: var(--white); }
.app-version-btn:hover {
  background: var(--black);
  color: var(--white);
}
[data-theme="dark"] .app-version-btn:hover { background: var(--white); color: var(--black); }

/* v6.6: 简介 (回 v6.1 风格) */
.app-desc {
  font-size: 11px;
  color: var(--text-secondary);
  margin-bottom: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.app-size {
  font-size: 10px;
  color: var(--text-tertiary);
  font-family: "SF Mono", Consolas, monospace;
  font-weight: 500;
}

}

/* ============== 右下角浮窗 (v6.21: 3 按钮浮窗, 相对 .content) ============== */
.action-float {
  /* position/bottom/right 改 inline style (避免 CSS cache) */
  height: 36px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0 6px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-shrink: 0;
  gap: 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  z-index: 40;
}
.action-info { display: flex; flex-direction: column; gap: 0; min-width: 0; justify-content: center; }
.action-info-line1 { font-size: 12px; font-weight: 600; line-height: 1.3; }
.action-info-line1 b { color: var(--text); font-weight: 700; }
.action-info-line2 { font-size: 10px; color: var(--text-secondary); line-height: 1.3; }
.action-info-line2 b { color: var(--black); font-weight: 700; }
[data-theme="dark"] .action-info-line2 b { color: var(--white); }
.action-buttons { display: flex; gap: 8px; flex-shrink: 0; }

.action-btn-secondary {
  padding: 7px 14px;
  background: var(--bg-card);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.15s;
}
.action-btn-secondary:hover {
  background: var(--gray-8);
  border-color: var(--black);
}
[data-theme="dark"] .action-btn-secondary:hover { border-color: var(--white); }

.action-btn-primary {
  padding: 7px 18px;
  background: var(--black);
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.15s;
}
.action-btn-primary:hover:not(:disabled) {
  opacity: 0.85;
  transform: translateY(-1px);
}
.action-btn-primary:active:not(:disabled) { transform: translateY(0); }
.action-btn-primary:disabled {
  background: var(--gray-5);
  color: var(--white);
  cursor: not-allowed;
  opacity: 0.6;
}
[data-theme="dark"] .action-btn-primary { background: var(--white); color: var(--black); }

/* ============== Toast (v6.6: 移主区顶部) ============== */
.toast {
  position: absolute;
  top: 44px;  /* v6.8: content-header ~36px + 8 边距 */
  left: 50%;
  transform: translateX(-50%);
  background: var(--black);
  color: var(--white);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 11px;
  font-weight: 500;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  animation: toastSlide 0.3s ease-out;
}
[data-theme="dark"] .toast { background: var(--white); color: var(--black); }
.toast svg { flex-shrink: 0; }
.toast b { font-weight: 700; }
@keyframes toastSlide {
  from { opacity: 0; transform: translateX(-50%) translateY(-10px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* ============== 状态栏 ============== */
.status-bar {
  height: 22px;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  padding: 0 16px;
  gap: 14px;
  flex-shrink: 0;
  font-size: 10px;
  color: var(--text-secondary);
}
.status-item { display: flex; align-items: center; gap: 3px; font-weight: 500; }
.status-ok { color: var(--text); }
.status-hint { margin-left: auto; color: var(--text-tertiary); }

/* ============== 安装进度 ============== */
.install-progress {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 22px;  /* v6.8: 顶栏没了, top 从 52 改 0 */
  background: var(--bg);
  padding: 18px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 50;
}
.install-header { display: flex; justify-content: space-between; align-items: center; }
.install-header h2 { font-size: 17px; font-weight: 600; letter-spacing: -0.3px; color: var(--text); }
.install-header h2 b { color: var(--text); font-weight: 700; }
.install-overall,
.install-current,
.install-tip {
  background: var(--bg-card);
  padding: 12px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.install-overall { display: flex; align-items: center; gap: 12px; }
.progress-bar { height: 4px; background: var(--gray-7); border-radius: 2px; overflow: hidden; }
.progress-bar.large { height: 6px; }
.progress-fill {
  height: 100%;
  background: var(--black);
  border-radius: 2px;
  transition: width 0.3s;
}
[data-theme="dark"] .progress-fill { background: var(--white); }
.install-overall .progress-bar { flex: 1; }
.install-overall-text {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  font-family: "SF Mono", Consolas, monospace;
  min-width: 32px;
  text-align: right;
}
.install-current { display: flex; flex-direction: column; gap: 3px; }
.install-current-name { font-size: 13px; font-weight: 600; }
.install-current-step { font-size: 11px; color: var(--text-secondary); }
.install-tip {
  font-size: 11px;
  color: var(--text-secondary);
  text-align: center;
  border-style: dashed;
}

/* ============== 弹窗 ============== */
.modal-mask {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  animation: fadeIn 0.2s;
  backdrop-filter: blur(2px);
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.modal {
  background: var(--bg-card);
  border-radius: var(--radius);
  width: 360px;
  max-width: calc(100% - 32px);
  max-height: calc(100% - 32px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  animation: scaleIn 0.2s ease-out;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--border);
  box-sizing: border-box;
  margin: auto;
  position: relative;
}
.modal-wide { width: 460px; }
@keyframes scaleIn { from { transform: scale(0.95); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.modal-header {
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 600;
  background: var(--bg-card);
  color: var(--text);
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-light);
  flex-shrink: 0;
}
.current-os { color: var(--text-secondary); font-weight: 500; font-size: 11px; }
.modal-close-x {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 14px;
  color: var(--text-tertiary);
  padding: 0 4px;
  line-height: 1;
}
.modal-close-x:hover { color: var(--text); }
.modal-body {
  padding: 16px;
  font-size: 12px;
  line-height: 1.6;
  overflow-y: auto;
  flex: 1;
  min-height: 0;
}
.modal-footer {
  padding: 10px 16px;
  border-top: 1px solid var(--border-light);
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  background: var(--gray-8);
  flex-shrink: 0;
}
[data-theme="dark"] .modal-footer { background: var(--gray-1); }
.modal-footer .action-btn-primary,
.modal-footer .action-btn-secondary {
  padding: 6px 14px;
  font-size: 12px;
}

/* 版本弹窗 */
.versions-modal { width: 380px; max-width: calc(100% - 32px); max-height: calc(100% - 32px); }
.versions-body { padding: 14px; }

.version-recommend-label {
  font-size: 10px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.version-recommend-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  background: var(--black);
  color: var(--white);
  border-radius: var(--radius);
  cursor: pointer;
  margin-bottom: 14px;
  transition: all 0.15s;
}
[data-theme="dark"] .version-recommend-card { background: var(--white); color: var(--black); }
.version-recommend-card:hover { opacity: 0.85; transform: translateY(-1px); }
.version-rec-info { flex: 1; }
.version-rec-name { font-size: 16px; font-weight: 700; margin-bottom: 2px; }
.version-rec-detail { font-size: 11px; opacity: 0.85; }
.version-rec-detail b { font-weight: 700; }
.version-rec-badge {
  background: rgba(255,255,255,0.2);
  padding: 3px 10px;
  border-radius: 10px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.version-list-title {
  font-size: 10px;
  font-weight: 700;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}
.version-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.version-item {
  display: flex;
  align-items: center;
  padding: 8px 12px;
  background: var(--gray-8);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.15s;
}
[data-theme="dark"] .version-item { background: var(--gray-1); }
.version-item:hover { background: var(--bg-card); border-color: var(--black); }
[data-theme="dark"] .version-item:hover { border-color: var(--white); }
.version-item-name { font-size: 13px; font-weight: 600; color: var(--text); }
.version-item-detail { font-size: 10px; color: var(--text-secondary); margin-top: 1px; }
.version-footer {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--border-light);
  font-size: 10px;
  color: var(--text-tertiary);
  text-align: center;
}

/* 加购弹窗 */
.upsell-modal { width: 400px; max-width: calc(100% - 32px); max-height: calc(100% - 32px); }
.upsell-header {
  background: var(--black);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  border-bottom: none;
}
[data-theme="dark"] .upsell-header { background: var(--white); color: var(--black); }
.upsell-progress { margin-bottom: 12px; }
.upsell-progress-bar {
  height: 6px;
  background: var(--gray-7);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 4px;
}
.upsell-progress-fill {
  height: 100%;
  background: var(--black);
  border-radius: 3px;
  transition: width 0.3s;
}
[data-theme="dark"] .upsell-progress-fill { background: var(--white); }
.upsell-progress-text {
  font-size: 10px;
  color: var(--text-secondary);
  text-align: right;
}
.upsell-progress-text b { color: var(--text); font-weight: 700; font-size: 12px; }
.upsell-text {
  font-size: 12px;
  color: var(--text);
  margin-bottom: 12px;
  line-height: 1.6;
}
.upsell-text b { color: var(--text); font-weight: 700; }
.upsell-pricing {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.upsell-price-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.15s;
}
.upsell-price-option:hover { border-color: var(--black); }
[data-theme="dark"] .upsell-price-option:hover { border-color: var(--white); }
.upsell-price-selected {
  border-color: var(--black);
  background: var(--gray-8);
  border-width: 1.5px;
}
[data-theme="dark"] .upsell-price-selected { border-color: var(--white); background: var(--gray-1); }
.upsell-price-option input[type="radio"] {
  width: 12px;
  height: 12px;
  accent-color: var(--black);
}
[data-theme="dark"] .upsell-price-option input[type="radio"] { accent-color: var(--white); }
.upsell-price-info { flex: 1; }
.upsell-price-name { font-weight: 600; font-size: 12px; color: var(--text); }
.upsell-price-detail { font-size: 10px; color: var(--text-secondary); }
.upsell-price-amount {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  font-family: "SF Mono", Consolas, monospace;
}
.upsell-footer { justify-content: space-between; }

/* 空状态 */
.empty-state {
  text-align: center;
  padding: 14px 12px;
  color: var(--text-secondary);
}
.empty-icon { font-size: 28px; margin-bottom: 6px; opacity: 0.6; }
.empty-title { font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 4px; }
.empty-desc { font-size: 11px; margin-bottom: 8px; }
.empty-stage {
  display: inline-block;
  padding: 2px 8px;
  background: var(--gray-8);
  color: var(--text-secondary);
  border-radius: 10px;
  font-size: 10px;
  font-weight: 500;
  border: 1px solid var(--border);
}

/* D 路线 2026-06-20: 订单查询表单 */
.order-query-form {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}
.order-input {
  flex: 1;
  padding: 7px 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--text);
  font-size: 12px;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
}
.order-input:focus { outline: 2px solid var(--accent); border-color: var(--accent); }
.order-result {
  padding: 10px;
  background: var(--gray-8);
  border-radius: var(--radius-sm);
  font-size: 12px;
  line-height: 1.6;
}
[data-theme="dark"] .order-result { background: var(--gray-1); }
.order-result-row { display: flex; justify-content: space-between; padding: 3px 0; }
.order-result-label { color: var(--text-secondary); }
.order-result-value { color: var(--text); font-weight: 500; }
.order-status-paid { color: #16a34a; font-weight: 600; }
.order-status-pending { color: #f59e0b; font-weight: 600; }
.order-status-other { color: var(--text-secondary); }

/* D 路线 2026-06-20: 支付弹窗 */
.pay-modal { max-width: 380px; }
.pay-info-row {
  display: flex;
  justify-content: space-between;
  padding: 4px 0;
  font-size: 12px;
}
.pay-info-label { color: var(--text-secondary); }
.pay-info-value { color: var(--text); font-weight: 500; }
.pay-amount { font-size: 16px; color: #dc2626; font-weight: 700; }
.pay-phone-form {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}
.pay-qr-container {
  text-align: center;
  padding: 12px;
}
.pay-qr-img {
  width: 200px;
  height: 200px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
}
.pay-qr-status {
  font-size: 13px;
  font-weight: 600;
  color: #f59e0b;
  margin-bottom: 4px;
}
.pay-qr-status.paid { color: #16a34a; }
.pay-qr-orderno {
  font-size: 10px;
  color: var(--text-secondary);
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  margin-bottom: 8px;
  word-break: break-all;
}
.pay-qr-hint {
  font-size: 11px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 3px; }
.faq-item { background: var(--gray-8); border-radius: var(--radius-sm); }
[data-theme="dark"] .faq-item { background: var(--gray-1); }
.faq-item summary {
  padding: 7px 12px;
  font-weight: 600;
  font-size: 12px;
  cursor: pointer;
  list-style: none;
  position: relative;
  color: var(--text);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  color: var(--text-tertiary);
}
.faq-item[open] summary::after { content: "−"; }
.faq-item p {
  padding: 0 12px 8px 12px;
  font-size: 11px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* 按钮通用 */
.btn-icon {
  background: none;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 4px;
  border-radius: var(--radius-xs);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
  position: relative;
}
.btn-icon:hover { background: var(--gray-7); color: var(--text); }