/* A standard jewel case, with a square booklet behind the clear front panel. */
.cd-jewel {
  position: relative;
  display: block;
  width: 100%;
  min-width: 0;
  aspect-ratio: 142 / 125;
  flex: none;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid #e5e9eab0;
  border-radius: 3px;
  background: linear-gradient(135deg,#c7cdd180,#58636b80 12%,#d7dcdf73 90%,#f9fcfdbd),#182127;
  box-shadow: inset 0 0 0 1px #0c121bbd,inset 0 0 0 3px #f4f7f837,0 5px 12px #0006,2px 2px 0 #7f8a926e;
}
.cd-jewel::before {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 1px auto 1px 1px;
  width: 11.8%;
  border-right: 1px solid #f4f8fa9e;
  border-radius: 2px 0 0 2px;
  background: linear-gradient(180deg,#ebf3f566 0 2.7%,transparent 2.7% 7%,#080e15ae 7% 93%,transparent 93% 97.3%,#ebf3f566 97.3%),repeating-linear-gradient(90deg,#0a111a 0 1px,#57616c 1px 2px,#111923 2px 4px);
  box-shadow: inset 2px 0 2px #fafcfd74,inset -2px 0 2px #02060a;
  pointer-events: none;
}
.cd-jewel::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 1px;
  border: 1px solid #f7fafc74;
  border-radius: 2px;
  background: linear-gradient(115deg,transparent 16%,#fff9e90c 17%,#fff9e923 26%,transparent 27%,transparent 71%,#eaf6ff22 72%,transparent 73%),linear-gradient(180deg,#f9fdff6b,transparent 2%,transparent 97.5%,#f9fdff66);
  box-shadow: inset -2px 0 2px #f5f9fb7a,inset 0 1px 0 #fff9;
  pointer-events: none;
}
.cd-jewel > img.cd-jewel-art {
  position: absolute;
  top: 2%;
  left: 12.7%;
  display: block;
  width: 84.5%;
  height: 96%;
  max-width: none;
  max-height: none;
  min-height: 0;
  margin: 0;
  padding: 0;
  aspect-ratio: auto;
  border: 0;
  border-radius: 0;
  object-fit: contain;
  background: #101317;
  box-shadow: 0 0 0 1px #0b101388;
}
.cd-jewel > .missing-cover {
  position: absolute;
  inset: 2% 2.8% 2% 12.7%;
  width: auto;
  height: auto;
  min-height: 0;
  aspect-ratio: auto;
  border-radius: 0;
}
.owned-art,.spotlight-cover,.song-card .cover {
  aspect-ratio: 142 / 125;
  overflow: visible;
  border: 0;
  border-radius: 3px;
  background: transparent;
}
.song-card .cover > a {display:block}
.song-card:hover .cover img.cd-jewel-art,.era-photo button:hover img.cd-jewel-art {transform:none}
.save-cover,.album-cover-cue {z-index:3}
.album-card > .cd-jewel {margin-bottom:18px}
.track-row > .cd-jewel {width:66px;flex-basis:66px}
.holiday-cover {overflow:visible;border:0;border-radius:3px;background:transparent}
.holiday-spotlight-art > .cd-jewel {width:180px}
.entry-story > .cd-jewel {width:170px;max-width:100%;margin:15px 0}
.era-lightbox .cd-jewel {max-width:82svh;margin-inline:auto}

@media(max-width:760px) {
  .detail-head > .cd-jewel {max-width:340px}
  .track-row > .cd-jewel {width:50px;flex-basis:50px}
  .album-card > .cd-jewel {margin-bottom:0}
}
@media(max-width:700px) {
  .holiday-spotlight-art > .cd-jewel {width:90px}
  .related-album > .cd-jewel {width:84px;flex-basis:84px}
}
@media(max-width:650px) {
  .feature-hero > .cd-jewel {width:min(273px,90%);justify-self:center}
}
@media(max-width:420px) {
  .holiday-spotlight-art > .cd-jewel {width:148px}
}
@media print {
  .cd-jewel {-webkit-print-color-adjust:exact;print-color-adjust:exact;box-shadow:inset 0 0 0 1px #52606b}
}
