/* V33.71 — safe responsive finishing. Presentation only; no data or identity ownership. */
html,body{max-width:100%;overflow-x:hidden}
body :where(button,.btn,[role="button"],input,select,textarea){min-width:0;max-width:100%}
body :where(.top-actions,.page-header-actions,.bottom-actions,.league-actions,.toolbar,.quick,.tabs,.workspace-nav,.eli-actions,.gm-actions){align-items:center}
body :where(.top-actions,.page-header-actions,.toolbar,.quick,.eli-actions,.gm-actions){flex-wrap:wrap}
body :where(.top-actions,.page-header-actions,.bottom-actions,.league-actions,.toolbar,.quick,.tabs,.workspace-nav,.eli-actions,.gm-actions)>:where(button,.btn,a[role="button"]){justify-content:center;text-align:center}
#ownerModeEntryBtn[hidden],#ownerModeExitBtn[hidden]{display:none!important}

@media(max-width:760px){
  body :where(button,.btn,[role="button"]){min-height:44px}
  body :where(input,select,textarea){font-size:16px}
  body :where(.table-wrap,.fp-table-wrap,.import-wrap,.draft-table-wrap){max-width:100%;overscroll-behavior-x:contain}
  body :where(.panel,.module,.card,.workspace-card,.screen-card){min-width:0}
  body.fp-public-page .bottom-actions{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.fp-public-page .bottom-actions>button:last-child:nth-child(odd){grid-column:1/-1}
  body.fp-public-page .league-actions{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.fp-public-page .bottom-actions button,
  body.fp-public-page .league-actions button{width:100%!important;margin:0!important}
  .rfl-phone-fab{right:14px!important;bottom:calc(14px + env(safe-area-inset-bottom))!important}
}

@media(max-width:390px){
  body.fp-public-page .bottom-actions,
  body.fp-public-page .league-actions{grid-template-columns:minmax(0,1fr)!important}
  body.fp-public-page .bottom-actions>button:last-child:nth-child(odd){grid-column:auto}
}
