/* Wave Rail — curved top carousel (Music Trending, Private media). See wave-rail.js. */
.wr{--wr-w:188px;--wr-h:282px;--wr-violet:#5B21B6;--wr-violet-hi:#7A2BFF;--wr-deep:#241044;--wr-lemon:#C1FF72;--wr-on-lemon:#1d0b3a;
  position:relative;isolation:isolate;margin:4px 0 10px;padding:30px 0 34px;color:#fff;user-select:none;-webkit-user-select:none;-webkit-tap-highlight-color:transparent}
.wr-square{--wr-w:176px;--wr-h:176px}
@media(max-width:600px){.wr{--wr-w:146px;--wr-h:219px;padding:26px 0 30px}.wr-square{--wr-w:136px;--wr-h:136px}}

/* Band: violet, wavy top and bottom edges (same curve language as the app headers). */
.wr-band{position:absolute;inset:0;z-index:-1;overflow:hidden;background:
  radial-gradient(120% 90% at 50% 0%,rgba(122,43,255,.55),transparent 60%),
  linear-gradient(160deg,var(--wr-violet) 0%,#3b1580 48%,var(--wr-deep) 100%);
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 400' preserveAspectRatio='none'%3E%3Cpath d='M0 26C150 4 300 4 450 20S750 44 900 26 1110 4 1200 14V378C1050 400 900 394 750 380S450 356 300 372 90 398 0 386Z'/%3E%3C/svg%3E") 0 0/100% 100% no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 400' preserveAspectRatio='none'%3E%3Cpath d='M0 26C150 4 300 4 450 20S750 44 900 26 1110 4 1200 14V378C1050 400 900 394 750 380S450 356 300 372 90 398 0 386Z'/%3E%3C/svg%3E") 0 0/100% 100% no-repeat}
/* Cover glow: the active art, heavily softened, tints the band behind the cards. */
.wr-glow{position:absolute;left:50%;top:50%;width:70%;height:120%;object-fit:cover;transform:translate(-50%,-50%) scale(1.1);filter:blur(42px) saturate(1.5);opacity:0;transition:opacity 700ms cubic-bezier(.22,1,.36,1);mix-blend-mode:screen;pointer-events:none}
.wr-glow.on{opacity:.5}
.wr-glow:not([src]){display:none}

.wr-stage{position:relative;height:calc(var(--wr-h) + 10px);outline:none;touch-action:pan-y;cursor:grab;overflow:hidden;overflow:clip;overflow-clip-margin:24px}
.wr-stage:active{cursor:grabbing}
.wr-stage:focus-visible{box-shadow:inset 0 0 0 2px var(--wr-lemon);border-radius:18px}
.wr-card{position:absolute;left:50%;top:0;width:var(--wr-w);height:var(--wr-h);transform-origin:50% 50%;will-change:transform;contain:layout style}
.wr-hit{position:absolute;inset:0;display:block;width:100%;height:100%;padding:0;border:0;border-radius:22px;overflow:hidden;cursor:pointer;color:#e9dcff;
  background:linear-gradient(150deg,#6d34d8,#2a0f5c);box-shadow:0 14px 28px -10px rgba(10,2,30,.65),0 3px 8px rgba(10,2,30,.3)}
.wr-hit::after{content:"";position:absolute;inset:0;border-radius:inherit;background:rgba(26,22,34,calc(var(--dim,0) * .42));box-shadow:inset 0 0 0 1px rgba(255,255,255,.14);pointer-events:none}
.wr-hit img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;transition:opacity 320ms ease-out}
.wr-ready .wr-hit img{opacity:1}
.wr-ph{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);font-size:calc(var(--wr-w) * .2);opacity:.55}
.wr-ready .wr-ph{display:none}
.wr-on .wr-hit{box-shadow:0 22px 36px -12px rgba(10,2,30,.75),0 0 0 2px rgba(193,255,114,.85),0 6px 12px rgba(10,2,30,.35)}
.wr-on .wr-hit:hover img{transform:scale(1.035);transition:transform 500ms cubic-bezier(.22,1,.36,1),opacity 320ms ease-out}

/* Rank: lemon numeral with a stepped violet extrusion, sitting over the card's bottom-right corner. */
.wr-rank{position:absolute;right:-8px;bottom:-12px;font:800 calc(var(--wr-h) * .3)/1 Poppins,system-ui,sans-serif;letter-spacing:-.04em;font-variant-numeric:tabular-nums;color:var(--wr-lemon);pointer-events:none;
  text-shadow:2px 2px 0 var(--wr-violet-hi),4px 4px 0 #3b1580,6px 6px 0 var(--wr-deep),0 10px 18px rgba(0,0,0,.45)}
.wr-square .wr-rank{font-size:calc(var(--wr-h) * .42)}
.wr-l .wr-rank{right:auto;left:-8px}
.wr-card:not(.wr-on) .wr-rank{opacity:calc(1 - var(--dim,0) * .5);font-size:calc(var(--wr-h) * .22)}
.wr-square .wr-card:not(.wr-on) .wr-rank{font-size:calc(var(--wr-h) * .3)}
@media(min-width:1100px){.wr{--wr-w:212px;--wr-h:318px}.wr-square{--wr-w:196px;--wr-h:196px}}

/* Caption for the centre card. */
.wr-cap{position:relative;z-index:2;display:flex;align-items:center;justify-content:center;gap:14px;max-width:min(640px,calc(100% - 32px));margin:6px auto 0;min-height:52px}
.wr-cap-text{min-width:0;text-align:left}
.wr-cap h3{margin:0;font-size:19px;line-height:1.2;font-weight:800;letter-spacing:-.02em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:42ch}
.wr-cap p{margin:3px 0 0;font-size:12px;line-height:1.3;color:#dccbff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:56ch}
.wr-cap-actions{display:flex;gap:8px;flex-shrink:0}
.wr-play{display:inline-flex;align-items:center;gap:8px;height:42px;padding:0 18px;border:0;border-radius:21px;background:var(--wr-lemon);color:var(--wr-on-lemon);font:inherit;font-size:14px;font-weight:800;line-height:1;cursor:pointer;
  box-shadow:0 6px 14px -4px rgba(193,255,114,.45),0 2px 4px rgba(0,0,0,.2);transition:transform 160ms cubic-bezier(.22,1,.36,1),box-shadow 160ms ease-out}
.wr-play:hover{transform:translateY(-1px);box-shadow:0 10px 18px -4px rgba(193,255,114,.55),0 2px 4px rgba(0,0,0,.2)}
.wr-play:active{transform:scale(.96)}
.wr-play i{font-size:12px}
.wr-more{width:42px;height:42px;border-radius:21px;border:1px solid rgba(255,255,255,.24);background:rgba(255,255,255,.12);color:#fff;cursor:pointer;transition:background 160ms ease-out}
.wr-more:hover{background:rgba(255,255,255,.22)}
.wr-play:focus-visible,.wr-more:focus-visible,.wr-dot:focus-visible{outline:2px solid #fff;outline-offset:3px}
.wr-swap .wr-cap-text{animation:wr-cap 340ms cubic-bezier(.22,1,.36,1)}
@keyframes wr-cap{from{opacity:0;transform:translateY(6px)}}

/* Liquid pager: the active dot stretches into a lemon pill. */
.wr-dots{display:flex;justify-content:center;gap:2px;margin-top:10px}
.wr-dot{position:relative;width:20px;height:20px;padding:0;border:0;background:transparent;cursor:pointer}
.wr-dot::before{content:"";position:absolute;left:50%;top:50%;width:7px;height:7px;border-radius:4px;background:rgba(220,203,255,.5);transform:translate(-50%,-50%);transition:width 420ms cubic-bezier(.34,1.4,.5,1),background 300ms ease-out}
.wr-dot:hover::before{background:rgba(220,203,255,.85)}
.wr-dot.on{width:30px}
.wr-dot.on::before{width:24px;background:var(--wr-lemon)}
.wr-count{margin-top:10px;text-align:center;font:600 12px/1 Poppins,system-ui,sans-serif;color:#dccbff;font-variant-numeric:tabular-nums;letter-spacing:.04em}
.wr-count b{color:var(--wr-lemon);font-size:15px}

/* Entrance (first paint only): cards rise into place from the centre out. */
.wr-enter .wr-card{animation:wr-in 760ms cubic-bezier(.22,1,.36,1) both;animation-delay:calc(var(--k,0) * 70ms)}
.wr-enter .wr-band{animation:wr-band 700ms cubic-bezier(.22,1,.36,1) both}
@keyframes wr-in{from{opacity:0;translate:0 46px}}
@keyframes wr-band{from{opacity:0;transform:scaleY(.86)}}
.wr-single .wr-stage{cursor:default}

@media(prefers-reduced-motion:reduce){.wr-glow,.wr-hit img,.wr-dot::before,.wr-play{transition:none}.wr-swap .wr-cap-text,.wr-enter .wr-card,.wr-enter .wr-band{animation:none}}
@media(max-width:600px){.wr-cap{flex-direction:column;gap:8px;text-align:center}.wr-cap-text{text-align:center;max-width:100%}.wr-cap h3{font-size:17px;max-width:100%}.wr-play{height:40px}.wr-more{width:40px;height:40px}}
.wr ::selection{background:var(--wr-lemon);color:var(--wr-on-lemon)}

/* Page hooks */
.pv-hero{grid-column:1/-1;min-width:0;margin:-4px 0 4px}
.mu-overview:not(.mu-album-overview):has(.mu-wave-section){height:auto;min-height:0;align-items:stretch}
.mu-trending-section.mu-wave-section{height:auto;align-self:stretch}
.mu-wave-section>h2{display:flex;align-items:center;gap:8px;height:auto;margin:0 0 4px;font-size:15px;font-weight:800;letter-spacing:-.01em;color:#f3eaff}
.mu-wave-section>h2 i{color:var(--lemon,#C1FF72);font-size:13px}
.mu-wave-section .wr{margin:0}
.mu-grid>.mu-overview{grid-column:1/-1;width:100%;padding:0 0 6px;box-sizing:border-box}
.mu-head.search-open~.mu-grid .mu-wave-section{display:none}
