/* Shared repairs for retained pages and native layouts, 23 October 2026. */
@media (max-width: 360px) {
  /* Language selection remains available inside the mobile navigation. */
  body .header .header-actions .lang-dropdown { display: none; }
}

/* Localized statistics can occupy another row instead of leaving the screen. */
body #main-content .dev-hero-stats { flex-wrap: wrap; }
body #main-content .changelog-entry { min-width: 0; overflow-wrap: anywhere; }

@media (max-width: 768px) {
  body #main-content .article-content { min-width: 0; overflow-wrap: anywhere; }
  body #main-content .article-content :is(code, a) { white-space: normal; overflow-wrap: anywhere; }
  body #main-content .article-content pre { max-width: 100%; overflow-x: auto; }
  body #main-content .article-content pre code { white-space: pre; overflow-wrap: normal; }
  body #main-content .article-content :is(iframe, video) { max-width: 100%; }
  body #main-content .article-content iframe:is([src*="youtube.com"], [src*="youtube-nocookie.com"], [src*="kinescope.io"]) {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
  }
}
