/*
 * ca-course-app.css
 * HumiDesk Addon — ChaoAcademy 成长方案
 *
 * 颜色变量全部复用 HumiDesk CSS 变量，降级 fallback 到原始值。
 * --hd-bg-card, --hd-text-primary, --hd-text-secondary, --hd-border-color
 * 如果宿主主题未定义这些变量，fallback 值与原设计一致。
 */

/* ============================================================
   成长方案根面板 — CSS 变量作用域（供 intro/sensei/programs/app 共享）
   ============================================================ */
.ca-growth-panel {
  --ca-yellow:    #FACC15;
  --ca-text:      var(--hd-text-primary,    #1D1D1F);
  --ca-sub:       var(--hd-text-secondary,  #636366);
  --ca-bg-card:   var(--hd-bg-card,         #ffffff);
  --ca-border:    var(--hd-border-color,    rgba(0,0,0,0.06));
  --ca-radius:    20px;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC", sans-serif;
  -webkit-font-smoothing: antialiased;
  color: var(--ca-text);
}

/* ============================================================
   根容器 — 融入工作台背景
   ============================================================ */
#ca-course-app {
  --ca-yellow:    #FACC15;
  --ca-text:      var(--hd-text-primary,    #1D1D1F);
  --ca-sub:       var(--hd-text-secondary,  #636366);
  --ca-bg-card:   var(--hd-bg-card,         #ffffff);
  --ca-border:    var(--hd-border-color,    rgba(0,0,0,0.06));
  --ca-radius:    20px;

  background-color: transparent; /* 融入工作台背景，不遮挡 */
  color: var(--ca-text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC", sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* ============================================================
   布局容器
   ============================================================ */
.ca-wrapper {
  max-width: 1400px;
  margin: 0 auto;
  padding: 24px 0 60px;
}

/* ============================================================
   Sensei 已购课程区
   ============================================================ */
.ca-sensei-zone {
  margin-bottom: 40px;
}

.ca-sensei-zone__header {
  margin-bottom: 16px;
}

.ca-sensei-zone__title {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 4px;
  color: var(--ca-text);
}

.ca-sensei-zone__subtitle {
  font-size: 13px;
  color: var(--ca-sub);
  margin: 0;
}

.ca-sensei-zone__divider {
  border: none;
  border-top: 1px solid var(--ca-border);
  margin: 32px 0;
}

/* ============================================================
   v2.0 — 已拥有资产紧凑有序条（替换 Sensei shortcode 全屏 UI）
   ============================================================ */
.ca-owned-section {
  margin-bottom: 20px;
}

.ca-owned-header {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 10px;
}

.ca-owned-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ca-sub);
}

.ca-owned-see-all {
  font-size: 11px;
  font-weight: 600;
  color: var(--ca-sub);
  text-decoration: none;
  opacity: 0.7;
  transition: opacity 0.15s;
}
.ca-owned-see-all:hover { opacity: 1; color: var(--ca-text); }

.ca-owned-strip {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.ca-owned-strip::-webkit-scrollbar { display: none; }

.ca-owned-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  background: var(--ca-bg-card);
  border: 1px solid var(--ca-border);
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ca-text);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: border-color 0.18s, box-shadow 0.18s;
}
.ca-owned-chip:hover {
  border-color: var(--ca-yellow);
  box-shadow: 0 2px 8px rgba(250,204,21,0.25);
}
.ca-owned-chip--active {
  border-color: rgba(249,115,22,0.45);
  background: rgba(249,115,22,0.05);
}
.ca-owned-chip--done {
  border-color: rgba(34,197,94,0.45);
  background: rgba(34,197,94,0.05);
}
.ca-owned-chip__status {
  font-size: 11px;
  opacity: 0.75;
}

/* ============================================================
   筛选区 — 造句控制塔
   ============================================================ */
.ca-filter-section {
  text-align: center;
  margin-bottom: 48px;
}

.ca-sentence {
  font-size: 2rem;
  line-height: 1.6;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ca-text);
}

.ca-drop {
  display: inline-block;
  position: relative;
  border-bottom: 3px solid var(--ca-yellow);
  padding: 0 4px;
  margin: 0 4px;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.ca-drop select {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  font-size: inherit;
}

.ca-drop.has-val {
  background: rgba(250, 204, 21, 0.15);
  border-radius: 4px 4px 0 0;
}

.ca-drop.has-val .ca-label {
  color: #92400e; /* amber-800 — 暖棕黄，已激活状态 */
  font-weight: 700;
}

.ca-label {
  padding: 0 4px;
  display: inline-block;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.ca-label--exit {
  opacity: 0;
  transform: translateY(-5px);
}

@keyframes caLabelEnter {
  from { opacity: 0; transform: translateY(8px) scale(0.92); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.ca-label--enter {
  animation: caLabelEnter 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.ca-count {
  color: var(--ca-sub);
  margin-top: 18px;
  font-size: 15px;
  font-weight: 500;
}

/* ── v1.3.0 Tag 第四筛选栏 ── */
.ca-tag-filter-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.ca-tag-filter-label {
  font-size: 15px;
  color: var(--hd-text-secondary, #64748b);
  white-space: nowrap;
  flex-shrink: 0;
}

.ca-tag-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.ca-chip {
  display: inline-flex;
  align-items: center;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border: 1.5px solid var(--hd-border-color, #e2e8f0);
  background: transparent;
  color: var(--hd-text-secondary, #64748b);
  transition: all 0.18s;
  line-height: 1;
}

.ca-chip:hover {
  border-color: var(--hd-brand-color, #FACC15);
  color: var(--hd-text-primary, #1e293b);
}

.ca-chip.active {
  background: var(--hd-brand-color, #FACC15);
  border-color: var(--hd-brand-color, #FACC15);
  color: #000;
}

/* ============================================================
   产品卡片网格
   ============================================================ */
.ca-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

/* 卡片 */
.ca-card {
  content-visibility: auto;
  contain-intrinsic-size: 360px 430px;
  background: var(--ca-bg-card);
  border-radius: var(--ca-radius);
  padding: 0;
  overflow: hidden;
  min-height: 360px;
  border: 1px solid var(--ca-border);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  opacity: 0;
  transform: translateY(20px);
  will-change: transform, opacity;
  position: relative;
}

.ca-card.active {
  opacity: 1;
  transform: translateY(0);
}

/* 卡片退出动效（重新筛选时旧卡第一时间消隐） */
.ca-card--exit {
  opacity: 0 !important;
  transform: translateY(-6px) scale(0.97) !important;
  transition: opacity 0.1s ease, transform 0.1s ease !important;
  pointer-events: none;
}

.ca-card:hover {
  transform: scale(1.025) translateY(-6px);
  box-shadow: 0 30px 60px rgba(0,0,0,0.08);
}

/* 图片容器：顶部全出血，仅上圆角 */
.ca-card-img-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  margin: 0 0 16px;
  border-radius: var(--ca-radius) var(--ca-radius) 0 0;
  background-color: #f2ece1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  box-sizing: border-box;
  overflow: hidden;
  flex-shrink: 0;
}

.ca-card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease;
}

.ca-card-img-wrapper .ca-cover {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.ca-card-cover-img {
  position: relative;
  z-index: 1;
}

.ca-card-cover-img.is-broken {
  opacity: 0;
}

.ca-card:hover .ca-card-img-wrapper img {
  transform: scale(1.06);
}

/* 占位图 */
.ca-placeholder {
  width: 100%;
  height: 100%;
  border-radius: 8px;
  background: linear-gradient(135deg, #eee 0%, #f5f5f7 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: 700;
  color: #ccc;
}

/* meta 行：badge + tags 同行 */
.ca-card-meta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}

.ca-card-badge {
  font-size: 10px;
  font-weight: 700;
  color: #aeaeb2;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}

/* 动态自定义 Tag 标签池（Phase 6 预埋） */
.ca-tag-pool {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.ca-custom-tag {
  font-size: 11px;
  padding: 2px 8px;
  background: rgba(0, 102, 204, 0.08);
  color: #0066cc;
  border-radius: 4px;
  font-weight: 600;
  white-space: nowrap;
}

/* v2.62 卡片身份/价值双锚点 */
/* 产品名（身份锚点） */
.ca-card-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ca-text);
  line-height: 1.35;
  margin: 0 0 7px;
  letter-spacing: -0.01em;
}

/* Outcome（价值锚点） */
.ca-card-outcome {
  font-size: 1rem;
  font-weight: 600;
  color: #8b6d3b;
  line-height: 1.5;
  margin: 0 0 10px;
}

/* 描述：3行截断 */
.ca-card-desc {
  font-size: 0.8rem;
  color: var(--ca-sub);
  line-height: 1.55;
  margin: 0 0 14px;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 标准"了解详情"链接 */
.ca-card-more {
  font-size: 13px;
  font-weight: 600;
  color: #0066cc;
  margin-top: auto;
}

/* 主 CTA：鲜明按钮（全宽） */
.ca-cta-btn {
  display: block;
  width: 100%;
  text-align: center;
  background: var(--hd-brand-color, var(--ca-yellow));
  color: #000 !important;
  padding: 12px 18px;
  border: none;
  border-radius: 10px;
  font-weight: 800;
  font-size: 14px;
  margin-top: auto;
  transition: all 0.25s cubic-bezier(0.15, 0.83, 0.66, 1);
  line-height: 1.1;
  cursor: pointer;
  font-family: inherit;
  letter-spacing: 0.01em;
}

.ca-card:hover .ca-cta-btn {
  transform: scale(1.03);
  box-shadow: 0 8px 20px rgba(250, 204, 21, 0.35);
}

/* v1.2.0 — 已购状态 CTA（绿色，强调进入内容） */
.ca-cta-purchased {
  background: #16a34a !important;
  color: #fff !important;
  letter-spacing: 0.02em;
}

.ca-card:hover .ca-cta-purchased {
  box-shadow: 0 8px 20px rgba(22, 163, 74, 0.35);
}

/* v1.2.0 — 免费产品 CTA（蓝色胶囊） */
.ca-cta-free {
  background: #2563eb !important;
  color: #fff !important;
}

.ca-card:hover .ca-cta-free {
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.30);
}

/* 空结果 */
.ca-empty {
  text-align: center;
  padding: 48px 20px;
  color: var(--ca-sub);
  font-size: 15px;
}

/* ============================================================
   v2.0 — 筛选区激活发光效果
   ============================================================ */
@keyframes caFilterGlow {
  0%, 100% { background: transparent; }
  40%      { background: rgba(250, 204, 21, 0.07); }
}

.ca-filter-section--active {
  animation: caFilterGlow 0.6s ease-out;
  border-radius: 16px;
}

/* ============================================================
   v2.0 — HumiDesk 实战项目区（旧独立区块样式，保留供兼容）
   ============================================================ */
.ca-hd-programs-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ca-hd-program-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--ca-bg-card);
  border: 1px solid var(--ca-border);
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.18s;
}

.ca-hd-program-row:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.ca-hd-program-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--ca-text);
}

.ca-hd-program-status { font-size: 12px; font-weight: 600; }
.ca-hd-program-status.is-active { color: #b45309; }
.ca-hd-program-status.is-done   { color: #16a34a; }

/* ============================================================
   v2.0 — 介绍区修饰符
   ============================================================ */
.ca-intro__title {
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 6px;
  color: var(--ca-text);
  line-height: 1.1;
}

.ca-intro--member {
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--ca-border);
}

.ca-intro--member .ca-intro__desc {
  margin: 0;
  font-size: 0.875rem;
  color: var(--ca-sub);
}

/* ============================================================
   v2.0 — 首次访问引导动效
   ============================================================ */
@keyframes caOnboardIn {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

.ca-filter--onboard {
  animation: caOnboardIn 0.65s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* ============================================================
   v2.0 — 页头导读区（.ca-intro）
   ============================================================ */
.ca-intro {
  margin-bottom: 36px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--ca-border);
}

.ca-intro__kicker {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ca-sub);
  margin-bottom: 8px;
}

.ca-intro__desc {
  font-size: 1rem;
  color: var(--ca-text);
  line-height: 1.65;
  margin: 0 0 14px;
  max-width: 560px;
}

.ca-intro__cta-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.ca-intro__cta-label {
  font-size: 14px;
  color: var(--ca-sub);
}

.ca-intro__login-btn {
  display: inline-block;
  background: var(--ca-yellow);
  color: #000 !important;
  font-weight: 700;
  font-size: 13px;
  padding: 7px 16px;
  border-radius: 8px;
  text-decoration: none;
  transition: opacity 0.18s, transform 0.18s;
  line-height: 1;
}

.ca-intro__login-btn:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

.ca-intro__hint {
  font-size: 12px;
  color: var(--ca-sub);
  margin: 0;
  line-height: 1.6;
}

/* ============================================================
   无障碍访问：关闭所有动效
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  .ca-label,
  .ca-label--exit,
  .ca-label--enter,
  .ca-card,
  .ca-card--exit,
  .ca-filter--onboard,
  .ca-filter-section--active,
  .ca-intro__login-btn {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 768px) {
  .ca-sentence {
    font-size: 1.5rem;
  }

  .ca-grid {
    grid-template-columns: 1fr;
  }

  .ca-card { min-height: 0; }

  .ca-wrapper {
    padding: 24px 0 40px;
  }
}

/* ── v2.0.6: Custom animated dropdown panel ─────────────────────────────── */
.ca-custom-panel {
  position: fixed;
  z-index: 99999;
  min-width: 200px;
  background: rgba(255, 255, 255, 0.90);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(0, 0, 0, 0.09);
  border-radius: 16px;
  box-shadow:
    0 2px 6px rgba(0, 0, 0, 0.08),
    0 12px 40px rgba(0, 0, 0, 0.16);
  padding: 6px;
  transform-origin: top left;
  transform: scale(0.88) translateY(-8px);
  opacity: 0;
  pointer-events: none;
  /* default = spring */
  transition:
    opacity  0.22s cubic-bezier(0.34, 1.56, 0.64, 1),
    transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.ca-custom-panel.open {
  transform: scale(1) translateY(0);
  opacity: 1;
  pointer-events: auto;
}

/* refined preset */
#ca-course-app[data-ui-anim="refined"] .ca-custom-panel {
  transition:
    opacity  0.20s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.20s cubic-bezier(0.22, 1, 0.36, 1);
}

/* instant preset */
#ca-course-app[data-ui-anim="instant"] .ca-custom-panel {
  transition: none;
}
#ca-course-app[data-ui-anim="instant"] .ca-panel-item {
  animation: none !important;
  opacity: 1 !important;
  transform: none !important;
}

/* Panel items */
.ca-panel-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  color: #1c1c1e;
  opacity: 0;
  transform: translateY(-5px);
  animation: caPanelItemIn 0.32s cubic-bezier(0.34, 1.56, 0.64, 1) calc(var(--i, 0) * 26ms) both;
  animation-play-state: paused;
  transition: background 0.12s ease;
}
.ca-custom-panel.open .ca-panel-item {
  animation-play-state: running;
}
@keyframes caPanelItemIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0);    }
}
.ca-panel-item:hover {
  background: rgba(0, 0, 0, 0.06);
}
.ca-panel-item--active {
  background: rgba(250, 204, 21, 0.18);
  color: #92400e;
  font-weight: 600;
}
.ca-pi-check {
  width: 16px;
  font-size: 12px;
  color: #92400e;
  flex-shrink: 0;
  text-align: center;
}

/* ============================================================
   v2.62 — 结果导向卡片（Outcome → Ideal for → Format → CTA）
   ============================================================ */
.ca-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 20px 22px 28px;
}

/* 整卡可点：拉伸的链接覆盖层 */
.ca-card-link {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: var(--ca-radius);
}

/* 适合谁 */
.ca-card-ideal {
  font-size: 0.82rem;
  color: var(--ca-sub);
  line-height: 1.55;
  margin: 0 0 9px;
}
.ca-card-ideal__label {
  display: inline-block;
  font-weight: 700;
  color: var(--ca-text);
  opacity: 0.7;
  margin-right: 6px;
}

/* Delivery Signal（真实交付方式，2–3 个信息单元） */
.ca-card-format {
  font-size: 12px;
  font-weight: 600;
  color: var(--ca-sub);
  line-height: 1.6;
  margin: 0 0 4px;
}

/* 底部动作行：主 CTA 独占，鲜明按钮 */
.ca-card-actions {
  display: block;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--ca-border);
}
.ca-card-actions .ca-cta-btn { margin-top: 0; width: 100%; }

/* 比较按钮：悬浮在图片右上角的切换胶囊 */
.ca-compare-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 4;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  color: #475569;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.18s;
  line-height: 1;
  white-space: nowrap;
  font-family: inherit;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.12);
}
.ca-compare-btn:hover { border-color: var(--ca-yellow); color: #1d1d1f; }
.ca-compare-btn.is-selected { background: var(--ca-yellow); border-color: var(--ca-yellow); color: #000; }

/* ============================================================
   v2.62 — 成长方案目录：Problem Navigation / 精选 / 全部 / 排序 / 折叠筛选
   ============================================================ */

/* ── 第一屏问题导航 ── */
.ca-problem-nav {
  margin-bottom: 40px;
}
.ca-problem-nav__title {
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ca-text);
  margin: 0 0 6px;
  line-height: 1.2;
}
.ca-problem-nav__sub {
  font-size: 0.95rem;
  color: var(--ca-sub);
  margin: 0 0 20px;
  line-height: 1.55;
}
.ca-problem-nav__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
.ca-problem-card {
  display: flex;
  flex-direction: column;
  gap: 7px;
  text-align: left;
  padding: 18px 16px 20px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.10);
  border-radius: 14px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
  cursor: pointer;
  transition: transform 0.22s cubic-bezier(0.23, 1, 0.32, 1), background 0.2s, border-color 0.2s, box-shadow 0.22s;
  font-family: inherit;
}
.ca-problem-card:hover {
  transform: translateY(-3px);
  background: rgba(250, 204, 21, 0.08);
  border-color: rgba(245, 158, 11, 0.75);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.14);
}
.ca-problem-card:hover .ca-problem-card__label { color: #92400e; }
.ca-problem-card.is-active {
  background: rgba(250, 204, 21, 0.10);
  border-color: var(--ca-yellow);
  box-shadow: 0 0 0 1px var(--ca-yellow) inset, 0 10px 24px rgba(245, 158, 11, 0.18);
}
.ca-problem-card__label {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ca-text);
  line-height: 1.3;
}
.ca-problem-card__desc {
  font-size: 0.78rem;
  color: var(--ca-sub);
  line-height: 1.45;
}
.ca-problem-card.is-active .ca-problem-card__label { color: #92400e; }

/* 不确定？先测一测 */
.ca-problem-nav__quiz {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.ca-quiz-entry {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px dashed rgba(250, 204, 21, 0.5);
  background: rgba(250, 204, 21, 0.06);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ca-text);
  text-decoration: none;
  transition: border-color 0.18s, background 0.18s;
}
.ca-quiz-entry:hover {
  border-color: var(--ca-yellow);
  background: rgba(250, 204, 21, 0.12);
}
.ca-quiz-entry__icon { line-height: 1; }
.ca-quiz-entry__arrow { opacity: 0.6; }

/* ── ⭐ 超哥精选 ── */
.ca-featured {
  margin-bottom: 44px;
}
.ca-featured__head {
  margin-bottom: 14px;
}
.ca-featured__label {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: var(--ca-text);
}
.ca-featured__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* ── 全部成长方案 ── */
.ca-all__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.ca-all__title {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--ca-text);
  margin: 0;
}
.ca-sort-tabs {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}
.ca-sort-tab {
  border: none;
  background: transparent;
  color: var(--ca-sub);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  font-family: inherit;
  line-height: 1;
}
.ca-sort-tab:hover { color: var(--ca-text); background: rgba(0, 0, 0, 0.04); }
.ca-sort-tab.is-active { background: var(--ca-text); color: #fff; }

/* 结果计数 + 筛选开关 */
.ca-result-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.ca-count {
  color: var(--ca-sub);
  font-size: 14px;
  font-weight: 500;
  margin: 0;
}
.ca-count__scope { font-weight: 700; color: var(--ca-text); }
.ca-count__sep { color: var(--ca-sub); }
.ca-count__clear {
  margin-left: 8px;
  border: 1px solid var(--ca-border);
  background: transparent;
  color: var(--ca-sub);
  font-size: 12px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
  cursor: pointer;
  font-family: inherit;
  transition: border-color 0.15s, color 0.15s;
}
.ca-count__clear:hover { border-color: var(--ca-yellow); color: var(--ca-text); }

.ca-filter-toggle {
  border: 1px solid var(--ca-border);
  background: transparent;
  color: var(--ca-sub);
  font-size: 12.5px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  cursor: pointer;
  font-family: inherit;
  transition: border-color 0.15s, color 0.15s;
  white-space: nowrap;
}
.ca-filter-toggle:hover { border-color: var(--ca-yellow); color: var(--ca-text); }

/* 折叠筛选（默认收起） */
.ca-filter-collapse {
  display: none;
  margin-bottom: 8px;
}
.ca-filter-collapse.is-open {
  display: block;
  animation: caOnboardIn 0.35s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* 我的成长条（复用 .ca-owned-*，仅微调间距） */
.ca-my-growth { margin-bottom: 28px; }

/* 响应式 */
@media (max-width: 1024px) {
  .ca-problem-nav__grid { grid-template-columns: repeat(3, 1fr); }
  .ca-featured__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .ca-problem-nav__title { font-size: 1.4rem; }
  .ca-problem-nav__grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .ca-featured__grid { grid-template-columns: 1fr; }
  .ca-all__head { align-items: flex-start; }
  .ca-filter-section { margin-bottom: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .ca-problem-card { transition: none !important; }
  .ca-filter-collapse.is-open { animation: none !important; }
}

/* ============================================================
   v2.62 — 卡片风格（5 套，仅视觉差异，DOM 不变）
   ============================================================ */

/* ── classic 专家商务（基准，保持现有层级） ── */
#ca-course-app[data-card-style="classic"] .ca-card-name { font-size: 1rem; font-weight: 700; color: var(--ca-text); }
#ca-course-app[data-card-style="classic"] .ca-card-outcome { font-size: 1rem; font-weight: 600; color: #8b6d3b; }

/* ── bold 结果冲击（outcome 为主视觉） ── */
#ca-course-app[data-card-style="bold"] .ca-card-name {
  font-size: 11px; font-weight: 700; color: var(--ca-sub);
  text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 6px;
}
#ca-course-app[data-card-style="bold"] .ca-card-outcome {
  font-size: 1.22rem; font-weight: 800; color: #1d1d1f; line-height: 1.3; letter-spacing: -0.01em;
}
#ca-course-app[data-card-style="bold"] .ca-card-ideal { color: #636366; }

/* ── editorial 杂志留白 ── */
#ca-course-app[data-card-style="editorial"] .ca-grid,
#ca-course-app[data-card-style="editorial"] .ca-featured__grid {
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
}
#ca-course-app[data-card-style="editorial"] .ca-card-body { padding: 24px 26px 30px; }
#ca-course-app[data-card-style="editorial"] .ca-card-img-wrapper { height: 190px; margin-bottom: 20px; }
#ca-course-app[data-card-style="editorial"] .ca-card-name {
  font-size: 1.15rem; font-weight: 700; color: var(--ca-text); letter-spacing: -0.01em;
}
#ca-course-app[data-card-style="editorial"] .ca-card-outcome {
  font-size: 0.98rem; font-weight: 500; color: var(--ca-sub); line-height: 1.6;
}

