/* Releases: "Now Spinning" (assets/js/mv-releases.js). The stage takes each cover's colours: --c1 / --c2. */
.gallery-reel.has-mvr .gallery-reel-list, .gallery-reel.has-mvr .gallery-reel-controls { display: none !important; }
.gallery-reel.has-mvr { min-height: 0; height: auto !important; }

.mvr { --c1: #f48346; --c2: #fed031; --c1a: rgba(244, 131, 70, .8); --c2a: rgba(254, 208, 49, .5); --dir: 1;
  position: relative; overflow: hidden; isolation: isolate; color: #fff; outline: none; border-radius: 28px;
  padding: clamp(22px, 3vw, 38px) clamp(18px, 4vw, 56px) clamp(22px, 3vw, 34px); display: grid; grid-template-rows: auto auto; gap: clamp(18px, 3vw, 34px); }
.mvr:focus-visible { box-shadow: inset 0 0 0 3px var(--c2); }

/* the backdrop: the cover itself, blown up and blurred, washed in its own colours */
.mvr-bg { position: absolute; inset: 0; z-index: -2; background: #070707; }
.mvr-bg__img { position: absolute; inset: -12%; width: 124%; height: 124%; object-fit: cover; filter: blur(60px) saturate(1.6) brightness(.55); transform: scale(1.1); transition: opacity .8s ease; }
.mvr-bg__tint { position: absolute; inset: 0; background: radial-gradient(ellipse at 18% 30%, var(--c1a), transparent 55%), radial-gradient(ellipse at 85% 80%, var(--c2a), transparent 55%), linear-gradient(180deg, rgba(0, 0, 0, .15), rgba(0, 0, 0, .65)); transition: background 1s ease; }
.mvr-bg__grain { position: absolute; inset: -50%; opacity: .08; mix-blend-mode: overlay; animation: mvrGrain 1.2s steps(6) infinite;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
@keyframes mvrGrain { 0% { transform: translate(0, 0); } 33% { transform: translate(-3%, 2%); } 66% { transform: translate(2%, -3%); } 100% { transform: translate(0, 0); } }

/* the title, huge and outlined, drifting behind everything */
.mvr-ghost { position: absolute; left: 0; right: 0; top: 50%; z-index: -1; transform: translateY(-50%) rotate(-6deg); display: grid; gap: 0; pointer-events: none; opacity: .5; }
.mvr-ghost span { display: block; white-space: nowrap; font: 400 clamp(70px, 13vw, 190px)/1 "Shrikhand", serif; color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .22); animation: mvrDrift 60s linear infinite; }
.mvr-ghost span:nth-child(2) { animation-direction: reverse; -webkit-text-stroke-color: color-mix(in srgb, var(--c2) 40%, transparent); }
@keyframes mvrDrift { to { transform: translateX(-50%); } }

.mvr-main { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(26px, 5vw, 70px); align-items: center; }

/* the cover + its vinyl */
.mvr-art { --rx: 0deg; --ry: 0deg; --gx: 50%; --gy: 30%; position: relative; justify-self: start; width: min(440px, 76%); aspect-ratio: 1; perspective: 1100px; }
.mvr-cover { position: absolute; inset: 0; z-index: 2; border-radius: 10px; overflow: hidden; transform: rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .25s ease-out;
  box-shadow: 0 50px 90px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .12), 0 0 140px -30px var(--c1); }
