/* Studio demo floating controls on phones (see sbdemo-float.js). Shared by the Celestia Smiles, SIFTAL and Plumbing
   demos; the Med Spa demo does not load this file. Body classes set by the guard:
   - sbdemo-back-compact / sbdemo-chat-compact: "Back to Parisa's projects" and "the corner controls" show as 44-46px icons
     (the visible label is clipped; the accessible name stays);
   - sbdemo-back-yield / sbdemo-chat-yield: the control would sit on something tappable, so it fades out and lets taps
     through until the visitor scrolls it clear. */
@media (max-width:781px){
  body.sbdemo-back-compact a.sbdemo-back{flex-direction:row;gap:0;width:44px;height:44px;min-height:44px;padding:0;border-radius:999px}
  body.sbdemo-back-compact a.sbdemo-back .sbdemo-back__icon{width:18px;height:18px}
  body.sbdemo-chat-compact .sbdock-launcher{justify-content:center;gap:0;width:46px;min-width:46px;height:46px;padding:0}
  body.sbdemo-back-compact .sbdemo-back__label,body.sbdemo-chat-compact .sbdock-launcher>span{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
  body.sbdemo-back-yield a.sbdemo-back,body.sbdemo-chat-yield .sbdock-launcher{visibility:hidden;pointer-events:none;opacity:0;transition:opacity .15s ease}
}
@media (max-width:781px) and (prefers-reduced-motion:reduce){body.sbdemo-back-yield a.sbdemo-back,body.sbdemo-chat-yield .sbdock-launcher{transition:none}}
