/**
 * Bendable 风格 - 流体自适应排版
 * 灵感：https://github.com/tobiasahlin/bendable (72★ MIT)
 * 基于 modular scale + clamp，适配内容区
 */
[data-typography-mode="bendable"] .daily-box .markdown-body,
[data-typography-mode="bendable"] .github-analysis-pane .markdown-body {
  --fs-min: 15;
  --fs-max: 18;
  font-size: clamp(
    calc(var(--fs-min) * 1px),
    calc(var(--fs-min) * 1px + (var(--fs-max) - var(--fs-min)) * (100vw - 320px) / (1200 - 320)),
    calc(var(--fs-max) * 1px)
  );
  line-height: clamp(1.55, 1.5 + 0.15vw, 1.75);
}

[data-typography-mode="bendable"] #articles .article-card,
[data-typography-mode="bendable"] #archiveArticles .article-card,
[data-typography-mode="bendable"] #bookmarksList .bookmark-item,
[data-typography-mode="bendable"] #trackingResultsList .tracking-result-card,
[data-typography-mode="bendable"] #github-pane-top .github-repo,
[data-typography-mode="bendable"] #github-pane-rising .github-repo {
  --fs-min: 14;
  --fs-max: 16;
  font-size: clamp(
    calc(var(--fs-min) * 1px),
    calc(var(--fs-min) * 1px + (var(--fs-max) - var(--fs-min)) * (100vw - 320px) / (1200 - 320)),
    calc(var(--fs-max) * 1px)
  );
  line-height: 1.6;
}
