/* Styles communs : couleurs, animations, pochettes d'artistes */
:root{
  --bg:#1b0f4a; --ink:#ffffff; --mute:#cdbfff; --line:#4b3a9a; --panel:#261a6e;
  --a:#ff4d6d; --b:#35a7ff; --c:#ffd23f; --d:#2ee6a6; --p:#a259ff;
  --display:'Fredoka','Trebuchet MS',system-ui,sans-serif; --body:'DM Sans',system-ui,-apple-system,'Segoe UI',sans-serif;
  --pop:cubic-bezier(.3,1.7,.5,1);
  color-scheme:dark;
}
*{box-sizing:border-box}
html,body{margin:0}
body{background:var(--bg);color:var(--ink);font-family:var(--body);font-size:15px;line-height:1.45}
button{font:inherit;color:inherit;cursor:pointer;border:0}
button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid var(--c);outline-offset:2px}
@keyframes bgshift{0%,100%{background-position:0% 50%}50%{background-position:100% 50%}}
@keyframes hop{0%,60%,100%{transform:translateY(0)}30%{transform:translateY(-9px) rotate(-6deg)}}
@keyframes slam{from{transform:scale(.3) rotate(-6deg);opacity:0}}
@keyframes up{from{transform:translateY(14px);opacity:0}}
@keyframes wob{0%,100%{transform:rotate(0)}50%{transform:rotate(-1.6deg) scale(1.03)}}
@keyframes blink{to{opacity:.45}}
@keyframes shake{0%,100%{transform:rotate(-7deg)}50%{transform:rotate(7deg) scale(1.1)}}
@keyframes eq{from{height:12%}to{height:100%}}
@keyframes spin{to{transform:rotate(360deg)}}
.fx{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:50}

/* Pochette : l'image de l'artiste, ou ses initiales sur une couleur */
.cover{width:var(--cs,64px);height:var(--cs,64px);border-radius:calc(var(--cs,64px)*.1);overflow:hidden;flex:none;
  background:linear-gradient(135deg,hsl(var(--h) 80% 55%),hsl(calc(var(--h) + 60) 80% 38%));
  display:grid;place-items:center;font-family:var(--display);font-weight:700;font-size:calc(var(--cs,64px)*.38);color:#fff}
.cover img{width:100%;height:100%;object-fit:cover;display:block}
.cover.round{border-radius:50%}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
