/* Roberto Sound V15 — WebGL fluid cursor + dark Spotify presentation */

/* Shatlyk-style WebGL fluid layer from the supplied reference. */
#fluid{
  position:fixed!important;
  inset:0!important;
  width:100vw!important;
  height:100vh!important;
  display:block!important;
  pointer-events:none!important;
  z-index:0!important;
  opacity:.98!important;
  mix-blend-mode:screen!important;
}
body::before{z-index:-2!important}
.site-grid,.roberto-agency-chrome,.sticky-player,.lyrics-dialog,.toast{position:relative;z-index:2}
.roberto-agency-chrome{position:relative}
.roberto-agency-menu-toggle,.roberto-corner-brand,.roberto-agency-menu,.roberto-agency-backdrop{position:fixed!important}
/* Disable the earlier approximate particle / ribbon layers. */
#robertoAmbientCanvas,#robertoSmokeCanvas{display:none!important}

#robertoCursorOrb,#robertoCursorDot{z-index:9000!important}
#robertoCursorOrb{
  width:48px!important;height:48px!important;
  border:1.4px solid rgba(244,241,245,.55)!important;
  background:rgba(17,16,20,.10)!important;
  box-shadow:0 0 0 1px rgba(0,0,0,.16),0 0 28px rgba(255,255,255,.06)!important;
  backdrop-filter:blur(1.5px);
}
#robertoCursorDot{width:4px!important;height:4px!important;background:#fff!important;box-shadow:0 0 14px rgba(255,255,255,.86)!important}
body.cursor-hot #robertoCursorOrb{width:76px!important;height:76px!important;background:rgba(255,255,255,.055)!important;border-color:rgba(255,255,255,.78)!important}

