/* No hidden audio control or equalizer animation on mobile. */
html.music-disabled #snd{display:none!important}
/* Touch-only collaborators: the desktop mouse-following cast stays unchanged. */
@media (hover:none),(pointer:coarse){
  .tail.touch-collaborators{display:block;position:fixed;inset:0;overflow:hidden;overflow:clip;z-index:58;opacity:1}
  .touch-collaborators .cur{opacity:0;transition:opacity .18s ease;animation:none;max-width:calc(100vw - 24px)}
  .touch-collaborators .cur.is-active{opacity:1}
  .touch-collaborators .cur svg{width:14px;height:18px;flex:none}
  .touch-collaborators .cur b{margin-top:12px;padding:3px 8px;font-size:10px;line-height:1.4;box-shadow:0 3px 12px #0005}
  .touch-collaborators .st{display:none}
  .hero .ai,.contact .ai{display:none}
  .rb:active .pm{opacity:.65}
}
@media(max-width:899px){
  html{overflow-x:hidden;overflow-x:clip;overscroll-behavior-x:none}
  body{width:100%;max-width:100%;overflow-x:hidden;overflow-x:clip;overscroll-behavior-x:none}
  main,.sec,.rows,.rows>li,.rb,.rd,.rd-in,.about-g,.copy,.next-s,.w-bar,.w-cap{min-width:0;max-width:100%}
  .rb .w{min-width:0}
  .work-h{gap:20px;margin-bottom:24px}
  .filters{flex-wrap:wrap;gap:8px;max-width:100%;margin:0;padding:0;overflow:visible}
  .filters button{flex:none;min-height:44px;padding:0 16px}
  .strip{overscroll-behavior-x:contain}
  .lb-n,.lb-x{min-width:46px;max-width:46px;flex:0 0 46px;aspect-ratio:1}
}
@media(max-width:700px){
  .lb{padding:calc(64px + env(safe-area-inset-top,0px)) 12px calc(92px + env(safe-area-inset-bottom,0px))}
  .lb-f{min-width:0;width:100%;max-width:100%;margin:0;gap:12px}
  .lb-m{width:100%;height:calc(100svh - 212px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px))}
  .lb-f figcaption{max-width:100%;width:100%;min-height:22px;max-height:56px;overflow:auto;overflow-wrap:anywhere}
  .lb-x{top:calc(12px + env(safe-area-inset-top,0px))}
  .lb-n{bottom:calc(22px + env(safe-area-inset-bottom,0px));top:auto;margin:0}
  .lb-n.back{left:calc(50% - 56px);right:auto}
  .lb-n.fwd{left:calc(50% + 10px);right:auto}
}
@media(prefers-reduced-motion:reduce){.touch-collaborators .cur{transition:none}}