/* ── compact 紧凑列表 ── */
#ca-course-app[data-card-style="compact"] .ca-grid,
#ca-course-app[data-card-style="compact"] .ca-featured__grid {
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 14px;
}
#ca-course-app[data-card-style="compact"] .ca-card { border-radius: 14px; min-height: 300px; }
#ca-course-app[data-card-style="compact"] .ca-card-body { padding: 14px 16px 18px; }
#ca-course-app[data-card-style="compact"] .ca-card-img-wrapper { height: 104px; margin-bottom: 12px; border-radius: 14px 14px 0 0; }
#ca-course-app[data-card-style="compact"] .ca-card-name { font-size: 0.92rem; }
#ca-course-app[data-card-style="compact"] .ca-card-outcome { font-size: 0.85rem; margin-bottom: 8px; }
#ca-course-app[data-card-style="compact"] .ca-card-ideal { font-size: 0.76rem; }
#ca-course-app[data-card-style="compact"] .ca-card-format { margin-bottom: 10px; }

/* ── accent 高亮强调（顶部色条 + 强 CTA） ── */
#ca-course-app[data-card-style="accent"] .ca-card {
  border-top: 3px solid var(--ca-yellow);
}
#ca-course-app[data-card-style="accent"] .ca-card-name { font-size: 1rem; font-weight: 700; color: var(--ca-text); }
#ca-course-app[data-card-style="accent"] .ca-card-outcome { font-size: 1rem; font-weight: 600; color: #1d1d1f; }
#ca-course-app[data-card-style="accent"] .ca-cta-btn {
  background: var(--ca-yellow); font-weight: 800; box-shadow: 0 4px 12px rgba(250,204,21,0.3);
}
#ca-course-app[data-card-style="accent"] .ca-card:hover { border-top-color: #f59e0b; }

