#private-back-to-top {
  position: fixed;
  z-index: 83;
  right: calc(30px + env(safe-area-inset-right, 0px));
  bottom: max(var(--back-to-top-bottom, 24px), calc(18px + env(safe-area-inset-bottom, 0px)));
  display: grid;
  place-items: center;
  box-sizing: border-box;
  width: 46px;
  height: 46px;
  min-width: 46px;
  padding: 10px;
  margin: 0;
  border: 0;
  border-radius: 50%;
  color: #f5f5f7;
  background: #29292eed;
  box-shadow: 0 4px 16px #0005;
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  cursor: pointer;
  touch-action: manipulation;
}
#private-back-to-top[hidden] { display: none !important; }
#private-back-to-top svg { width: 24px; height: 24px; }
#private-back-to-top:hover { background: #3b3b42; }
#private-back-to-top:focus-visible { outline: 2px solid #f5f5f7; outline-offset: 3px; }
@media (max-width:700px), (max-width:900px) and (max-height:500px) {
  /* Leave the final album/song actions clear when the floating arrow appears. */
  body.private-home-browsing #cards { padding-bottom:60px; }
}

@media (max-width:700px) {
  #private-back-to-top { right: calc(22px + env(safe-area-inset-right, 0px)); }
}