.mvr-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mvr-glare { position: absolute; inset: 0; background: radial-gradient(circle at var(--gx) var(--gy), rgba(255, 255, 255, .35), transparent 45%); mix-blend-mode: overlay; pointer-events: none; }
.mvr-vinyl { position: absolute; z-index: 1; top: 4%; left: 4%; width: 92%; aspect-ratio: 1; border-radius: 50%; transform: translateX(30%);
  background: radial-gradient(circle, transparent 0 31%, rgba(255, 255, 255, .06) 31.5% 32%, transparent 32.5%), repeating-radial-gradient(circle, #0e0e0e 0 2px, #1d1d1d 2px 4px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, .6), 0 0 0 2px rgba(255, 255, 255, .08), 0 0 50px -10px var(--c1); animation: mvrSpin 3.6s linear infinite; }
.mvr-vinyl::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 30deg, transparent 0 10%, rgba(255, 255, 255, .1) 14%, transparent 20% 60%, rgba(255, 255, 255, .08) 64%, transparent 70%); }
.mvr-vinyl img { position: absolute; inset: 34%; width: 32%; height: 32%; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px #111; }
@keyframes mvrSpin { from { transform: translateX(30%) rotate(0); } to { transform: translateX(30%) rotate(360deg); } }

/* words */
.mvr-info { position: relative; min-width: 0; }
.mvr-count { margin: 0 0 14px; font: 600 12px/1 "ibm-plex-mono", monospace; letter-spacing: .24em; color: rgba(255, 255, 255, .6); }
.mvr-kind { display: inline-block; margin: 0 0 12px; padding: 7px 12px; border-radius: 999px; background: var(--c2); color: #0d0d0d; font: 700 11px/1 "ibm-plex-mono", monospace; letter-spacing: .18em; }
.mvr-title { margin: 0 0 10px; font: 400 clamp(40px, 6.4vw, 92px)/.95 "Shrikhand", serif !important; letter-spacing: -.01em !important; text-transform: none !important; color: #fff; text-shadow: 0 10px 50px rgba(0, 0, 0, .45); overflow-wrap: normal; word-break: normal; hyphens: none; text-wrap: balance; }   /* whole words onto the next line, never split mid-word */
.mvr-artist { margin: 0 0 16px; font: 400 clamp(20px, 2.2vw, 28px)/1.2 "new-spirit-condensed", Georgia, serif; color: rgba(255, 255, 255, .88); }
.mvr-genres { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 24px; }
.mvr-genres:empty { display: none; }
.mvr-genres span { padding: 7px 12px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .25); font: 600 10px/1 "ibm-plex-mono", monospace; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .85); }
.mvr-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.mvr-btn { display: inline-flex; align-items: center; gap: 9px; height: 52px; padding: 0 24px; border: 0; border-radius: 999px; cursor: pointer; text-decoration: none !important;
  background: #fff; color: #0d0d0d !important; font: 600 12px/1 "ibm-plex-mono", monospace; letter-spacing: .14em; text-transform: uppercase; box-shadow: 0 14px 34px rgba(0, 0, 0, .35); transition: transform .2s cubic-bezier(.2, 1.6, .4, 1), background .2s; }
.mvr-btn svg { width: 18px; height: 18px; }
.mvr-btn:hover { transform: translateY(-2px) scale(1.03); background: var(--c2); }
.mvr-btn--ghost { background: rgba(255, 255, 255, .08); color: #fff !important; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3); }
.mvr-btn--ghost:hover { background: rgba(255, 255, 255, .16); }
.mvr-btn[hidden] { display: none; }
.mvr-booth { max-height: 0; overflow: hidden; transition: max-height .6s cubic-bezier(.2, .9, .3, 1), margin .4s; border-radius: 14px; }
.mvr.is-listening .mvr-booth { max-height: 360px; margin-top: 18px; }
.mvr-booth iframe { width: 100%; height: 352px; border: 0; border-radius: 14px; display: block; }

/* the arc: every release along a curve, the chosen one big in the middle */
.mvr-arc { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; }
.mvr-ring { position: relative; height: clamp(110px, 13vw, 150px); }
.mvr-chip { --d: 0; position: absolute; left: 50%; top: 50%; width: clamp(70px, 8vw, 104px); aspect-ratio: 1; padding: 0; border: 0; border-radius: 8px; overflow: hidden; cursor: pointer; background: #111;
  transform: translate(-50%, -50%) translateX(calc(var(--d) * clamp(78px, 9.5vw, 128px))) translateY(calc(var(--d) * var(--d) * 7px)) rotate(calc(var(--d) * 6deg)) scale(calc(1.25 - min(abs(var(--d)), 3) * .15));
  opacity: calc(1 - min(abs(var(--d)), 3.4) * .26); z-index: calc(10 - abs(var(--d)));
  box-shadow: 0 14px 30px rgba(0, 0, 0, .5); transition: transform .7s cubic-bezier(.2, .9, .3, 1), opacity .5s, box-shadow .3s; }
.mvr-chip img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mvr-chip[aria-current="true"] { box-shadow: 0 0 0 3px var(--c2), 0 18px 40px rgba(0, 0, 0, .6); }
.mvr-chip:hover { opacity: 1; }
.mvr-arrow { width: 50px; height: 50px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3); background: rgba(0, 0, 0, .25); color: #fff; font-size: 20px; cursor: pointer; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: background .2s, transform .2s; }
.mvr-arrow:hover { background: var(--c2); color: #0d0d0d; transform: scale(1.06); }

/* changing records: the old one slides away, the new one swings in */
.mvr.is-leaving .mvr-cover, .mvr.is-leaving .mvr-vinyl { opacity: 0; transition: opacity .3s ease; }
.mvr.is-leaving .mvr-info > * { opacity: 0; transform: translateX(calc(var(--dir) * -30px)); transition: opacity .25s, transform .3s; }
.mvr.is-entering .mvr-cover { animation: mvrCoverIn .75s cubic-bezier(.2, 1.1, .3, 1) both; }
.mvr.is-entering .mvr-vinyl { animation: mvrVinylIn 1s cubic-bezier(.2, .9, .3, 1) both, mvrSpin 3.6s linear 1s infinite; }
.mvr.is-entering .mvr-info > * { animation: mvrTextIn .6s cubic-bezier(.2, .9, .3, 1) both; }
.mvr.is-entering .mvr-info > :nth-child(2) { animation-delay: .05s; } .mvr.is-entering .mvr-info > :nth-child(3) { animation-delay: .1s; }
.mvr.is-entering .mvr-info > :nth-child(4) { animation-delay: .15s; } .mvr.is-entering .mvr-info > :nth-child(5) { animation-delay: .2s; } .mvr.is-entering .mvr-info > :nth-child(6) { animation-delay: .25s; }
@keyframes mvrCoverIn { from { opacity: 0; transform: translateX(calc(var(--dir) * 60px)) rotateY(calc(var(--dir) * -35deg)) scale(.9); } }
@keyframes mvrVinylIn { from { opacity: 0; transform: translateX(0) rotate(-120deg); } to { transform: translateX(30%) rotate(0); } }
@keyframes mvrTextIn { from { opacity: 0; transform: translateX(calc(var(--dir) * 40px)); } }

@media (max-width: 900px) {
  .mvr { min-height: 0; }
  .mvr-main { grid-template-columns: 1fr; text-align: center; }
  .mvr-art { width: min(300px, 72vw); margin-right: 18%; }
  .mvr-genres, .mvr-actions { justify-content: center; }
  .mvr-arrow { width: 42px; height: 42px; }
}
@media (prefers-reduced-motion: reduce) { .mvr-vinyl, .mvr-ghost span, .mvr-bg__grain { animation: none !important; } .mvr-chip, .mvr-cover { transition: none; } }

/* tap-to-preview: the cover is a button; a pulsing hint until someone has tried it, then a quieter play dot */
button.mvr-cover { padding: 0; border: 0; background: none; cursor: pointer; font: inherit; color: inherit; display: block; }
button.mvr-cover:disabled { cursor: default; }
button.mvr-cover:disabled .mvr-hint { display: none; }
button.mvr-cover:focus-visible { outline: 3px solid var(--c2); outline-offset: 4px; }
.mvr-hint { position: absolute; left: 16px; bottom: 16px; z-index: 3; display: flex; align-items: center; gap: 10px; pointer-events: none; }
.mvr-hint__dot { position: relative; z-index: 1; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: #0d0d0d; box-shadow: 0 10px 26px rgba(0, 0, 0, .45); transition: transform .3s cubic-bezier(.2, 1.6, .4, 1), background .2s; }
.mvr-hint__dot svg { width: 22px; height: 22px; } .mvr-hint__dot .i-play { margin-left: 3px; }
.mvr-hint__dot .i-stop, .mvr.is-previewing .mvr-hint__dot .i-play { display: none; }
.mvr.is-previewing .mvr-hint__dot .i-stop { display: block; }
.mvr-hint__ring { position: absolute; left: 0; top: 0; width: 52px; height: 52px; border-radius: 50%; border: 2px solid #fff; opacity: 0; animation: mvrRing 2.2s cubic-bezier(.2, .7, .3, 1) infinite; }
.mvr-hint__ring:nth-child(2) { animation-delay: 1.1s; }
@keyframes mvrRing { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(2.3); opacity: 0; } }
.mvr-hint__txt { padding: 9px 13px; border-radius: 999px; background: rgba(0, 0, 0, .55); color: #fff; font: 700 11px/1 "ibm-plex-mono", monospace; letter-spacing: .14em; text-transform: uppercase; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); white-space: nowrap; animation: mvrNudge 2.2s ease-in-out infinite; }
@keyframes mvrNudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(4px); } }
.mvr-cover:hover .mvr-hint__dot { transform: scale(1.12); background: var(--c2); }
/* once they've tried it (or while it plays), the hint quiets down to just the dot */
.mvr[data-previewed] .mvr-hint__ring, .mvr.is-previewing .mvr-hint__ring { animation: none; opacity: 0; }
.mvr[data-previewed] .mvr-hint__txt, .mvr.is-previewing .mvr-hint__txt { display: none; }
.mvr.is-loading .mvr-hint__dot { animation: mvrPulse .8s ease-in-out infinite; }
@keyframes mvrPulse { 50% { transform: scale(.9); opacity: .7; } }
/* what's playing: a strip along the top of the cover with a little equaliser and a progress line */
.mvr-now { position: absolute; left: 12px; right: 12px; top: 12px; z-index: 3; display: flex; align-items: center; gap: 10px; padding: 10px 14px 12px; border-radius: 12px; overflow: hidden;
  background: rgba(0, 0, 0, .6); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: #fff; text-align: left; font: 400 15px/1.2 "new-spirit-condensed", Georgia, serif;
  opacity: 0; transform: translateY(-10px); transition: opacity .3s, transform .4s cubic-bezier(.2, 1.3, .4, 1); pointer-events: none; }
.mvr.is-previewing .mvr-now, .mvr.is-nopreview .mvr-now { opacity: 1; transform: none; }
.mvr-now__t { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mvr-now__bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--c2); }
.mvr-eq { display: flex; align-items: flex-end; gap: 2px; height: 14px; flex: none; }
.mvr-eq i { width: 3px; background: var(--c2); animation: mvrEq .8s ease-in-out infinite alternate; }
.mvr-eq i:nth-child(2) { animation-delay: -.2s; } .mvr-eq i:nth-child(3) { animation-delay: -.45s; } .mvr-eq i:nth-child(4) { animation-delay: -.65s; }
@keyframes mvrEq { from { height: 3px; } to { height: 14px; } }
.mvr.is-nopreview .mvr-eq { display: none; }
/* while a preview plays the vinyl spins faster and the cover breathes with it */
.mvr.is-previewing .mvr-vinyl { animation-duration: 1.6s; }
.mvr.is-previewing .mvr-cover { box-shadow: 0 50px 90px rgba(0, 0, 0, .6), 0 0 0 2px var(--c2), 0 0 160px -20px var(--c1); }
@media (prefers-reduced-motion: reduce) { .mvr-hint__ring, .mvr-hint__txt, .mvr-eq i { animation: none !important; } }

/* "Watch The Video": flashes in the cover's corner while a preview of a song with a music video is playing */
.mvr-art { position: relative; }
.mvr-watch { position: absolute; z-index: 6; top: -14px; right: -18px; display: inline-flex; align-items: center; gap: 8px; padding: 11px 16px 11px 12px; border: 0; border-radius: 999px; cursor: pointer;
  background: #ff3d3d; color: #fff; font: 700 12px/1 "ibm-plex-mono", monospace; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .45), 0 0 0 0 rgba(255, 61, 61, .7); transform: rotate(6deg); animation: mvrWatchIn .45s cubic-bezier(.2, 1.6, .4, 1) both, mvrWatchFlash 1.1s ease-in-out .45s infinite; }
.mvr-watch[hidden] { display: none; }
.mvr-watch svg { width: 16px; height: 16px; flex: none; }
.mvr-watch:hover { animation-play-state: paused; background: #fff; color: #ff3d3d; }
@keyframes mvrWatchIn { from { opacity: 0; transform: rotate(-20deg) scale(.3); } }
@keyframes mvrWatchFlash {
  0%, 100% { box-shadow: 0 10px 26px rgba(0, 0, 0, .45), 0 0 0 0 rgba(255, 61, 61, .7); filter: brightness(1); transform: rotate(6deg) scale(1); }
  50% { box-shadow: 0 10px 26px rgba(0, 0, 0, .45), 0 0 0 14px rgba(255, 61, 61, 0); filter: brightness(1.25); transform: rotate(6deg) scale(1.07); }
}
@media (max-width: 700px) { .mvr-watch { top: -10px; right: -6px; padding: 9px 12px 9px 10px; font-size: 10px; } }
@media (prefers-reduced-motion: reduce) { .mvr-watch { animation: none; } }

/* store releases: "More From" next to the artist, "Support + Buy", and the More From panel */
.mvr-artist { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.mvr-more-btn { padding: 8px 14px; border: 0; border-radius: 999px; cursor: pointer; background: rgba(255, 255, 255, .1); color: #fff; box-shadow: inset 0 0 0 1px var(--c2a);
  font: 700 11px/1 "ibm-plex-mono", monospace; letter-spacing: .16em; text-transform: uppercase; transition: background .2s, color .2s, transform .2s; }
.mvr-more-btn:hover, .mvr-more-btn:focus-visible { background: var(--c2); color: #0d0d0d; transform: translateY(-1px); }
.mvr-more-btn[hidden] { display: none; }
.mvr-buy { background: linear-gradient(135deg, var(--c2), #fed031); color: #0d0d0d !important; box-shadow: 0 10px 30px -8px var(--c2a); animation: mvrBuyGlow 2.6s ease-in-out infinite; }
.mvr-buy[hidden] { display: none; }
.mvr-buy svg { color: #e0245e; }
.mvr-buy:hover { transform: translateY(-2px) scale(1.02); }
@keyframes mvrBuyGlow { 50% { box-shadow: 0 14px 40px -6px var(--c2a), 0 0 0 4px rgba(254, 208, 49, .18); } }
.mvr.is-more .mvr-main, .mvr.is-more .mvr-arc { filter: blur(10px) brightness(.5); transition: filter .3s ease; }
.mvr-more { position: absolute; inset: 0; z-index: 8; display: flex; flex-direction: column; gap: 18px; padding: clamp(18px, 3vw, 36px); overflow-y: auto;
  background: linear-gradient(180deg, rgba(0, 0, 0, .55), rgba(0, 0, 0, .75)); opacity: 0; transition: opacity .28s ease; }
.mvr-more[hidden] { display: none; }
.mvr-more.is-open { opacity: 1; }
.mvr-more__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.mvr-more__head h4 { margin: 0; font: 400 clamp(26px, 3.4vw, 44px)/1.05 "Shrikhand", serif; color: #fff; }
.mvr-more__x { width: 44px; height: 44px; flex: none; border: 0; border-radius: 50%; cursor: pointer; background: var(--c2); color: #0d0d0d; font-size: 26px; line-height: 1; transition: transform .3s; }
.mvr-more__x:hover { transform: rotate(90deg); }
.mvr-more__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 22px; }
.mvr-mi { display: flex; flex-direction: column; gap: 4px; color: #fff; opacity: 0; transform: translateY(14px); }
.mvr-more.is-open .mvr-mi { opacity: 1; transform: none; transition: opacity .4s ease calc(var(--k) * 60ms + 80ms), transform .5s cubic-bezier(.2, .9, .3, 1) calc(var(--k) * 60ms + 80ms); }
.mvr-mi__art { display: block; border-radius: 10px; overflow: hidden; margin-bottom: 6px; box-shadow: 0 16px 34px rgba(0, 0, 0, .5); }
.mvr-mi__art img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .4s ease; }
.mvr-mi__art:hover img { transform: scale(1.05); }
.mvr-mi b { font: 400 20px/1.15 "new-spirit-condensed", Georgia, serif; }
.mvr-mi small { color: rgba(255, 255, 255, .65); font: 600 10px/1.4 "ibm-plex-mono", monospace; letter-spacing: .12em; text-transform: uppercase; }
.mvr-mi__buy, .mvr-mi__out { align-self: flex-start; white-space: nowrap; margin-top: 8px; padding: 9px 14px; border-radius: 999px; text-decoration: none !important; font: 700 11px/1 "ibm-plex-mono", monospace; letter-spacing: .1em; text-transform: uppercase; }
.mvr-mi__buy { background: var(--c2); color: #0d0d0d !important; }
.mvr-mi__out { color: #fff !important; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35); }
@media (max-width: 700px) { .mvr-artist { justify-content: center; } .mvr-more__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; } }
@media (prefers-reduced-motion: reduce) { .mvr-buy { animation: none; } .mvr-mi { opacity: 1; transform: none; } }
