/* Continuous corners where supported, with rounded fallback. No clipping of
   entire containers: menus, focus outlines and glass effects remain intact. */
body :is(.hero,.section-band,.apps-band,.uses-band,.latest-note,.feature-banner,.home-cta,.lost-panel) {
 border-radius:28px;
}
body :is(.content-card,.topic-card,.app-card,.use-card,.series-archive__card,.product-facts,.article-series,.fb-next-read,.fb-dialog) {
 border-radius:22px;
}
body .fb-context--desktop .fb-context-link { border-radius:20px; }
@media(max-width:1100px) {
 body .site-header.fb-unified-header,
 body.fb-full-width-light .site-header.fb-unified-header,
 body .fb-header-half { border-radius:999px; }
}
@supports (corner-shape:squircle) {
 body :is(.hero,.section-band,.apps-band,.uses-band,.latest-note,.feature-banner,.home-cta,.lost-panel) {
  border-radius:48px; corner-shape:squircle;
 }
 body :is(.content-card,.topic-card,.app-card,.use-card,.series-archive__card,.product-facts,.article-series,.fb-next-read,.fb-dialog) {
  border-radius:36px; corner-shape:squircle;
 }
 body .fb-context--desktop .fb-context-link { border-radius:30px; corner-shape:squircle; }
 body .fb-context-icon { border-radius:16px; corner-shape:squircle; }
 /* Decorative overlays must follow their own container's silhouette. */
 body :is(.hero,.section-band,.apps-band,.uses-band,.latest-note,.feature-banner,.home-cta,.lost-panel,.content-card,.topic-card,.app-card,.use-card,.fb-context-link)::before,
 body :is(.hero,.section-band,.apps-band,.uses-band,.latest-note,.feature-banner,.home-cta,.lost-panel,.content-card,.topic-card,.app-card,.use-card,.fb-context-link)::after {
  corner-shape:inherit;
 }
 @media(max-width:1100px) {
  body .site-header.fb-unified-header,
  body.fb-full-width-light .site-header.fb-unified-header,
  body .fb-header-half { border-radius:999px; corner-shape:round; }
  body .fb-header-half::after { border-radius:inherit; corner-shape:inherit; }
 }
}