/* ============================================================
   v2.62 — 方案对比（底部条 + 弹层）
   ============================================================ */
.ca-compare-bar {
  position: fixed;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  z-index: 9000;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 92vw;
  padding: 8px 10px 8px 16px;
  background: #1d1d1f;
  color: #fff;
  border-radius: 999px;
  box-shadow: 0 12px 34px rgba(0,0,0,0.28);
}
.ca-compare-bar__items {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  max-width: 60vw;
}
.ca-compare-bar__items::-webkit-scrollbar { display: none; }
.ca-compare-chip {
  display: inline-block;
  padding: 4px 10px;
  background: rgba(255,255,255,0.12);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
.ca-compare-bar__actions { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.ca-compare-open {
  border: none;
  background: var(--ca-yellow);
  color: #000;
  font-weight: 700;
  font-size: 12.5px;
  padding: 7px 14px;
  border-radius: 999px;
  cursor: pointer;
  font-family: inherit;
}
.ca-compare-open:hover { filter: brightness(0.95); }
.ca-compare-clear {
  border: none;
  background: transparent;
  color: rgba(255,255,255,0.7);
  font-size: 12.5px;
  font-weight: 600;
  padding: 7px 8px;
  cursor: pointer;
  font-family: inherit;
}
.ca-compare-clear:hover { color: #fff; }

/* 弹层 */
.ca-compare-modal {
  position: fixed;
  inset: 0;
  z-index: 9500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.ca-compare-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(2px);
}
.ca-compare-modal__dialog {
  position: relative;
  background: #fff;
  border-radius: 16px;
  max-width: 960px;
  width: 100%;
  max-height: 86vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,0.3);
}
.ca-compare-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--ca-border);
}
.ca-compare-modal__title { font-size: 1.05rem; font-weight: 800; color: var(--ca-text); }
.ca-compare-modal__close {
  border: none;
  background: transparent;
  font-size: 16px;
  cursor: pointer;
  color: var(--ca-sub);
  line-height: 1;
}
.ca-compare-modal__body { overflow: auto; padding: 8px 20px 20px; }

