/* V192 — one login, reliable document scroll, judge route/staff role */
.v189-login-type{display:none!important}

html.v192-document-scroll,
html.v192-document-scroll body,
body.v192-document-scroll{
  position:relative!important;
  width:100%!important;
  height:auto!important;
  min-height:100%!important;
  max-height:none!important;
  overflow-x:hidden!important;
  overflow-y:auto!important;
  overscroll-behavior-y:auto!important;
  touch-action:pan-y pinch-zoom!important;
  -webkit-overflow-scrolling:touch!important;
}
html.v192-document-scroll body{padding-bottom:120px!important}

/* Fan/auth pages use the document as the single scroll owner. */
html.v192-document-scroll #v173-app{
  position:relative!important;
  inset:auto!important;
  width:100%!important;
  height:auto!important;
  min-height:100dvh!important;
  max-height:none!important;
  overflow:visible!important;
}
html.v192-document-scroll #v173-app>.v173-shell,
html.v192-document-scroll #v173-app .v173-shell:not(.v176-reels-shell),
html.v192-document-scroll #v173-app .v173-main,
html.v192-document-scroll #v173-app .v177-auth-shell,
html.v192-document-scroll #v173-app .v177-auth-card,
html.v192-document-scroll #v173-app .v182-register-chooser{
  position:relative!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  overflow:visible!important;
}
html.v192-document-scroll #v173-app .v173-main{
  width:100%!important;
  padding-bottom:130px!important;
}

/* Member registration is the native React page; document owns its scroll too. */
html.v192-document-scroll #root{
  position:relative!important;
  inset:auto!important;
  height:auto!important;
  min-height:100dvh!important;
  max-height:none!important;
  overflow:visible!important;
}
html.v192-document-scroll #root form{
  height:auto!important;
  max-height:none!important;
  overflow:visible!important;
}

/* Judge screen must never be trapped by a stale overflow lock. */
html.v192-judge-scroll,
html.v192-judge-scroll body{
  min-height:100%!important;
  max-height:none!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
}
html.v192-judge-scroll main,
html.v192-judge-scroll [role="main"],
html.v192-judge-scroll .v162-judging-main{
  min-height:100dvh!important;
  max-height:none!important;
  overflow-y:auto!important;
}

.v192-judge-role{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:6px!important;
  min-width:72px!important;
  padding:5px 10px!important;
  border-radius:999px!important;
  border:1px solid rgba(168,85,247,.55)!important;
  background:rgba(126,34,206,.16)!important;
  color:#d8b4fe!important;
  font-size:11px!important;
  font-weight:800!important;
  white-space:nowrap!important;
}
