/* Submit-a-song cover frame. Hidden until a non-square image is picked. */
.cover-reposition {
  width: min(320px, 78vw);
  margin: 8px auto 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.cover-reposition[hidden] {
  display: none !important;
}
.cover-reposition-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.cover-reposition-hint {
  margin: 0;
  font-size: 12px;
  line-height: 1.3;
  font-weight: 500;
  color: var(--muted-2, #C8C8D0);
}
.cover-reposition-reset {
  margin: 0;
  padding: 4px 0;
  border: 0;
  background: none;
  color: var(--muted-2, #C8C8D0);
  font: inherit;
  font-size: 12px;
  line-height: 1.3;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}
.cover-reposition-reset:hover,
.cover-reposition-reset:focus-visible {
  color: #fff;
}
.cover-reposition-zoom {
  display: block;
  margin: 0;
}
.cover-reposition-zoom input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  display: block;
  width: 100%;
  height: 32px;
  margin: 0;
  background: transparent;
  touch-action: pan-x;
  cursor: pointer;
}
.cover-reposition-zoom input[type="range"]:focus {
  outline: none;
}
.cover-reposition-zoom input[type="range"]:focus-visible {
  outline: 2px solid var(--stage-gold, #f3cb47);
  outline-offset: 2px;
}
.cover-reposition-zoom input[type="range"]::-webkit-slider-runnable-track {
  height: 4px;
  background: rgba(255, 255, 255, 0.22);
  border-radius: 999px;
}
.cover-reposition-zoom input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  margin-top: -9px;
  border: 0;
  border-radius: 50%;
  background: #f3cb47;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
}
.cover-reposition-zoom input[type="range"]::-moz-range-track {
  height: 4px;
  background: rgba(255, 255, 255, 0.22);
  border-radius: 999px;
}
.cover-reposition-zoom input[type="range"]::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border: 0;
  border-radius: 50%;
  background: #f3cb47;
}

.art.release-sleeve-face.is-repositioning {
  cursor: grab;
  touch-action: none;
  -ms-touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}
.art.release-sleeve-face.is-repositioning.is-dragging {
  cursor: grabbing;
}
.art.release-sleeve-face.is-repositioning img[data-cover-photo] {
  max-width: none;
  max-height: none;
  pointer-events: none;
  -webkit-user-drag: none;
  user-select: none;
  -webkit-user-select: none;
}

.cover-make[hidden] { display: none !important; }
.cover-make {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.cover-make-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  margin: 0;
  background: rgba(0, 0, 0, 0.72);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}
.cover-make-panel {
  position: relative;
  z-index: 1;
  width: min(960px, 100%);
  height: min(860px, calc(100% - 8px));
  background: #0c0c10;
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}
.cover-make-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.cover-make-bar h2 {
  margin: 0;
  font-size: 16px;
  letter-spacing: -0.02em;
}
.cover-make-panel iframe {
  flex: 1 1 auto;
  width: 100%;
  border: 0;
  background: #000;
}
body.cover-make-open { overflow: hidden; }