/* 对比表 */
.ca-compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  color: var(--ca-text);
}
.ca-compare-table th,
.ca-compare-table td {
  text-align: left;
  vertical-align: top;
  padding: 12px 14px;
  border-bottom: 1px solid var(--ca-border);
  line-height: 1.5;
}
.ca-compare-table thead th { border-bottom: 2px solid var(--ca-border); }
.ca-compare-table thead th:first-child { width: 96px; }
.ca-compare-th-title { font-weight: 800; font-size: 14px; color: #8b6d3b; }
.ca-compare-rowhead {
  font-weight: 700;
  color: var(--ca-sub);
  white-space: nowrap;
  background: #fafafa;
}

/* 移动端 */
@media (max-width: 768px) {
  .ca-compare-bar {
    left: 12px;
    right: 12px;
    transform: none;
    max-width: none;
    border-radius: 16px;
    padding: 10px 12px;
  }
  .ca-compare-bar__items { max-width: none; flex: 1; }
  .ca-compare-modal { padding: 12px; }
  .ca-compare-table { min-width: 560px; }
  .ca-compare-modal__body { overflow-x: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .ca-compare-btn, .ca-compare-open { transition: none !important; }
}

/* ============================================================
   v2.63 — 无图生成封面（Playbook 精简版）
   ============================================================ */
.ca-card-img-wrapper .ca-cover {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ca-cover::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.5;
  mix-blend-mode: soft-light;
  pointer-events: none;
}
.ca-cover__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(2,6,23,0.05) 0%, rgba(2,6,23,0) 45%, rgba(2,6,23,0.32) 100%);
}
.ca-cover__mono {
  position: relative;
  z-index: 2;
  font-size: 46px;
  font-weight: 800;
  line-height: 1;
  color: rgba(255,255,255,0.9);
  text-shadow: 0 2px 12px rgba(0,0,0,0.35);
  user-select: none;
  letter-spacing: -0.02em;
}

