/* R53 G5 (K7/M9/M21) mobile-only floating-widget fixes 2026-11-23.
   Every rule lives inside @media (max-width: 480px) so desktop rendering is untouched.
   Chat widget + consent badge stay visible and tappable (shrunk into the padded bottom strip);
   back-to-top and the theme toggle are hidden on phones (allowed by spec). #r53g5 */
@media (max-width: 480px) {
  body { padding-bottom: 104px !important; }
  #cwf { inset-block-end: 10px !important; inset-inline-end: 10px !important; inset: auto auto 10px 10px !important; transform: scale(0.66) !important; transform-origin: bottom right !important; }
  .consent-badge, button.consent-badge { inset-block-end: 10px !important; inset-inline-start: 10px !important; inset: auto auto 10px 10px !important; transform: scale(0.66) !important; transform-origin: bottom left !important; box-shadow: none !important; }
  .consent-root .consent-banner { position: static !important; max-width: 100% !important; box-sizing: border-box; margin: 0 0 8px; }
  .scb-btt, #scb-theme-btn, .scb-theme-btn { display: none !important; }
  .chapter-main pre, .chapter-main table, .chapter-main img, .chapter-main video,
  article pre, article table, article img, article video { max-width: 100% !important; overflow-x: auto !important; box-sizing: border-box; }
}
