/* 壁纸社 v1.8 · Convocept – Fast Native Comment System 配色适配
   插件以 convocept- 为前缀，使用 CSS 自定义属性；这里把主色、背景、
   边框、圆角、字体全部对齐主题 token，并覆盖暗色模式。
   具体变量随插件版本可能增减，故同时用属性选择器做兜底。 */
:root {
  --convocept-accent: var(--wh-primary, #2b5f9e);
  --convocept-accent-color: var(--wh-primary, #2b5f9e);
  --convocept-primary: var(--wh-primary, #2b5f9e);
  --convocept-primary-hover: var(--wh-accent, #4a7bb5);
  --convocept-primary-soft: var(--wh-primary-soft, #eaf1f8);
  --convocept-link: var(--wh-primary, #2b5f9e);
  --convocept-text: var(--wh-text, #1c2530);
  --convocept-text-muted: var(--wh-text-3, #8a939d);
  --convocept-surface: var(--wh-surface, #ffffff);
  --convocept-surface-soft: var(--wh-surface-2, #f0f2f4);
  --convocept-border: var(--wh-border, #e3e6ea);
  --convocept-radius: var(--wh-radius, 10px);
  --convocept-font: var(--wh-font, system-ui);
}
html[data-theme="dark"] {
  --convocept-accent: var(--wh-primary, #7fa8d4);
  --convocept-accent-color: var(--wh-primary, #7fa8d4);
  --convocept-primary: var(--wh-primary, #7fa8d4);
  --convocept-primary-soft: var(--wh-primary-soft, #1f2d3d);
  --convocept-text: var(--wh-text, #e8ebee);
  --convocept-surface: var(--wh-surface, #1e2226);
  --convocept-surface-soft: var(--wh-surface-2, #262b31);
  --convocept-border: var(--wh-border, #333a42);
}
.wh-comments [id^="convocept-"],
.wh-comments [class^="convocept-"],
.wh-comments [class*=" convocept-"] { font-family: var(--wh-font, system-ui); }
.wh-comments [class*="convocept-"] button,
.wh-comments [class*="convocept-"] [role="button"],
.wh-comments [class*="convocept-"] input,
.wh-comments [class*="convocept-"] textarea { border-radius: var(--wh-radius-sm, 8px); }
.wh-comments [class*="convocept-"] a { color: var(--wh-primary); }
.wh-comments [class*="convocept-"] img { max-width: 100%; height: auto; }
.wh-convocept-note { margin: 0 0 14px; padding: 9px 12px; font-size: 12.5px; line-height: 1.6; color: var(--wh-text-2); background: var(--wh-surface-2); border-left: 3px solid var(--wh-primary); border-radius: 4px; }
