/* 连续曲率圆角 / squircle —— 全站统一注入（v2：圆角更大、曲线更圆润）
   corner-shape 决定曲线，border-radius 决定角的大小。
   曲线：superellipse(1.7)，比 squircle = superellipse(2) 圆润，仍是曲率连续的超椭圆。
   大小：/__sq.js 按各站点原有半径放大 1.5 倍，保留每个站点的设计差异。
   Chromium 139+ 生效；Safari / Firefox 不支持 corner-shape，半径仍放大、曲线回退为圆弧。
*/
@supports (corner-shape: squircle) {
  *, *::before, *::after { corner-shape: squircle; }
}
@supports (corner-shape: superellipse(1.7)) {
  *, *::before, *::after { corner-shape: superellipse(1.7); }
}

/* 正圆 / 胶囊 / 头像 / 指示点：保持圆弧，JS 也会跳过，不放大半径 */
[style*="border-radius:50%"],  [style*="border-radius: 50%"],
[style*="border-radius:100%"], [style*="border-radius: 100%"],
[style*="border-radius:999"],  [style*="border-radius: 999"],
[class*="avatar"], [class*="circle"], [class*="dot"],
[class*="badge"],  [class*="pill"],  [class*="spinner"], [class*="round"],
input[type="radio"], input[type="checkbox"],
[data-squircle="round"] { corner-shape: round; }
