/* Release spotlight: "Flicker in the Dark". One light source, the crack in the cover; --rl-f is its flame. */
.rl, .rl-strip, .rl-dialog {
  --rl-ground: #070c11;
  --rl-ground-2: #101b23;
  --rl-ink: #eef0ec;
  --rl-mist: #a9b9c0;
  --rl-flame: #f4ae60;
  --rl-core: #ffe7bd;
  --rl-line: rgb(255 231 189 / .18);
}
.rl *, .rl-strip *, .rl-dialog * { box-sizing: border-box; }
.rl {
  --rl-f: .9;
  container-type: inline-size;
  position: relative;
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border-radius: 18px;
  background: var(--rl-ground);
  color: var(--rl-ink);
  text-align: left;
  line-height: 1.45;
  box-shadow: 0 28px 70px -36px rgb(0 0 0 / .75);
  isolation: isolate;
}
.rl .rl-grid { display: grid; grid-template-columns: minmax(0, 1fr); }
.rl .rl-art { position: relative; aspect-ratio: 5 / 4; overflow: hidden; container-type: size; background: var(--rl-ground); }
.rl .rl-scene { position: absolute; left: 50%; top: 50%; width: max(100cqw, 100cqh); aspect-ratio: 1; transform: translate(-50%, -50%); }
.rl .rl-cover { display: block; width: 100%; height: 100%; max-width: none; margin: 0; border: 0; border-radius: 0; object-fit: cover; box-shadow: none; }
.rl .rl-dusk, .rl .rl-flare, .rl .rl-sparks { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.rl .rl-dusk {
  background: radial-gradient(58% 68% at 50% 55%, rgb(3 7 11 / .1), rgb(3 7 11 / .86));
  opacity: calc((1 - var(--rl-f)) * 1.7);
}
.rl .rl-flare {
  background:
    radial-gradient(3.2% 19% at 50% 54%, rgb(255 238 204 / .95), transparent 100%),
    radial-gradient(22% 33% at 50% 54%, rgb(255 164 78 / .5), transparent 100%),
    radial-gradient(3% 13% at 50% 78%, rgb(255 180 100 / .6), transparent 100%);
  mix-blend-mode: screen;
  opacity: calc(var(--rl-f) * var(--rl-f) * .78);
}
.rl .rl-art::after { content: ""; position: absolute; inset: auto 0 0; height: 10%; background: linear-gradient(transparent, var(--rl-ground)); pointer-events: none; }

.rl .rl-play {
  position: absolute;
  z-index: 2;
  left: 14px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  margin: 0;
  padding: 0 18px 0 14px;
  overflow: hidden;
  border: 1px solid var(--rl-line);
  border-radius: 999px;
  background: rgb(7 12 17 / .78);
  color: var(--rl-ink);
  font: inherit;
  font-size: .95rem;
  font-weight: 650;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(10px);
}
.rl .rl-play:hover { border-color: rgb(255 231 189 / .7); }
.rl .rl-play .rl-ico { width: 20px; height: 20px; display: block; }
.rl .rl-play-off, .rl .rl-play[aria-pressed="true"] .rl-play-on { display: none; }
.rl .rl-play[aria-pressed="true"] .rl-play-off { display: inline; }
.rl .rl-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--rl-flame); transform: scaleX(var(--rl-p, 0)); transform-origin: left; }

