/* Login page only. Keeps the stock colors. Stops the header picture
   from widening the document, and lets License and the gallery
   controls be buttons instead of empty anchors. */

html:has(body[data-script="login"]),
body[data-script="login"] {
  overflow-x: clip;
}

#pf-landing-top {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

#pf-landing-top .pf-header-bg {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
}

#pf-landing-top .pf-header-bg img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 100%;
  object-fit: cover;
}

.pf-landing-tools a {
  display: inline-block;
  margin: 0 8px 6px;
}

#pf-navbar button.pf-navbar-license,
button.pf-loot-launch {
  background: transparent;
  border: 0;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

#pf-navbar button.pf-navbar-license {
  display: block;
  padding: 10px 15px;
  line-height: 20px;
}

.blueimp-gallery > button.prev,
.blueimp-gallery > button.next,
.blueimp-gallery > button.close,
.blueimp-gallery > button.play-pause {
  background: transparent;
  border: 0;
  color: inherit;
  font: inherit;
  line-height: inherit;
}