/* 4 套品牌配色 */
.ca-cover--p0 {
  background-image:
    radial-gradient(120% 100% at 12% 6%, rgba(255,255,255,0.28), transparent 55%),
    radial-gradient(90% 80% at 88% 92%, rgba(0,0,0,0.40), transparent 60%),
    linear-gradient(135deg, #1c1917 0%, #8a5a1e 52%, #e6c064 100%);
}
.ca-cover--p1 {
  background-image:
    radial-gradient(120% 100% at 12% 6%, rgba(255,255,255,0.26), transparent 55%),
    radial-gradient(90% 80% at 88% 92%, rgba(0,0,0,0.42), transparent 60%),
    linear-gradient(135deg, #0b1220 0%, #1e3a8a 52%, #6366f1 100%);
}
.ca-cover--p2 {
  background-image:
    radial-gradient(120% 100% at 12% 6%, rgba(255,255,255,0.24), transparent 55%),
    radial-gradient(90% 80% at 88% 92%, rgba(0,0,0,0.40), transparent 60%),
    linear-gradient(135deg, #7f1d1d 0%, #dc2626 52%, #f59e0b 100%);
}
.ca-cover--p3 {
  background-image:
    radial-gradient(120% 100% at 12% 6%, rgba(255,255,255,0.24), transparent 55%),
    radial-gradient(90% 80% at 88% 92%, rgba(0,0,0,0.40), transparent 60%),
    linear-gradient(135deg, #14532d 0%, #15803d 52%, #84cc16 100%);
}

/* 3 种纹理 */
.ca-cover--t0::before {
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.30) 1px, transparent 0);
  background-size: 12px 12px;
}
.ca-cover--t1::before {
  background-image: repeating-linear-gradient(135deg, rgba(255,255,255,0.16) 0 2px, transparent 2px 10px);
}
.ca-cover--t2::before {
  background-image: repeating-radial-gradient(circle at 0% 100%, transparent 0 9px, rgba(255,255,255,0.12) 9px 10px);
}

/* ============================================================
   v2.65.1 — 方案对比增强（顶级版）
   ============================================================ */

/* 对比条 chip 可移除 / 可定位 */
.ca-compare-chip { padding: 0; overflow: hidden; }
.ca-compare-chip__label {
  border: none; background: transparent; color: #fff; cursor: pointer;
  font-size: 12px; font-weight: 600; padding: 4px 4px 4px 10px; font-family: inherit;
}
.ca-compare-chip__label:hover { text-decoration: underline; }
.ca-compare-chip__x {
  border: none; background: transparent; color: rgba(255,255,255,.6); cursor: pointer;
  font-size: 13px; line-height: 1; padding: 4px 8px 4px 2px; font-family: inherit;
}
.ca-compare-chip__x:hover { color: #fff; }

/* 卡片定位闪烁 */
@keyframes caCardFlash { 0%{box-shadow:0 0 0 0 rgba(250,204,21,0);} 30%{box-shadow:0 0 0 3px rgba(250,204,21,.8);} 100%{box-shadow:0 0 0 0 rgba(250,204,21,0);} }
.ca-card--flash { animation: caCardFlash 1.1s ease; }

/* 弹层内容 */
.ca-compare-verdict {
  margin: 4px 0 14px; padding: 10px 14px;
  background: rgba(250,204,21,.10); border: 1px solid rgba(245,158,11,.35);
  border-radius: 10px; font-size: 13.5px; font-weight: 600; color: #92400e; line-height: 1.5;
}
.ca-compare-scroll { overflow: auto; max-height: 56vh; border: 1px solid var(--ca-border); border-radius: 12px; }

/* 冻结首列 + 吸顶表头 */
.ca-compare-table thead th { position: sticky; top: 0; z-index: 3; background: #fff; }
.ca-compare-table .ca-compare-rowhead,
.ca-compare-table .ca-compare-corner {
  position: sticky; left: 0; z-index: 2; background: #fafafa;
}
.ca-compare-table thead .ca-compare-corner { z-index: 4; }

/* 列头（封面 + 标题 + 链接 + 移除） */
.ca-compare-col { min-width: 180px; }
.ca-compare-corner { min-width: 96px; }
.ca-compare-col__cover {
  width: 100%; height: 64px; border-radius: 8px; overflow: hidden;
  background: #f4f4f6; display: flex; align-items: center; justify-content: center; margin-bottom: 8px;
}
.ca-compare-thumb { width: 100%; height: 100%; object-fit: contain; display: block; }
.ca-compare-col__title { font-weight: 800; font-size: 14px; color: #8b6d3b; line-height: 1.35; margin-bottom: 4px; }
.ca-compare-col__owned {
  display: inline-block; font-size: 11px; font-weight: 700; color: #15803d;
  background: #f0fdf4; border: 1px solid #86efac; border-radius: 999px; padding: 1px 8px; margin-bottom: 6px;
}
.ca-compare-col__link {
  display: block;
  width: 100%;
  text-align: center;
  margin-top: 8px;
  padding: 9px 12px;
  border-radius: 8px;
  background: var(--ca-yellow);
  color: #000;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  line-height: 1.1;
  white-space: nowrap;
  transition: filter .18s ease, transform .18s ease, box-shadow .18s ease;
}
.ca-compare-col__link:hover {
  filter: brightness(.95);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(250, 204, 21, .35);
  text-decoration: none;
}
.ca-compare-col__remove {
  position: absolute; top: 8px; right: 8px; border: none; background: rgba(0,0,0,.05);
  color: #64748b; border-radius: 999px; width: 22px; height: 22px; line-height: 1; cursor: pointer; font-family: inherit;
}
.ca-compare-col__remove:hover { background: #fee2e2; color: #b91c1c; }
.ca-compare-col { position: relative; }

/* 差异高亮 */
.ca-compare-table tr.is-diff { background: rgba(250,204,21,.06); }
.ca-compare-table tr.is-diff .ca-compare-rowhead { color: #92400e; }
.ca-compare-diffval { font-weight: 700; color: var(--ca-text); }

/* 添加方案 */
.ca-compare-add {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 14px;
  padding-top: 12px; border-top: 1px solid var(--ca-border);
}
.ca-compare-add__label { font-size: 12.5px; font-weight: 700; color: var(--ca-sub); }
.ca-compare-add__select {
  flex: 1; min-width: 200px; max-width: 360px; padding: 7px 10px; font-size: 13px;
  border: 1px solid var(--ca-border); border-radius: 8px; font-family: inherit;
}
.ca-compare-add__btn {
  border: none; background: var(--ca-yellow); color: #000; font-weight: 700; font-size: 13px;
  padding: 7px 16px; border-radius: 8px; cursor: pointer; font-family: inherit;
}
.ca-compare-empty { padding: 20px 0; color: var(--ca-sub); font-size: 14px; }

/* 移动端：按方案堆叠 */
.ca-compare-stack { display: flex; flex-direction: column; gap: 12px; }
.ca-compare-stack__card {
  border: 1px solid var(--ca-border); border-radius: 12px; padding: 14px; background: #fff;
}
.ca-compare-stack__head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; position: relative; }
.ca-compare-stack__head .ca-compare-col__cover { width: 64px; height: 48px; margin: 0; flex-shrink: 0; }
.ca-compare-stack__meta { flex: 1; min-width: 0; }
.ca-compare-stack__list { margin: 0 0 10px; }
.ca-compare-stack__list > div { display: flex; gap: 10px; padding: 7px 0; border-bottom: 1px dashed var(--ca-border); }
.ca-compare-stack__list dt { flex: 0 0 72px; font-size: 12px; font-weight: 700; color: var(--ca-sub); }
.ca-compare-stack__list dd { margin: 0; font-size: 13px; color: var(--ca-text); line-height: 1.5; }

@media (max-width: 768px) {
  .ca-compare-scroll { max-height: 62vh; }
  .ca-compare-verdict { font-size: 13px; }
}

/* ============================================================
   v2.66.1 — 对比表格 S 级精修
   ============================================================ */
.ca-compare-scroll {
  max-height: 58vh;
  border: 1px solid var(--ca-border);
  border-radius: 12px;
  overflow: auto;
}

/* 表格：更克制、可扫读 */
.ca-compare-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 13.5px; color: var(--ca-text); }
.ca-compare-table th,
.ca-compare-table td { text-align: left; vertical-align: top; padding: 12px 16px; line-height: 1.55; }
.ca-compare-table tbody tr + tr th,
.ca-compare-table tbody tr + tr td { border-top: 1px solid #eef1f5; }
.ca-compare-table tbody tr:nth-child(even) .ca-compare-rowhead { background: #f7f9fc; }

/* 冻结首列：右侧阴影 */
.ca-compare-table .ca-compare-rowhead,
.ca-compare-table .ca-compare-corner {
  position: sticky; left: 0; z-index: 2; background: #fafafa;
  box-shadow: 1px 0 0 #eef1f5, 8px 0 12px -10px rgba(15,23,42,.18);
}
.ca-compare-table thead th { position: sticky; top: 0; z-index: 3; background: #fff; }
.ca-compare-table thead .ca-compare-corner { z-index: 4; }

/* 分组表头 */
.ca-compare-table .ca-compare-group th {
  position: static;
  background: #f4f6fa;
  color: #64748b;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 7px 16px;
  border-top: 1px solid #eef1f5;
  box-shadow: none;
}

/* 行头 */
.ca-compare-rowhead { font-weight: 700; color: #475569; white-space: nowrap; min-width: 92px; }

/* 单元格级差异 */
.ca-compare-cell.is-held { color: #94a3b8; }
.ca-compare-cell.is-diff-cell {
  background: rgba(250,204,21,.12);
  color: #1d1d1f;
  font-weight: 700;
  box-shadow: inset 3px 0 0 var(--ca-yellow);
}
.ca-compare-table tr.is-diff { background: transparent; }

/* 列头身份 */
.ca-compare-col { min-width: 188px; position: relative; }
.ca-compare-corner { min-width: 92px; }
.ca-compare-col__cover {
  width: 100%; height: 84px; border-radius: 10px; overflow: hidden;
  background: #f4f4f6; display: flex; align-items: center; justify-content: center; margin-bottom: 10px;
}
.ca-compare-col__featured {
  display: inline-block; font-size: 10.5px; font-weight: 800; color: #92400e;
  background: rgba(250,204,21,.18); border: 1px solid rgba(245,158,11,.4);
  border-radius: 999px; padding: 1px 8px; margin-bottom: 6px;
}
.ca-compare-col__title { font-weight: 800; font-size: 14.5px; color: #8b6d3b; line-height: 1.35; margin-bottom: 5px; }

/* 结构化结论 */
.ca-compare-verdict__rec {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  font-size: 14.5px; font-weight: 800; color: #78350f; margin-bottom: 6px;
}
.ca-compare-verdict__chip {
  background: var(--ca-yellow); color: #000; font-size: 11px; font-weight: 800;
  padding: 2px 9px; border-radius: 999px;
}
.ca-compare-verdict__for { font-size: 12.5px; font-weight: 600; color: #92400e; width: 100%; }
.ca-compare-verdict__reasons { margin: 6px 0 0; padding-left: 18px; }
.ca-compare-verdict__reasons li { font-size: 13px; color: #57534e; line-height: 1.6; }
.ca-compare-verdict__hint { font-size: 13.5px; font-weight: 600; color: #92400e; line-height: 1.55; }

@media (max-width: 768px) {
  .ca-compare-col__cover { height: 64px; }
  .ca-compare-table tbody tr:nth-child(even) .ca-compare-rowhead { background: #fafafa; }
}

/* v2.66.2 — 对比表：列宽一致（fixed + colgroup） */
.ca-compare-table { table-layout: fixed; }
.ca-compare-col-corner { width: 100px; }
.ca-compare-col-eq { width: auto; }
.ca-compare-table .ca-compare-col { min-width: 0; }
.ca-compare-table .ca-compare-corner { min-width: 0; }
/* 长值自动换行，避免撑破列宽 */
.ca-compare-table td, .ca-compare-table th { overflow-wrap: anywhere; }

/* ============================================================
   v2.66.4 — 对比弹层：单一滚动容器，去掉嵌套滚动
   ============================================================ */
.ca-compare-scroll {
  max-height: none;
  overflow: visible;
  border: none;
  border-radius: 0;
}
.ca-compare-modal__body {
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}
/* 吸顶表头贴合滚动容器顶部 */
.ca-compare-table thead th { top: 0; }
@media (max-width: 768px) {
  .ca-compare-scroll { max-height: none; }
}

.ca-cover__type {
  position: absolute;
  z-index: 2;
  left: 14px;
  bottom: 12px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}


@keyframes caCountPop {
  0% { transform: translateY(0); opacity: 1; }
  40% { transform: translateY(-1px); opacity: 0.55; }
  100% { transform: translateY(0); opacity: 1; }
}

.ca-count.is-updated {
  animation: caCountPop 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.ca-card-img-wrapper .ca-cover {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
}

.ca-card-img-wrapper .ca-card-cover-img {
  width: 100%;
  height: 100%;
  flex: 1 1 100%;
}

body:has(.ca-gp-guest) .humidesk-dashboard__tabs,
body:has(.ca-gp-guest) .humidesk-dashboard__hero {
  display: none !important;
}

body:has(.ca-gp-guest) .humidesk-dashboard.is-growth-focus {
  background: #f7f3eb;
}

body:has(.ca-gp-guest) .humidesk-dashboard.is-growth-focus .ca-gp-guest {
  padding-top: 0;
}

.ca-active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 14px;
}

.ca-filter-chip {
  padding: 5px 10px;
  border: 1px solid rgba(15, 23, 42, 0.15);
  border-radius: 999px;
  background: #fff;
  color: var(--ca-text);
  cursor: pointer;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
}

.ca-filter-chip span {
  color: #b45309;
  font-weight: 800;
}

.ca-filter-chip:hover {
  border-color: var(--ca-yellow);
  color: #92400e;
}

.ca-filter-chip--clear {
  border-color: transparent;
  background: transparent;
  color: var(--ca-sub);
  text-decoration: underline;
}

.ca-growth-landing {
  width: 100%;
  background: #f7f3eb;
}

.ca-growth-landing .ca-gp-guest {
  margin: 0 auto;
}

.ca-growth-landing__account {
  max-width: 640px;
  margin: 80px auto;
  padding: 36px;
  border: 1px solid #e2dcd1;
  background: #fffdf8;
  text-align: center;
}

.ca-growth-landing__account p {
  margin: 0 0 18px;
  color: #1f2933;
  font-family: Georgia, "Songti SC", "Noto Serif SC", serif;
  font-size: 24px;
}

.ca-growth-landing__account a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  background: #0f2a43;
  color: #fffdf8;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.ca-problem-card:focus-visible,
.ca-sort-tab:focus-visible,
.ca-filter-toggle:focus-visible,
.ca-filter-chip:focus-visible,
.ca-cta-btn:focus-visible,
.ca-compare-btn:focus-visible,
.ca-card-link:focus-visible,
.ca-gp-guest__btn:focus-visible,
.ca-gp-proof__item:focus-visible {
  outline: 2px solid #b5892f;
  outline-offset: 3px;
}

.ca-gp-guest {
  width: min(1180px, calc(100% - 48px));
}

@media (max-width: 760px) {
  .ca-gp-guest {
    width: calc(100% - 32px);
  }
}

.ca-card[hidden] {
	display: none !important;
}
