/* v1.27.87 Auto-Tune editor: reliable, permanently visible save action.
   Scoped to the specific setlist Auto-Tune modal. All other modals unchanged. */
body:has(.shade[data-modal-type="autotune-editor"]) .bottom-nav {
  visibility:hidden!important;
  pointer-events:none!important;
}
.shade[data-modal-type="autotune-editor"] {
  z-index:200!important;
  box-sizing:border-box!important;
  padding:calc(10px + env(safe-area-inset-top)) 0 0!important;
  align-items:flex-end!important;
  justify-content:center!important;
}
.shade[data-modal-type="autotune-editor"]>.sheet {
  display:flex!important;
  flex-direction:column!important;
  box-sizing:border-box!important;
  width:min(100%,560px)!important;
  min-width:0!important;
  min-height:0!important;
  max-height:calc(100dvh - 10px - env(safe-area-inset-top))!important;
  padding:0!important;
  margin:0!important;
  overflow:hidden!important;
  background:#111217!important;
  border:1px solid #34343b!important;
  border-bottom:0!important;
  border-radius:23px 23px 0 0!important;
  box-shadow:0 -15px 45px rgba(0,0,0,.68)!important;
}
/* Existing grabber belongs to the sheet and doesn't interrupt scrolling. */
.shade[data-modal-type="autotune-editor"]>.sheet:before {
  flex:0 0 auto!important;
  content:''!important;
  display:block!important;
  width:38px!important;
  height:4px!important;
  margin:8px auto 0!important;
  border-radius:5px!important;
  background:#66616c!important;
  opacity:.7!important;
}
.shade[data-modal-type="autotune-editor"] .tune-editor-scroll {
  flex:1 1 auto!important;
  min-height:0!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  overscroll-behavior:contain;
  -webkit-overflow-scrolling:touch;
  padding:13px 17px 14px!important;
}
.shade[data-modal-type="autotune-editor"] .tune-editor-scroll>.sheet-head {
  margin:0 0 13px!important;
}
.shade[data-modal-type="autotune-editor"] .tune-edit-track {
  margin:12px 0 13px!important;
}
.shade[data-modal-type="autotune-editor"] .tune-editor-footer {
  flex:0 0 auto!important;
  position:relative!important;
  z-index:3!important;
  background:#111217!important;
  border-top:1px solid #34343d!important;
  padding:11px 17px calc(12px + env(safe-area-inset-bottom))!important;
  box-shadow:0 -8px 18px rgba(0,0,0,.22);
}
.shade[data-modal-type="autotune-editor"] .tune-editor-footer .tune-editor-save {
  position:static!important;
  display:flex!important;
  width:100%!important;
  min-height:50px!important;
  margin:0!important;
  padding:11px 15px!important;
  box-sizing:border-box!important;
  flex:0 0 auto!important;
}
.shade[data-modal-type="autotune-editor"] .tune-editor-footer .tune-edit-hint {
  margin:8px 0 0!important;
  font-size:10px!important;
  line-height:1.35!important;
  text-align:center!important;
}
/* In short landscape displays, content scrolls, but the button never does. */
@media (min-width:620px) {
  .shade[data-modal-type="autotune-editor"] {
    align-items:center!important;
    padding:16px!important;
  }
  .shade[data-modal-type="autotune-editor"]>.sheet {
    border:1px solid #34343b!important;
    border-radius:22px!important;
    max-height:calc(100dvh - 32px)!important;
  }
  .shade[data-modal-type="autotune-editor"] .tune-editor-footer {
    padding-bottom:14px!important;
  }
}
@media (max-height:650px) and (max-width:619px) {
  .shade[data-modal-type="autotune-editor"] .tune-editor-scroll {
    padding-top:9px!important;
  }
  .shade[data-modal-type="autotune-editor"] .tune-editor-footer .tune-edit-hint {
    display:none!important;
  }
}