/* Spotify: dark monochrome surface, never the previous green sheet. */
.spotify-panel{
  background:
    radial-gradient(circle at 86% 8%,rgba(111,72,160,.18),transparent 27%),
    radial-gradient(circle at 12% 72%,rgba(80,75,88,.14),transparent 32%),
    linear-gradient(145deg,#111014 0%,#17151b 53%,#0d0d0f 100%)!important;
  color:#f4f1f5!important;
  border:1px solid rgba(255,255,255,.14)!important;
  box-shadow:0 28px 70px rgba(0,0,0,.34)!important;
}
.spotify-panel::after{border-color:rgba(255,255,255,.035)!important}
.spotify-panel *{--rs-spotify-text:#f4f1f5!important}
.spotify-panel h2,.spotify-panel h3,.spotify-panel strong,.spotify-panel p,.spotify-panel span{color:inherit!important}

.spotify-brand-block{align-items:center!important;gap:1rem!important}
.spotify-mark{display:none!important}
.spotify-logo-lockup{display:flex;align-items:center;gap:.72rem;color:#fff;min-width:max-content}
.spotify-logo-lockup svg{width:48px;height:48px;display:block;color:#fff;filter:drop-shadow(0 7px 22px rgba(0,0,0,.2))}
.spotify-logo-wordmark{font:800 clamp(1.8rem,3.1vw,3.65rem)/.9 Arial,Helvetica,sans-serif;letter-spacing:-.065em;color:#fff!important}
.spotify-brand-block>div>span.spotify-eyebrow{font-size:.58rem!important;letter-spacing:.17em!important;color:#a9a4ae!important}
.spotify-brand-block h3{font-size:clamp(1.15rem,2vw,2.1rem)!important;color:#e5e1e8!important;letter-spacing:-.045em!important;text-transform:none!important;line-height:1!important}

.spotify-copy>p{color:#c4bec9!important}
.spotify-actions input{background:#0e0d11!important;color:#f4f1f5!important;border-color:rgba(255,255,255,.22)!important}
.spotify-actions input::placeholder{color:#8e8992!important}
.spotify-button{border-color:rgba(255,255,255,.34)!important;color:#f7f4f8!important;background:#1c1a20!important}
.spotify-button.dark{background:#f3f0f4!important;color:#111014!important;border-color:#f3f0f4!important}
.spotify-button:hover{background:#2a272f!important;color:#fff!important}
.spotify-button.dark:hover{background:#fff!important;color:#111!important}
.spotify-note{color:#8f8994!important}

.spotify-now-card{background:#0c0b0e!important;color:#fff!important;border-color:rgba(255,255,255,.12)!important}
.spotify-now-card img{border-radius:8px!important;box-shadow:0 18px 40px rgba(0,0,0,.42)!important}
.spotify-now-copy>span{color:#a9a4ae!important}
.spotify-now-copy p{color:#b9b4bd!important}
.spotify-now-copy a{color:#111014!important;background:#f2eff3!important}

.spotify-charts{background:#0b0a0d!important;border-color:rgba(255,255,255,.12)!important;color:#f5f2f6!important;padding:1rem!important}
.spotify-chart-head span{color:#a8a2ad!important}
.spotify-chart-tabs button{border-color:rgba(255,255,255,.24)!important;color:#ded9e1!important;background:#151319!important}
.spotify-chart-tabs button.active{background:#f2eff3!important;color:#111014!important;border-color:#f2eff3!important}
.spotify-chart-embed{background:#121212!important;border:1px solid rgba(255,255,255,.08)!important}
.spotify-embed{background:#131116!important;color:#dcd7df!important;border-color:rgba(255,255,255,.13)!important}

/* Per-track album artwork shelf above the official Top 50 player. */
.spotify-chart-artwork{margin:0 0 1rem;display:grid;gap:.75rem}
.spotify-chart-art-head{display:flex;align-items:end;justify-content:space-between;gap:1rem;padding:.1rem .1rem .05rem}
.spotify-chart-art-head>div{display:grid;gap:.18rem}
.spotify-chart-art-head span{font-size:.52rem!important;font-weight:950!important;letter-spacing:.17em!important;color:#aaa5ae!important}
.spotify-chart-art-head strong{font-size:clamp(1rem,1.8vw,1.45rem)!important;letter-spacing:-.025em!important;color:#f7f4f8!important}
.spotify-chart-art-head small{max-width:52ch;text-align:right;color:#8e8993!important;font-size:.6rem;line-height:1.35}
.spotify-chart-art-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:.68rem}
.spotify-chart-art-card{min-width:0;display:grid;gap:.52rem;color:#fff!important;text-decoration:none!important;transition:transform .32s cubic-bezier(.16,1,.3,1),border-color .25s ease,background .25s ease;transform-style:preserve-3d}
.spotify-chart-art-media{position:relative;aspect-ratio:1;overflow:hidden;border-radius:8px;border:1px solid rgba(255,255,255,.13);background:linear-gradient(145deg,#211e26,#0d0c10)}
.spotify-chart-art-media img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;transition:opacity .28s ease;display:block}
.spotify-chart-art-card.has-art .spotify-chart-art-media img{opacity:1}
.spotify-chart-art-placeholder{position:absolute;inset:0;display:grid;place-items:center;font-size:clamp(2rem,5vw,5.2rem);font-weight:950;color:#5d5864;background:radial-gradient(circle at 30% 24%,#292631,#121116 68%)}
.spotify-chart-rank{position:absolute;z-index:2;left:.42rem;top:.42rem;display:grid;place-items:center;min-width:30px;height:24px;padding:0 .38rem;border:1px solid rgba(255,255,255,.34);background:rgba(10,9,12,.68);backdrop-filter:blur(10px);font-size:.55rem!important;font-weight:950!important;color:#fff!important;letter-spacing:.05em!important}
.spotify-chart-art-copy{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.1rem .35rem;align-items:start}
.spotify-chart-art-copy strong{grid-column:1/-1;font-size:.72rem!important;line-height:1.12!important;letter-spacing:-.015em!important;color:#f6f3f7!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.spotify-chart-art-copy span{min-width:0;font-size:.58rem!important;color:#a8a3ac!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.spotify-chart-art-copy small{font-size:.54rem;color:#77727d;justify-self:end}
.spotify-chart-art-card:hover .spotify-chart-art-media{border-color:rgba(255,255,255,.45)}

/* Spotify logo/metadata must remain legible on dark backgrounds. */
.spotify-panel iframe{color-scheme:dark}

@media(max-width:1180px){.spotify-chart-art-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:760px){
  .spotify-logo-lockup svg{width:38px;height:38px}.spotify-logo-wordmark{font-size:2rem}
  .spotify-chart-art-head{align-items:flex-start;flex-direction:column}.spotify-chart-art-head small{text-align:left}
  .spotify-chart-art-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:520px){.spotify-chart-art-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.55rem}}
@media(hover:none),(pointer:coarse),(prefers-reduced-motion:reduce){#fluid{display:none!important}}
