/* Survivor One v0.3.17 — regression-locked mobile chrome + commissioner UI hardening.
   Scope: presentation/interaction only. No gameplay, grading, lives, deadlines,
   reveal, TEST-pool, NFL-data or D1 rule semantics are changed here. */

/* v0.3.16 removed WebKit scrolling ancestors. On long iPhone/PWA pages the
   top bar can still scroll away because sticky is not a true viewport lock.
   Make only the phone/tablet top app chrome viewport-fixed and reserve its exact
   safe-area-aware height in .main so page content never slides underneath it. */
@media(max-width:799px){
  .main{padding-top:calc(60px + var(--safe-top))!important}
  .topbar{
    position:fixed!important;
    top:0!important;
    left:0!important;
    right:0!important;
    width:100%!important;
    height:calc(60px + var(--safe-top))!important;
    padding:var(--safe-top) 14px 0!important;
    z-index:55!important
  }
}

/* Fair Play lock is permanent for the current week. Once the server-confirmed
   state is observed, the control must stop looking actionable. */
#fairLock.v0317-locked,#fairLock:disabled.v0317-locked{
  opacity:.58!important;
  cursor:default!important;
  filter:saturate(.45)!important
}
