#full-player .full-player-track { position: relative; }

.bumio #room-main { position: relative; display: flex; flex-direction: column; padding-bottom: 0; }
#room-main[data-player-pager-dragging] { overflow-anchor: none; }
.room-tab-pages {
  position: relative;
  display: flow-root;
  flex: 1 0 auto;
  margin-inline: calc(-1 * var(--player-gutter));
  padding-inline: var(--player-gutter);
  padding-bottom: calc(var(--bumio-player-height) + var(--player-gutter) + 8px);
  touch-action: pan-y pinch-zoom;
}
#room-main .room-tab-pages > [data-player-pager-preview][hidden] {
  display: block !important;
  position: absolute;
  inset: var(--player-pager-top, 0px) var(--player-gutter) 0;
  overflow: clip;
  pointer-events: none;
  user-select: none;
}

.player-swipe-window {
  position: absolute;
  z-index: 3;
  inset: var(--player-swipe-top, 0px) 0 auto;
  height: var(--player-swipe-height, 100%);
  overflow: hidden;
  pointer-events: none;
}
.player-swipe-card {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  will-change: transform;
}
.player-swipe-card .native-player-artwork { width: 48px; border-radius: 7px; }
.player-swipe-card img:not([data-player-swipe-ready]) { visibility: hidden; }
.player-swipe-card .now-playing { overflow: hidden; }
.player-swipe-card .now-playing :is(h2, p) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

#full-player .player-swipe-card { display: grid; align-content: start; gap: 18px; }
#full-player .player-swipe-card .native-player-artwork {
  justify-self: center;
  width: var(--player-swipe-cover-width);
  border-radius: 25px;
}
#full-player .player-swipe-card p { font-size: 18px; line-height: 24px; }
@media (orientation: landscape) and (max-height: 500px) {
  #full-player .player-swipe-card { grid-template-columns: auto minmax(0, 1fr); align-content: center; align-items: center; gap: 12px; }
  #full-player .player-swipe-card .native-player-artwork { border-radius: 14px; }
  #full-player .player-swipe-card p { font-size: 14px; line-height: 18px; }
}
.player-swipe-loading { color: #858582; font-size: 13px; }
#full-player .player-swipe-loading { color: #999; }
.player-swipe-window:not([data-player-swipe-committed]) > [data-player-swipe-loading] { visibility: hidden; }

.current-track[data-player-card-dragging] > :is(.record, .now-playing),
.full-player-track[data-player-card-dragging] > :is(#full-player-artwork, .full-player-copy) { opacity: 0; }