.rl .rl-body {
  position: relative;
  z-index: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 18px 18px 22px;
}
.rl .rl-body::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(85% 46% at 50% 0%, rgb(244 164 90 / .22), transparent 100%);
  opacity: var(--rl-f);
  pointer-events: none;
}
.rl .rl-out { margin: 0 0 10px; padding: 0; color: var(--rl-flame); font-size: 1.05rem; font-weight: 700; letter-spacing: 0; text-transform: none; }
.rl .rl-title { margin: 0; padding: 0; border: 0; max-width: 500px; color: var(--rl-ink); font: inherit; letter-spacing: normal; line-height: 0; }
.rl .rl-title::before, .rl .rl-title::after { content: none; }
.rl .rl-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; line-height: 1; }
.rl .rl-lockup { display: block; width: 100%; height: auto; overflow: visible; }
.rl .rl-letters { fill: color-mix(in oklab, #fff1d8 min(100%, calc(var(--rl-f) * 100%)), #aeb1ad); }
.rl .rl-crack {
  fill: var(--rl-core);
  filter: drop-shadow(0 0 5px rgb(255 190 112 / .95)) drop-shadow(0 0 22px rgb(244 150 70 / .75));
  opacity: calc(.4 + var(--rl-f) * .6);
}
.rl .rl-by { margin: 16px 0 0; padding: 0; color: var(--rl-ink); font-size: 1.05rem; }
.rl .rl-date { display: block; color: var(--rl-mist); font-size: .93rem; }
.rl .rl-stores {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}
.rl .rl-stores li { display: flex; margin: 0; padding: 0; min-width: 0; }
.rl .rl-stores li::before, .rl .rl-stores li::marker { content: none; }
.rl .rl-stores li[hidden] { display: none; }
.rl .rl-stores a {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 9px;
  min-width: 0;
  min-height: 50px;
  padding: 8px 11px;
  border: 1px solid var(--rl-line);
  border-radius: 11px;
  background-color: rgb(255 226 180 / .035);
  background-image: linear-gradient(100deg, rgb(255 196 120 / calc(var(--rl-f) * .13)), transparent 78%);
  color: var(--rl-ink);
  font-size: .9rem;
  font-weight: 650;
  line-height: 1.2;
  text-decoration: none;
  box-shadow: none;
  transition: border-color .18s ease, background-color .18s ease, transform .18s ease;
}
.rl .rl-stores a:hover { border-color: rgb(255 231 189 / .75); background-color: rgb(255 208 140 / .16); color: #fff; text-decoration: none; transform: translateY(-1px); }
.rl .rl-stores a:active { transform: translateY(0); }
.rl .rl-stores a::after { content: none; }
.rl .rl-stores .rl-ico { flex: none; width: 21px; height: 21px; color: var(--rl-core); }
.rl .rl-store { min-width: 0; overflow-wrap: anywhere; }
.rl .rl-more { margin: 14px 0 0; padding: 0; color: var(--rl-mist); font-size: .88rem; }
.rl a:focus-visible, .rl button:focus-visible, .rl-strip button:focus-visible, .rl-dialog button:focus-visible { outline: 2px solid var(--rl-core); outline-offset: 2px; }

/* Narrow cards keep every store name on one line. */
@container (max-width: 400px) {
  .rl .rl-stores a { gap: 6px; padding-inline: 8px; font-size: .82rem; }
  .rl .rl-stores .rl-ico { width: 18px; height: 18px; }
}

@container (min-width: 760px) {
  .rl .rl-grid { grid-template-columns: minmax(0, 47%) minmax(0, 1fr); }
  .rl .rl-art { aspect-ratio: auto; min-height: 47cqi; }
  .rl .rl-art::after { inset: 0 0 0 auto; width: 16%; height: auto; background: linear-gradient(90deg, transparent, var(--rl-ground)); }
  .rl .rl-body { padding: clamp(28px, 4.2cqi, 54px); padding-left: clamp(18px, 2.6cqi, 34px); }
  .rl .rl-body::before { background: radial-gradient(55% 60% at 24% 52%, rgb(244 164 90 / .2), transparent 100%); }
  .rl .rl-stores a { font-size: .95rem; padding-inline: 14px; }
}

/* In a page the card is a short band: sleeve, name, stores. The full poster belongs to the pop-up. */
.rl.rl--compact { max-width: 920px; margin-inline: auto; border-radius: 16px; box-shadow: 0 18px 40px -28px rgb(0 0 0 / .7); }
.rl.rl--compact .rl-grid {
  grid-template-columns: clamp(104px, 33cqi, 128px) minmax(0, 1fr);
  grid-template-areas: "art out" "art title" "art by" "stores stores";
  grid-template-rows: 1fr auto 1fr auto;
  column-gap: 14px;
  padding: 14px;
  background: radial-gradient(70% 55% at 24% 26%, rgb(244 164 90 / calc(var(--rl-f) * .2)), transparent 100%);
}
.rl.rl--compact .rl-body { display: contents; }
.rl.rl--compact .rl-body::before, .rl.rl--compact .rl-art::after { content: none; }
.rl.rl--compact .rl-art { grid-area: art; align-self: center; width: 100%; min-height: 0; aspect-ratio: 1; border-radius: 10px; }
.rl.rl--compact .rl-out { grid-area: out; align-self: end; margin: 0 0 5px; font-size: .86rem; }
.rl.rl--compact .rl-title { grid-area: title; width: 100%; max-width: 190px; }
.rl.rl--compact .rl-by { grid-area: by; align-self: start; margin: 7px 0 0; font-size: .86rem; line-height: 1.35; }
.rl.rl--compact .rl-date { font-size: .8rem; }
.rl.rl--compact .rl-play { left: 6px; bottom: 6px; justify-content: center; gap: 0; width: 44px; min-height: 44px; padding: 0; }
.rl.rl--compact .rl-play-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.rl.rl--compact .rl-stores { grid-area: stores; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin: 14px 0 0; }
.rl.rl--compact .rl-stores a { flex-direction: column; justify-content: center; gap: 4px; min-height: 52px; padding: 7px 3px; border-radius: 9px; font-size: .74rem; text-align: center; }
.rl.rl--compact .rl-stores .rl-ico { width: 18px; height: 18px; }
.rl.rl--compact .rl-more { display: none; }
@container (min-width: 640px) {
  .rl.rl--compact .rl-grid { grid-template-columns: 200px minmax(0, 1fr); grid-template-areas: "art out" "art title" "art by" "art stores"; grid-template-rows: auto auto auto 1fr; column-gap: 22px; padding: 16px; }
  .rl.rl--compact .rl-art { align-self: center; }
  .rl.rl--compact .rl-out { align-self: start; }
  .rl.rl--compact .rl-stores { align-self: end; margin-top: 12px; }
  .rl.rl--compact .rl-stores a { flex-direction: row; justify-content: flex-start; gap: 7px; min-height: 44px; padding: 5px 9px; font-size: .8rem; text-align: left; }
}
@container (min-width: 840px) {
  .rl.rl--compact .rl-grid { grid-template-columns: 232px 220px minmax(0, 1fr); grid-template-areas: "art out stores" "art title stores" "art by stores"; grid-template-rows: 1fr auto 1fr; column-gap: 24px; }
  .rl.rl--compact .rl-out { align-self: end; }
  .rl.rl--compact .rl-title { max-width: 220px; }
  .rl.rl--compact .rl-stores { grid-template-columns: repeat(2, minmax(0, 1fr)); align-self: center; margin-top: 0; }
}

/* Pop-up */
dialog.rl-dialog:focus, dialog.rl-dialog:focus-visible { outline: none; box-shadow: none; }
.rl-dialog {
  width: min(940px, calc(100vw - 20px));
  max-width: none;
  max-height: none;
  margin: auto;
  padding: 0;
  overflow: visible;
  border: 0;
  background: transparent;
  color: var(--rl-ink);
}
.rl-dialog::backdrop { background: rgb(3 6 10 / .8); backdrop-filter: blur(5px); }
.rl-dialog[open] { animation: rl-rise .5s cubic-bezier(.2, .7, .2, 1); }
@keyframes rl-rise { from { opacity: 0; transform: translateY(18px) scale(.975); } }
.rl-dialog .rl { max-height: calc(100vh - 20px); max-height: calc(100dvh - 20px); overflow: auto; overscroll-behavior: contain; box-shadow: 0 40px 120px -30px #000, 0 0 0 1px var(--rl-line); }
.rl-dialog .rl .rl-art { aspect-ratio: 16 / 11; }
.rl-dialog .rl .rl-scene { transform: translate(-50%, -57%); }
.rl-dialog .rl .rl-title { max-width: 290px; }
.rl-dialog .rl .rl-body { padding-block: 14px 18px; }
.rl-dialog .rl .rl-by { margin-top: 12px; }
.rl-dialog .rl .rl-stores { margin-top: 12px; }
.rl-dialog .rl .rl-stores a { min-height: 46px; }
.rl-dialog .rl .rl-more { margin-top: 10px; }
@container (min-width: 760px) {
  .rl-dialog .rl .rl-art { aspect-ratio: auto; }
  .rl-dialog .rl .rl-scene { transform: translate(-50%, -50%); }
  .rl-dialog .rl .rl-title { max-width: 400px; }
  .rl-dialog .rl .rl-body { padding-block: 34px; }
}
.rl-dialog .rl-close {
  position: absolute;
  z-index: 5;
  top: 10px;
  right: 10px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 1px solid var(--rl-line);
  border-radius: 50%;
  background: rgb(7 12 17 / .82);
  color: var(--rl-ink);
  cursor: pointer;
}
.rl-dialog .rl-close .rl-ico { width: 22px; height: 22px; }
html.rl-locked { overflow: hidden; }

/* Banner under the header */
.rl-strip {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  background: linear-gradient(90deg, var(--rl-ground), var(--rl-ground-2) 50%, var(--rl-ground));
  color: var(--rl-ink);
  line-height: 1.3;
}
.rl-strip[hidden] { display: none; }
.rl-strip .rl-strip-open {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-width: 0;
  min-height: 44px;
  margin: 0;
  padding: 5px 4px 5px 12px;
  border: 0;
  border-radius: 0;
  background: none;
  color: inherit;
  font: inherit;
  font-size: .88rem;
  text-align: left;
  cursor: pointer;
}
.rl-strip .rl-strip-art { position: relative; flex: none; width: 30px; height: 30px; overflow: hidden; border-radius: 5px; }
.rl-strip .rl-strip-art img { display: block; width: 100%; height: 100%; margin: 0; }
.rl-strip .rl-strip-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(9% 32% at 50% 54%, rgb(255 236 200 / .95), transparent 100%), radial-gradient(36% 46% at 50% 54%, rgb(255 164 78 / .6), transparent 100%);
  mix-blend-mode: screen;
  animation: rl-flick 4.3s ease-in-out infinite;
}
@keyframes rl-flick { 0%, 100% { opacity: .9; } 18% { opacity: .55; } 31% { opacity: 1; } 52% { opacity: .7; } 71% { opacity: .95; } 84% { opacity: .62; } }
.rl-strip .rl-strip-text { min-width: 0; }
.rl-strip .rl-strip-text b { color: var(--rl-core); font-weight: 750; }
.rl-strip .rl-strip-go { display: inline-flex; flex: none; align-items: center; gap: 6px; padding: 6px 12px 6px 10px; border-radius: 999px; background: var(--rl-core); color: #1d1305; font-weight: 750; line-height: 1; }
.rl-strip .rl-strip-go .rl-ico { width: 15px; height: 15px; }
.rl-strip .rl-strip-open:hover .rl-strip-go { background: #fff4dd; }
.rl-strip .rl-strip-x { display: grid; flex: none; place-items: center; width: 44px; height: 44px; margin: 0 4px 0 0; padding: 0; border: 0; background: none; color: var(--rl-mist); cursor: pointer; }
.rl-strip .rl-strip-x .rl-ico { width: 18px; height: 18px; }
.rl-strip .rl-strip-x:hover { color: var(--rl-ink); }
.rl-strip .rl-strip-short { display: none; }
@media (max-width: 520px) {
  .rl-strip .rl-strip-open { justify-content: flex-start; gap: 9px; padding-left: 9px; }
  .rl-strip .rl-strip-long { display: none; }
  .rl-strip .rl-strip-text { flex: 1; }
  .rl-strip .rl-strip-short { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
}

@media (prefers-reduced-motion: reduce) {
  .rl-dialog[open], .rl-strip .rl-strip-art::after { animation: none; }
  .rl .rl-stores a { transition: none; }
  .rl .rl-sparks { display: none; }
}
@media print { .rl-strip, .rl-dialog { display: none !important; } }
