/* Survivor One v0.3.55 — iOS/WebKit stability for the legacy Edit Pool Settings sheet only. */
#v037Overlay .v037-sheet.wide{
  height:min(96dvh,900px);
  max-height:96dvh;
}
#v037Overlay .v037-sheet.wide>.v037-body{
  flex:1 1 auto;
  min-height:0;
  overflow-y:auto;
  overflow-x:hidden;
  -webkit-overflow-scrolling:touch;
  overscroll-behavior:contain;
  touch-action:pan-y;
}
#v037Overlay .v037-sheet.wide .v037-card,
#v037Overlay .v037-sheet.wide .v037-field,
#v037Overlay .v037-sheet.wide .v037-choice,
#v037Overlay .v037-sheet.wide .v037-check,
#v037Overlay .v037-sheet.wide input,
#v037Overlay .v037-sheet.wide select,
#v037Overlay .v037-sheet.wide button{
  pointer-events:auto;
}
#v037Overlay .v037-sheet.wide input,
#v037Overlay .v037-sheet.wide select,
#v037Overlay .v037-sheet.wide button,
#v037Overlay .v037-sheet.wide label{
  touch-action:manipulation;
}
#v037Overlay .v037-sheet.wide .v037-actions{
  bottom:0;
  padding-bottom:max(8px,env(safe-area-inset-bottom));
}
@media(max-width:520px){
  #v037Overlay .v037-sheet.wide{
    width:100%;
    height:100dvh;
    max-height:100dvh;
    border-radius:0;
  }
  #v037Overlay .v037-sheet.wide>.v037-body{
    padding-bottom:calc(12px + env(safe-area-inset-bottom));
  }
}
