/* VYBE web player: desktop streaming layout in the app's look. Sidebar · pages · now playing · player bar. */
body.player { height: 100vh; overflow: hidden; background: #000; }
.shell { display: grid; height: 100vh; padding: 8px; gap: 8px; grid-template-columns: 300px 1fr 340px; grid-template-rows: 1fr 84px; grid-template-areas: "side main np" "bar bar bar"; }
.shell.np-off { grid-template-columns: 300px 1fr; grid-template-areas: "side main" "bar bar"; }
.shell.np-off .np { display: none; }
.panel { background: #0B0C12; border-radius: 14px; overflow: hidden; min-height: 0; }
svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
svg .f, svg.f { fill: currentColor; stroke: none; }

/* sidebar */
.side { grid-area: side; display: flex; flex-direction: column; gap: 8px; min-height: 0; }
.nav-panel { padding: 18px 12px 10px; }
.nav-panel .brand { padding: 0 12px 14px; }
.nav-panel nav a { display: flex; align-items: center; gap: 16px; height: 44px; padding: 0 12px; border-radius: 10px; color: var(--muted); font-weight: 700; font-size: 15px; transition: color .2s, background .2s; }
.nav-panel nav a:hover { color: var(--ink); }
.nav-panel nav a.on { color: var(--ink); background: rgba(255,255,255,.06); }
.lib { flex: 1; display: flex; flex-direction: column; }
.lib-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px 10px; color: var(--muted); font-weight: 700; }
.lib-head span { display: flex; gap: 12px; align-items: center; }
.lib-list { overflow-y: auto; padding: 4px 8px 12px; flex: 1; }
.li { display: flex; align-items: center; gap: 12px; padding: 7px 10px; border-radius: 10px; cursor: pointer; transition: background .2s; }
.li:hover { background: rgba(255,255,255,.05); }
.li.on { background: rgba(255,255,255,.08); }
.li img, .li .cov { width: 48px; height: 48px; border-radius: 8px; object-fit: cover; flex: none; }
.li .round { border-radius: 50%; }
.li b { display: block; font-size: 14.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.li small { color: var(--dim); font-size: 12.5px; }
.li > div { min-width: 0; }
.liked-cov { display: grid; place-items: center; background: linear-gradient(135deg, #7B5CFF, #E0389B); }

/* main */
.main { grid-area: main; position: relative; display: flex; flex-direction: column; }
.topbar { position: absolute; top: 0; left: 0; right: 0; z-index: 5; display: flex; align-items: center; gap: 12px; padding: 14px 20px; transition: background .3s; }
.topbar.solid { background: rgba(11,12,18,.92); backdrop-filter: blur(12px); }
.hist { display: flex; gap: 8px; }
.circ { width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(0,0,0,.6); color: var(--ink); display: grid; place-items: center; cursor: pointer; }
.circ svg { width: 18px; height: 18px; }
.search { display: none; align-items: center; gap: 10px; height: 46px; width: min(420px, 50%); padding: 0 16px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid transparent; }
.search:focus-within { border-color: rgba(255,255,255,.35); background: rgba(255,255,255,.1); }
.search.show { display: flex; }
.search input { flex: 1; background: none; border: 0; outline: 0; font-size: 15px; }
.me-area { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.avbtn { width: 38px; height: 38px; border-radius: 50%; border: 3px solid rgba(0,0,0,.5); display: grid; place-items: center; font-weight: 800; color: #0B0B10; cursor: pointer; }
.view { overflow-y: auto; flex: 1; scroll-behavior: smooth; }
.view::-webkit-scrollbar, .lib-list::-webkit-scrollbar, .np::-webkit-scrollbar { width: 10px; }
.view::-webkit-scrollbar-thumb, .lib-list::-webkit-scrollbar-thumb, .np::-webkit-scrollbar-thumb { background: rgba(255,255,255,.12); border-radius: 10px; border: 3px solid transparent; background-clip: padding-box; }
.pad { padding: 0 28px 40px; }
.hdr { position: relative; padding: 110px 28px 30px; display: flex; align-items: flex-end; gap: 26px; min-height: 400px; background: linear-gradient(180deg, color-mix(in srgb, var(--c1, #333) 38%, transparent), transparent 92%); }
.hdr > div:last-child { max-width: 58%; }
.hdr h1 { text-shadow: 0 8px 50px rgba(0,0,0,.45); }
.hdr .art { width: 220px; height: 220px; border-radius: 14px; object-fit: cover; box-shadow: 0 20px 60px rgba(0,0,0,.55); flex: none; }
.hdr .art.round { border-radius: 50%; }
.hdr .k { font-size: 13px; font-weight: 700; }
.hdr h1 { font-size: clamp(42px, 6.2vw, 92px); letter-spacing: -.04em; margin: 8px 0 12px; line-height: .95; }
.hdr p { color: rgba(255,255,255,.75); font-size: 15px; max-width: 640px; }
.actions { display: flex; align-items: center; gap: 22px; padding: 24px 28px; }
.bigplay { width: 58px; height: 58px; border-radius: 50%; border: 0; display: grid; place-items: center; cursor: pointer; background: #fff; color: #0B0B10; transition: transform .2s; box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.bigplay:hover { transform: scale(1.05); }
.bigplay svg { width: 26px; height: 26px; }
.iconbtn { background: none; border: 0; color: var(--muted); cursor: pointer; display: grid; place-items: center; }
.iconbtn:hover { color: var(--ink); }
.iconbtn.on { color: #3FD1A0; }
.iconbtn svg { width: 30px; height: 30px; }

/* home */
.greet { padding: 84px 28px 8px; background: linear-gradient(180deg, var(--c1, rgba(123,92,255,.35)), transparent 340px); transition: background 1s; }
.greet h1 { font-size: 34px; letter-spacing: -.03em; margin-bottom: 18px; }
.quick { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; }
.qt { display: flex; align-items: center; gap: 14px; height: 64px; padding-right: 10px; border-radius: 8px; background: rgba(255,255,255,.07); overflow: hidden; cursor: pointer; position: relative; transition: background .25s; font-weight: 700; }
.qt:hover { background: rgba(255,255,255,.14); }
.qt img { width: 64px; height: 64px; object-fit: cover; }
.qt .mini { margin-left: auto; opacity: 0; transform: translateY(4px); transition: all .25s; width: 40px; height: 40px; }
.qt:hover .mini { opacity: 1; transform: none; }
.row-h { display: flex; align-items: baseline; justify-content: space-between; margin: 34px 0 14px; }
.row-h h2 { font-size: 23px; letter-spacing: -.02em; }
.row-h a { color: var(--dim); font-size: 13.5px; font-weight: 700; }
.row-h a:hover { color: var(--ink); text-decoration: underline; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(178px, 1fr)); gap: 8px; }
.card2 { padding: 12px; border-radius: 12px; cursor: pointer; transition: background .25s; position: relative; }
.card2:hover { background: rgba(255,255,255,.06); }
.card2 .img { position: relative; aspect-ratio: 1; margin-bottom: 12px; }
.card2 img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; box-shadow: 0 10px 30px rgba(0,0,0,.4); }
.card2.round img { border-radius: 50%; }
.card2 b { display: block; font-size: 15px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card2 small { color: var(--dim); font-size: 13px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: 4px; }
.mini { position: absolute; right: 8px; bottom: 8px; width: 46px; height: 46px; border-radius: 50%; border: 0; background: #fff; color: #0B0B10; display: grid; place-items: center; cursor: pointer; opacity: 0; transform: translateY(8px); transition: all .3s cubic-bezier(.2,.8,.2,1); box-shadow: 0 8px 20px rgba(0,0,0,.45); }
.mini svg { width: 20px; height: 20px; }
.card2:hover .mini, .card2 .mini.live { opacity: 1; transform: none; }
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 8px; }
.fcard { position: relative; height: 240px; border-radius: 16px; overflow: hidden; cursor: pointer; }
.fcard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s cubic-bezier(.2,.8,.2,1); }
.fcard:hover img { transform: scale(1.05); }
.fcard::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.75), rgba(0,0,0,.05)); }
.fcard .in { position: absolute; left: 24px; bottom: 22px; right: 40%; z-index: 2; }
.fcard .k { font-size: 11.5px; font-weight: 800; letter-spacing: .16em; color: rgba(255,255,255,.75); }
.fcard h3 { font-size: 30px; letter-spacing: -.03em; margin: 6px 0 6px; }
.fcard p { font-size: 13.5px; color: rgba(255,255,255,.8); }

/* track table */
.tt { width: 100%; border-collapse: collapse; }
.tt th { text-align: left; font-size: 12.5px; color: var(--dim); font-weight: 600; padding: 8px 12px; border-bottom: 1px solid var(--line); letter-spacing: .04em; }
.tt td { padding: 8px 12px; font-size: 14px; color: var(--muted); }
.tt tr.row { cursor: pointer; }
.tt tr.row:hover td { background: rgba(255,255,255,.06); }
.tt tr.row td:first-child { border-radius: 8px 0 0 8px; width: 46px; text-align: right; } .tt tr.row td:last-child { border-radius: 0 8px 8px 0; text-align: right; width: 90px; }
.tt .t { display: flex; align-items: center; gap: 12px; }
.tt .t img { width: 42px; height: 42px; border-radius: 6px; object-fit: cover; }
.tt .t b { display: block; color: var(--ink); font-weight: 600; font-size: 15px; }
.tt tr.playing .t b, .tt tr.playing td:first-child { color: #3FD1A0; }
.tt .heart { opacity: 0; } .tt tr.row:hover .heart, .tt .heart.on { opacity: 1; }
.tt .num .pi { display: none; } .tt tr.row:hover .num .n { display: none; } .tt tr.row:hover .num .pi { display: inline; }
.eq { display: inline-flex; gap: 2px; align-items: flex-end; height: 14px; }
.eq i { width: 3px; background: #3FD1A0; animation: eq 1s ease-in-out infinite; } .eq i:nth-child(2) { animation-delay: .2s } .eq i:nth-child(3) { animation-delay: .4s }
.paused .eq i { animation-play-state: paused; }
@keyframes eq { 0%,100% { height: 4px } 50% { height: 14px } }

/* chips + search */
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 18px; }
.browse { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.bt { position: relative; aspect-ratio: 1.55; border-radius: 12px; overflow: hidden; cursor: pointer; padding: 16px; }
.bt h3 { position: relative; z-index: 2; font-size: 24px; letter-spacing: -.02em; }
.bt img { position: absolute; width: 46%; aspect-ratio: 1; right: -8%; bottom: -6%; object-fit: cover; border-radius: 8px; transform: rotate(24deg); box-shadow: 0 8px 20px rgba(0,0,0,.4); transition: transform .4s; }
.bt:hover img { transform: rotate(18deg) scale(1.05); }

/* now playing panel */
.np { grid-area: np; overflow-y: auto; padding: 16px; }
.np h4 { font-size: 16px; margin-bottom: 14px; display: flex; justify-content: space-between; align-items: center; }
.np .cover { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; box-shadow: 0 20px 50px rgba(0,0,0,.5); }
.np .ttl { display: flex; justify-content: space-between; align-items: center; margin: 16px 0 4px; gap: 10px; }
.np .ttl b { font-size: 22px; letter-spacing: -.02em; }
.np .sub2 { color: var(--muted); }
.np .box2 { margin-top: 18px; border-radius: 12px; background: rgba(255,255,255,.05); overflow: hidden; }
.np .box2 .pic { height: 170px; position: relative; }
.np .box2 .pic img { width: 100%; height: 100%; object-fit: cover; }
.np .box2 .pic span { position: absolute; left: 14px; top: 12px; font-weight: 800; font-size: 14px; text-shadow: 0 2px 10px rgba(0,0,0,.6); }
.np .box2 .in { padding: 14px; }
.np .box2 .in b { font-size: 16px; }
.np .box2 .in p { color: var(--muted); font-size: 13.5px; margin-top: 6px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.np .facts { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; margin-top: 12px; }
.np .facts div { padding: 10px; border-radius: 10px; background: rgba(255,255,255,.05); text-align: center; }
.np .facts b { display: block; font-size: 15px; } .np .facts small { color: var(--dim); font-size: 11px; letter-spacing: .08em; }
.np .empty { color: var(--dim); text-align: center; padding: 60px 10px; }

/* player bar */
.bar { grid-area: bar; display: grid; grid-template-columns: 1fr minmax(380px, 1.6fr) 1fr; align-items: center; padding: 0 12px; gap: 16px; }
.bar-l { display: flex; align-items: center; gap: 14px; min-width: 0; }
.bar-l img { width: 58px; height: 58px; border-radius: 8px; object-fit: cover; }
.bar-l b { display: block; color: var(--ink); font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; cursor: pointer; }
.bar-l b:hover, .bar-l small:hover { text-decoration: underline; }
.bar-l small { color: var(--dim); font-size: 12.5px; cursor: pointer; }
.bar-l > div { min-width: 0; }
.ctrls { display: flex; justify-content: center; align-items: center; gap: 18px; }
.ic { width: 34px; height: 34px; border: 0; background: none; color: var(--muted); cursor: pointer; display: grid; place-items: center; position: relative; transition: color .2s, transform .15s; }
.ic:hover { color: var(--ink); } .ic:active { transform: scale(.92); }
.ic svg { width: 20px; height: 20px; }
.ic.on { color: #3FD1A0; } .ic.on::after { content: ''; position: absolute; bottom: 0; width: 4px; height: 4px; border-radius: 50%; background: #3FD1A0; }
.play { width: 40px; height: 40px; border-radius: 50%; border: 0; background: #fff; color: #0B0B10; display: grid; place-items: center; cursor: pointer; transition: transform .15s; }
.play:hover { transform: scale(1.06); } .play svg { width: 20px; height: 20px; }
.prog { display: flex; align-items: center; gap: 10px; margin-top: 6px; font-size: 11.5px; color: var(--dim); font-variant-numeric: tabular-nums; }
.prog span { width: 38px; text-align: center; }
.track { position: relative; flex: 1; height: 4px; border-radius: 2px; background: rgba(255,255,255,.18); cursor: pointer; }
.track::before { content: ''; position: absolute; inset: -8px 0; }
.track .fill { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 2px; background: #fff; width: 0; }
.track:hover .fill { background: #3FD1A0; }
.track .knob { position: absolute; top: 50%; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: #fff; opacity: 0; transition: opacity .2s; left: 0; box-shadow: 0 2px 6px rgba(0,0,0,.4); }
.track:hover .knob { opacity: 1; }
.bar-r { display: flex; justify-content: flex-end; align-items: center; gap: 6px; }
.vol { flex: 0 0 110px; }
.like { color: var(--muted); } .like.on { color: #3FD1A0; }

/* modal / account */
.modal { position: fixed; inset: 0; z-index: 90; display: none; place-items: center; background: rgba(0,0,0,.65); backdrop-filter: blur(8px); padding: 20px; }
.modal.on { display: grid; }
.modal .box { width: min(460px, 100%); padding: 28px; border-radius: 26px; background: #0E0F16; border: 1px solid var(--line2); position: relative; max-height: 90vh; overflow: auto; }
.toast { position: fixed; left: 50%; bottom: 110px; transform: translateX(-50%) translateY(30px); opacity: 0; z-index: 95; padding: 12px 18px; border-radius: 12px; background: #F4F3F1; color: #0B0B10; font-weight: 700; transition: all .35s cubic-bezier(.2,.8,.2,1); pointer-events: none; }
.toast.on { opacity: 1; transform: translateX(-50%); }
.acc { max-width: 760px; }
.acc .cardx { padding: 22px; border-radius: 18px; background: rgba(255,255,255,.05); border: 1px solid var(--line); margin-bottom: 14px; }
.acc .rowx { display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.plans2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 14px; }
.plan2 { padding: 20px; border-radius: 16px; border: 1.5px solid var(--line2); cursor: pointer; }
.plan2.on { border-color: #fff; background: rgba(255,255,255,.06); }
.plan2 b { font-size: 26px; letter-spacing: -.03em; display: block; margin-top: 4px; }
.menu { position: absolute; right: 20px; top: 60px; z-index: 20; min-width: 200px; padding: 6px; border-radius: 12px; background: #1B1C24; box-shadow: 0 20px 50px rgba(0,0,0,.6); display: none; }
.menu.on { display: block; }
.menu a, .menu button { display: block; width: 100%; text-align: left; padding: 11px 12px; border-radius: 8px; border: 0; background: none; font-size: 14px; cursor: pointer; }
.menu a:hover, .menu button:hover { background: rgba(255,255,255,.08); }

/* responsive: tablet & phone */
@media (max-width: 1180px) { .shell { grid-template-columns: 240px 1fr; grid-template-areas: "side main" "bar bar"; } .np { display: none; } #npBtn { display: none; } }
@media (max-width: 760px) {
  .shell { grid-template-columns: 1fr; grid-template-rows: 1fr auto; grid-template-areas: "main" "bar"; padding: 0; gap: 0; }
  .side { display: none; } .panel { border-radius: 0; }
  .bar { grid-template-columns: 1fr auto; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); }
  .bar-c .prog, .bar-r, #shuf, #rep, #prev { display: none; }
  .hdr { flex-direction: column; align-items: flex-start; min-height: 0; } .hdr .art { width: 160px; height: 160px; }
  .feature { grid-template-columns: 1fr; } .tt .hide-m { display: none; }
  .search { width: 100%; }
}

/* ---------- 3D + motion layer ---------- */
@property --amb { syntax: '<color>'; inherits: true; initial-value: #5B3DF5; }
@property --lvl { syntax: '<number>'; inherits: true; initial-value: 0; }
body.player { --amb: #5B3DF5; transition: --amb 1.6s ease; }
.amb { position: fixed; inset: 0; pointer-events: none; z-index: 0; background: radial-gradient(60% 50% at 18% 110%, color-mix(in srgb, var(--amb) 40%, transparent), transparent 70%), radial-gradient(50% 40% at 95% -10%, color-mix(in srgb, var(--amb) 26%, transparent), transparent 70%); }
.shell { position: relative; z-index: 1; }
.panel { background: rgba(11,12,18,.86); backdrop-filter: blur(24px) saturate(1.2); -webkit-backdrop-filter: blur(24px) saturate(1.2); border: 1px solid rgba(255,255,255,.05); }
.bar { background: transparent; }
/* the main stage: a live world behind every page header */
#stage3d { position: absolute; left: 0; right: 0; top: 0; width: 100%; height: 560px; z-index: 0; pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent); mask-image: linear-gradient(180deg, #000 55%, transparent); transition: opacity .8s ease; }
#stage3d.off { opacity: 0; }
.main .view { position: relative; z-index: 1; }
.greet { background: linear-gradient(180deg, color-mix(in srgb, var(--c1, #5B3DF5) 30%, transparent), transparent 380px); min-height: 380px; }
.greet .quick { position: relative; }
/* page transition: sections rise in, track rows follow one by one */
#page > * { animation: pageIn .7s cubic-bezier(.2,.8,.2,1) both; }
#page > *:nth-child(2) { animation-delay: .06s; } #page > *:nth-child(3) { animation-delay: .12s; } #page > *:nth-child(4) { animation-delay: .18s; }
@keyframes pageIn { from { opacity: 0; transform: translateY(18px); filter: blur(4px); } }
.tt tbody tr { animation: rowIn .55s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(min(var(--i, 0), 18) * 28ms + .15s); }
@keyframes rowIn { from { opacity: 0; transform: translateX(-12px); } }
.hdr h1, .greet h1 { animation: titleIn 1s cubic-bezier(.2,.8,.2,1) both; }
@keyframes titleIn { from { opacity: 0; transform: translateY(30px) scale(.98); letter-spacing: 0; filter: blur(10px); } }
/* cards lean toward the pointer */
.card2 .img, .fcard, .qt { transform-style: preserve-3d; transition: transform .6s cubic-bezier(.2,.8,.2,1), box-shadow .4s; will-change: transform; }
.cards, .feature, .quick { perspective: 1000px; }
.card2 .img::after, .fcard::before { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 3; opacity: 0; transition: opacity .3s;
  background: radial-gradient(300px circle at var(--gx, 50%) var(--gy, 0%), rgba(255,255,255,.22), transparent 50%); }
.card2.round .img::after { border-radius: 50%; } .card2 .img::after { border-radius: 10px; }
.card2:hover .img::after, .fcard:hover::before { opacity: 1; }
.card2:hover .img img { box-shadow: 0 24px 50px rgba(0,0,0,.55); }
/* now playing: the song as a planet */
.np { position: relative; }
.np3d { position: absolute; left: 16px; right: 16px; top: 46px; aspect-ratio: 1; border-radius: 16px; overflow: hidden; z-index: 0; transition: opacity .6s;
  background: radial-gradient(70% 70% at 50% 45%, color-mix(in srgb, var(--amb) 30%, transparent), transparent 75%); }
.np3d canvas { width: 100%; height: 100%; display: block; cursor: grab; }
.np3d.off { opacity: 0; pointer-events: none; }
#np { position: relative; z-index: 1; pointer-events: none; }
#np * { pointer-events: auto; }
#np .np-space { aspect-ratio: 1; pointer-events: none; }
/* play button breathes with the music */
.play { box-shadow: 0 0 calc(var(--lvl) * 34px) color-mix(in srgb, var(--amb) 80%, transparent); transform: scale(calc(1 + var(--lvl) * .05)); transition: transform .08s linear; }
.bigplay { box-shadow: 0 10px 40px color-mix(in srgb, var(--amb) 45%, transparent); transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s; }
.bigplay:hover { transform: scale(1.06); }
.bar .fill, .vol .fill { background: linear-gradient(90deg, #fff, color-mix(in srgb, var(--amb) 60%, #fff)); }
.bar-l img { transition: transform .5s cubic-bezier(.2,.8,.2,1); }
body:not(.paused) .bar-l img { animation: breathe 4s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(1.04); } }
@media (prefers-reduced-motion: reduce) { #page > *, .tt tbody tr, .hdr h1, .greet h1 { animation: none; } body:not(.paused) .bar-l img { animation: none; } }

/* ===================== one platform: a single continuous space ===================== */
/* the 3D world lives behind the whole app, not inside a box */
body.player { background: #05060B; }
#stage3d { position: fixed !important; inset: 0; width: 100vw !important; height: 100vh !important; z-index: 0; -webkit-mask-image: none !important; mask-image: none !important; }
.amb { z-index: 0; animation: aurora 38s ease-in-out infinite alternate; background-size: 140% 140%; }
@keyframes aurora { 0% { background-position: 0% 0%; } 100% { background-position: 100% 60%; } }
.veil-app { position: fixed; inset: 0; z-index: 0; pointer-events: none; background: radial-gradient(120% 90% at 50% 40%, transparent 40%, rgba(5,6,11,.55)), linear-gradient(90deg, rgba(5,6,11,.55), transparent 24%, transparent 76%, rgba(5,6,11,.55)); }
.shell { padding: 0; gap: 0; grid-template-columns: var(--lw, 272px) minmax(0, 1fr) var(--rw, 340px); grid-template-rows: 1fr 88px; position: relative; z-index: 1; }
.shell.np-off { grid-template-columns: var(--lw, 272px) minmax(0, 1fr); }
/* panels melt into the space: no boxes, no gaps, hairline edges only */
.panel { background: transparent !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
.side { gap: 0; background: linear-gradient(180deg, rgba(5,6,11,.62), rgba(5,6,11,.42)); border-right: 1px solid rgba(255,255,255,.06); backdrop-filter: blur(22px) saturate(1.2); -webkit-backdrop-filter: blur(22px) saturate(1.2); }
.nav-panel { padding: 22px 12px 8px; }
.lib { border-top: 1px solid rgba(255,255,255,.05); }
.np { background: linear-gradient(180deg, rgba(5,6,11,.5), rgba(5,6,11,.32)) !important; border-left: 1px solid rgba(255,255,255,.06) !important; backdrop-filter: blur(22px) saturate(1.2) !important; -webkit-backdrop-filter: blur(22px) saturate(1.2) !important; }
.np3d { background: transparent; }
.bar { background: rgba(5,6,11,.72); border-top: 1px solid rgba(255,255,255,.06); backdrop-filter: blur(24px) saturate(1.3); -webkit-backdrop-filter: blur(24px) saturate(1.3); position: relative; }
.bar::before { content: ''; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--amb) 80%, #fff), transparent); opacity: calc(.25 + var(--lvl) * .75); }
.main { overflow: hidden; }
.topbar.solid { background: rgba(5,6,11,.55); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border-bottom: 1px solid rgba(255,255,255,.05); }
.hdr { background: linear-gradient(180deg, color-mix(in srgb, var(--c1, #333) 22%, transparent), transparent 80%); }
.greet { background: linear-gradient(180deg, color-mix(in srgb, var(--c1, #5B3DF5) 16%, transparent), transparent 360px); }
/* glass surfaces on top of the world */
.qt { background: rgba(14,15,24,.52); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid rgba(255,255,255,.06); border-radius: 12px; }
.qt img { border-radius: 0; }
.qt:hover { background: rgba(30,32,46,.62); border-color: rgba(255,255,255,.12); }
.card2:hover { background: rgba(255,255,255,.05); }
.fcard { box-shadow: 0 30px 70px rgba(0,0,0,.45); border: 1px solid rgba(255,255,255,.06); }
.tt tbody tr:hover { background: rgba(255,255,255,.05); }

/* ===================== motion ===================== */
/* active nav item: a glowing pill that eases in */
.nav-panel nav a { position: relative; overflow: hidden; }
.nav-panel nav a::before { content: ''; position: absolute; left: 0; top: 10px; bottom: 10px; width: 3px; border-radius: 2px; background: color-mix(in srgb, var(--amb) 70%, #fff); box-shadow: 0 0 14px var(--amb); transform: scaleY(0); transition: transform .45s cubic-bezier(.2,.8,.2,1); }
.nav-panel nav a.on::before { transform: scaleY(1); }
.nav-panel nav a svg { transition: transform .4s cubic-bezier(.2,.8,.2,1); }
.nav-panel nav a:hover svg { transform: scale(1.12) rotate(-4deg); }
/* tiles, cards and library rows arrive one after another */
.quick .qt, .cards .card2, .feature .fcard { animation: riseIn .7s cubic-bezier(.2,.8,.2,1) both; }
.quick .qt:nth-child(1), .cards .card2:nth-child(1) { animation-delay: .04s } .quick .qt:nth-child(2), .cards .card2:nth-child(2) { animation-delay: .08s }
.quick .qt:nth-child(3), .cards .card2:nth-child(3) { animation-delay: .12s } .quick .qt:nth-child(4), .cards .card2:nth-child(4) { animation-delay: .16s }
.quick .qt:nth-child(5), .cards .card2:nth-child(5) { animation-delay: .2s } .quick .qt:nth-child(6), .cards .card2:nth-child(6) { animation-delay: .24s }
.quick .qt:nth-child(7), .cards .card2:nth-child(7) { animation-delay: .28s } .quick .qt:nth-child(8), .cards .card2:nth-child(8) { animation-delay: .32s }
.feature .fcard:nth-child(2) { animation-delay: .12s }
@keyframes riseIn { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.lib-list.intro .li { animation: slideIn .6s cubic-bezier(.2,.8,.2,1) both; }
.lib-list .li:nth-child(n) { animation-delay: calc(min(var(--n, 0), 14) * 30ms); }
@keyframes slideIn { from { opacity: 0; transform: translateX(-10px); } }
/* a soft light sweeps across a tile on hover */
.qt::after { content: ''; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.10) 50%, transparent 65%); transform: translateX(-120%); transition: transform .9s cubic-bezier(.2,.8,.2,1); pointer-events: none; }
.qt:hover::after { transform: translateX(120%); }
.qt:hover img { transform: scale(1.08); } .qt img { transition: transform .8s cubic-bezier(.2,.8,.2,1); }
/* feature photos drift slowly */
.fcard img { animation: kenburns 24s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1.02) translate(0, 0); } to { transform: scale(1.1) translate(-2%, -1%); } }
/* library: the playing item breathes */
.li.on img, .li.on .cov { box-shadow: 0 0 0 2px color-mix(in srgb, var(--amb) 70%, transparent), 0 0 18px color-mix(in srgb, var(--amb) 50%, transparent); transition: box-shadow .5s; }
/* avatar + premium button */
.avbtn { transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s; } .avbtn:hover { transform: scale(1.08); box-shadow: 0 0 0 3px rgba(255,255,255,.15); }
#meArea .btn-white { animation: glowPulse 4s ease-in-out infinite; }
@keyframes glowPulse { 50% { box-shadow: 0 0 28px color-mix(in srgb, var(--amb) 55%, transparent); } }
/* tablets (761–1180px): same resizable layout, Now playing can be shown and dragged too */
@media (min-width: 761px) and (max-width: 1180px) {
  .shell { grid-template-columns: var(--lw, 240px) minmax(0, 1fr) var(--rw, 300px); grid-template-areas: "side main np" "bar bar bar"; }
  .shell .np { display: block; } #npBtn { display: grid; }
  .shell.np-off { grid-template-columns: var(--lw, 240px) minmax(0, 1fr); grid-template-areas: "side main" "bar bar"; } .shell.np-off .np { display: none; }
}
/* touch screens: a wider grab area with a visible handle */
@media (pointer: coarse) { .grip { width: 28px; } .grip-l { left: calc(var(--lw, 272px) - 14px); } .grip-r { right: calc(var(--rw, 340px) - 14px); } .shell.np-off .grip-r { right: 0; }
  .grip::before { content: ""; position: absolute; top: 50%; left: 50%; width: 5px; height: 44px; margin: -22px 0 0 -2.5px; border-radius: 3px; background: rgba(255,255,255,.28); } }
@media (prefers-reduced-motion: reduce) { .amb, .fcard img, #meArea .btn-white, .quick .qt, .cards .card2, .feature .fcard, .lib-list .li { animation: none; } }

/* ===== platform layer: artist pages, concerts, merch, supporters, lyrics, full screen, menus ===== */
.lib-head .circ { width: 30px; height: 30px; background: rgba(255,255,255,.06); transition: background .25s, transform .25s; } .lib-head .circ:hover { background: rgba(255,255,255,.14); transform: rotate(90deg); }
.lib-list .cov { width: 48px; height: 48px; border-radius: 8px; flex: none; display: grid; place-items: center; overflow: hidden; object-fit: cover; }
.cov svg, .hdr span.art svg { width: 44%; height: 44%; fill: none; stroke: #fff; stroke-width: 1.8; }
.mosaic { display: grid !important; grid-template-columns: 1fr 1fr; } .mosaic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hdr span.art { display: grid; place-items: center; overflow: hidden; }
.plt { cursor: text; } .plt:hover { text-decoration: underline dotted rgba(255,255,255,.3); text-underline-offset: 10px; }
.bagbtn { position: relative; margin-left: auto; background: rgba(0,0,0,.45); } .bagbtn svg { fill: none; stroke: currentColor; stroke-width: 1.8; }
.bagbtn span { position: absolute; top: -4px; right: -4px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: #fff; color: #0B0B10; font-size: 11px; font-weight: 800; display: none; place-items: center; }
.bagbtn.has span { display: grid; } .bagbtn.pop { animation: bagPop .6s cubic-bezier(.2,.9,.3,1.4); }
@keyframes bagPop { 40% { transform: scale(1.25) rotate(-8deg); } }
.topbar .me-area { margin-left: 0; }
.tt .more { opacity: 0; width: 30px; } .tt .more svg { width: 20px; height: 20px; } .tt tr.row:hover .more, .tt .more:focus { opacity: 1; }
.ic .f, .iconbtn .f { fill: currentColor; stroke: none; }
.lnk { background: none; border: 0; color: var(--muted); font-size: 13px; font-weight: 700; cursor: pointer; padding: 0; } .lnk:hover { color: var(--ink); }

/* artist hero */
.ahero { position: relative; min-height: 440px; display: flex; align-items: flex-end; padding: 110px 28px 30px; overflow: hidden; }
.ahero-bg { position: absolute; inset: 0; background-size: cover; background-position: center 28%; opacity: .55; mask-image: linear-gradient(180deg, #000 30%, transparent 100%); -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent 100%); animation: kenburns 30s ease-in-out infinite alternate; }
.ahero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 90% at 10% 100%, color-mix(in srgb, var(--c1) 45%, transparent), transparent 70%), linear-gradient(180deg, transparent 40%, rgba(5,6,11,.6)); pointer-events: none; }
.ahero-in { position: relative; z-index: 1; animation: riseIn .9s cubic-bezier(.2,.8,.2,1) both; }
.ahero .k { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; }
.vbadge { width: 22px; height: 22px; border-radius: 50%; background: #4C8DFF; display: grid; place-items: center; font-size: 12px; }
.ahero h1 { font-size: clamp(48px, 7.5vw, 112px); letter-spacing: -.045em; line-height: .92; margin: 10px 0 18px; text-shadow: 0 10px 60px rgba(0,0,0,.5); }
.astats { display: flex; flex-wrap: wrap; gap: 10px 28px; }
.astats span { display: flex; flex-direction: column; font-size: 12.5px; color: rgba(255,255,255,.65); }
.astats b { font-size: 20px; color: #fff; letter-spacing: -.01em; }
.atabs { display: flex; gap: 6px; padding: 0 28px; position: sticky; top: 62px; z-index: 4; overflow-x: auto; scrollbar-width: none; }
.atabs button { height: 36px; padding: 0 16px; border-radius: 999px; border: 1px solid rgba(255,255,255,.1); background: rgba(5,6,11,.55); backdrop-filter: blur(14px); color: var(--muted); font-weight: 700; font-size: 13.5px; cursor: pointer; white-space: nowrap; transition: all .25s; }
.atabs button:hover { color: var(--ink); } .atabs button.on { background: #fff; color: #0B0B10; border-color: #fff; }
#atab { min-height: 300px; } #atab > * { animation: riseIn .6s cubic-bezier(.2,.8,.2,1) both; }
.btn.on { background: rgba(255,255,255,.16); }
.skel { height: 220px; margin-top: 24px; border-radius: 16px; background: linear-gradient(100deg, rgba(255,255,255,.03) 30%, rgba(255,255,255,.08) 50%, rgba(255,255,255,.03) 70%); background-size: 300% 100%; animation: skel 1.6s linear infinite; }
@keyframes skel { to { background-position: -150% 0; } }

/* concerts */
.evl { display: grid; gap: 8px; }
.ev { display: flex; align-items: center; gap: 16px; padding: 12px 16px 12px 12px; border-radius: 16px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.06); transition: background .25s, transform .25s; }
.ev:hover { background: rgba(255,255,255,.07); transform: translateX(4px); }
.ev-d { width: 58px; height: 62px; border-radius: 12px; background: color-mix(in srgb, var(--c1, #8C7BFF) 22%, #10111a); display: grid; place-items: center; align-content: center; flex: none; }
.ev-d small { font-size: 11px; font-weight: 800; letter-spacing: .14em; color: var(--c1, #8C7BFF); } .ev-d b { font-size: 24px; line-height: 1; }
.ev-i { flex: 1; min-width: 0; } .ev-i b { display: block; font-size: 16px; } .ev-i small { color: var(--dim); font-size: 13.5px; }
.tag { font-size: 11.5px; font-weight: 800; letter-spacing: .04em; padding: 5px 10px; border-radius: 999px; background: rgba(255,255,255,.1); color: var(--ink); white-space: nowrap; }

/* merch */
.mgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.mcard { cursor: pointer; border-radius: 16px; padding: 10px; transition: background .25s; } .mcard:hover { background: rgba(255,255,255,.05); }
.mcard .img { position: relative; aspect-ratio: 1; border-radius: 14px; overflow: hidden; margin-bottom: 10px; background: #0b0c13; }
.mcard img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.8,.2,1); } .mcard:hover img { transform: scale(1.06); }
.mcard .tag { position: absolute; left: 10px; top: 10px; background: rgba(0,0,0,.6); backdrop-filter: blur(8px); }
.mcard b { display: block; font-size: 15px; } .mcard small { color: var(--muted); font-weight: 700; }
.modal .box.wide { width: min(860px, 100%); padding: 0; overflow: hidden; }
.pm { display: grid; grid-template-columns: 1.05fr 1fr; } .pm-img img { width: 100%; height: 100%; object-fit: cover; display: block; min-height: 360px; }
.pm-in { padding: 34px 30px 28px; } .pm-in h3 { font-size: 30px; letter-spacing: -.02em; margin: 6px 0; } .pm-price { font-size: 22px; font-weight: 800; margin-bottom: 12px; }
.pm-l { font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); margin: 18px 0 8px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line2); border-radius: 999px; }
.qty button { width: 38px; height: 38px; border: 0; background: none; color: var(--ink); font-size: 18px; cursor: pointer; } .qty span { min-width: 26px; text-align: center; font-weight: 800; }
.qty.sm button { width: 28px; height: 28px; font-size: 15px; } .qty.sm { margin-top: 6px; }
.shake { animation: shake .45s; } @keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.bagl { display: grid; gap: 10px; max-height: 46vh; overflow: auto; }
.bagr { display: flex; gap: 12px; align-items: flex-start; } .bagr img { width: 64px; height: 64px; border-radius: 10px; object-fit: cover; } .bagr > div:nth-child(2) { flex: 1; } .bagr small { display: block; color: var(--dim); font-size: 13px; }
.bagp { text-align: right; font-weight: 800; display: grid; gap: 6px; justify-items: end; }

/* supporters + tips */
.supwrap { display: grid; grid-template-columns: minmax(260px, 340px) 1fr; gap: 14px; align-items: start; }
.tipcta { padding: 22px; border-radius: 20px; background: radial-gradient(120% 120% at 0% 0%, color-mix(in srgb, var(--c1) 40%, transparent), rgba(255,255,255,.04) 70%); border: 1px solid rgba(255,255,255,.08); }
.tipcta b { font-size: 20px; } .tipcta p { color: var(--muted); font-size: 14px; margin: 6px 0 14px; } .tipcta .chips { margin-bottom: 14px; }
.supl { display: grid; gap: 4px; }
.sup { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border-radius: 14px; transition: background .25s; } .sup:hover { background: rgba(255,255,255,.04); }
.sup .av { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #0B0B10; flex: none; }
.sup > div:nth-child(2) { flex: 1; min-width: 0; } .sup b small { color: var(--dim); font-weight: 500; } .sup p { color: var(--muted); font-size: 14px; margin-top: 2px; }
.sup-r { text-align: right; } .sup-r b { display: block; } .sup-r small { color: var(--dim); font-size: 12px; }
.tipmsg { width: 100%; min-height: 74px; margin: 0 0 14px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line2); background: rgba(255,255,255,.04); color: var(--ink); font: inherit; font-size: 14px; resize: vertical; }
.about { display: grid; grid-template-columns: 1fr 1.1fr; gap: 28px; align-items: center; margin-top: 24px; }
.about-img { aspect-ratio: 4/3; border-radius: 22px; background-size: cover; background-position: center 30%; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.about h2 { font-size: 34px; letter-spacing: -.02em; } .about p { color: var(--muted); font-size: 16px; line-height: 1.65; margin-top: 10px; }

/* lyrics */
.lybox .rowx { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.npLy p { font-size: 15px; font-weight: 700; color: rgba(255,255,255,.35); line-height: 1.45; min-height: 1.45em; transition: color .5s, transform .5s; }
.npLy p.on { color: #fff; font-size: 18px; }
.lyl p { font-size: clamp(24px, 3.2vw, 44px); font-weight: 800; letter-spacing: -.02em; line-height: 1.25; padding: 8px 0; color: rgba(255,255,255,.32); cursor: pointer; transition: color .6s, transform .6s cubic-bezier(.2,.8,.2,1), filter .6s; transform-origin: left center; }
.lyl p:hover { color: rgba(255,255,255,.7); } .lyl p.past { color: rgba(255,255,255,.55); } .lyl p.on { color: #fff; transform: scale(1.04); text-shadow: 0 0 40px color-mix(in srgb, var(--c1, #8C7BFF) 70%, transparent); }
.lyl-page p { font-size: 22px; cursor: default; color: rgba(255,255,255,.75); padding: 4px 0; }

/* full screen: Now playing · Lyrics · Visualizer (the bar stays on top, one player) */
.fs { position: fixed; inset: 0; z-index: 50; background: #05060B; opacity: 0; visibility: hidden; transform: translateY(24px) scale(.985); transition: opacity .55s, transform .7s cubic-bezier(.2,.8,.2,1), visibility 0s .7s; }
.fs.on { opacity: 1; visibility: visible; transform: none; transition: opacity .55s, transform .7s cubic-bezier(.2,.8,.2,1); }
.bar { z-index: 60; }
.fs canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.fs-art { position: absolute; inset: -10%; background-size: cover; background-position: center; filter: blur(60px) saturate(1.4); opacity: .35; transform: scale(1.1); animation: kenburns 40s ease-in-out infinite alternate; }
.fs-veil { position: absolute; inset: 0; background: radial-gradient(80% 70% at 50% 40%, transparent, rgba(5,6,11,.7)), linear-gradient(180deg, rgba(5,6,11,.4), transparent 20%, transparent 70%, rgba(5,6,11,.85)); pointer-events: none; }
.fs-top { position: absolute; top: 0; left: 0; right: 0; z-index: 2; display: flex; justify-content: center; align-items: center; padding: 18px 22px; }
.fs-top .circ { position: absolute; right: 22px; top: 18px; background: rgba(255,255,255,.08); }
.fs-tabs { display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: rgba(255,255,255,.07); backdrop-filter: blur(18px); border: 1px solid rgba(255,255,255,.08); }
.fs-tabs button { height: 34px; padding: 0 16px; border-radius: 999px; border: 0; background: none; color: var(--muted); font-weight: 700; font-size: 13.5px; cursor: pointer; transition: all .3s; }
.fs-tabs button.on { background: #fff; color: #0B0B10; }
.fs-body { position: absolute; inset: 70px 0 88px; z-index: 1; pointer-events: none; } .fs-body > * { pointer-events: auto; }
.fs-np { height: 100%; display: grid; grid-template-columns: minmax(0, 46%); align-items: center; padding: 0 7vw; }
.fs-cover { justify-self: center; width: min(40vh, 34vw); aspect-ratio: 1; perspective: 900px; opacity: 0; pointer-events: none; }
.fs-info { animation: riseIn .9s .1s cubic-bezier(.2,.8,.2,1) both; } .fs-info .k { font-size: 13px; font-weight: 700; color: var(--muted); }
.fs-info h2 { font-size: clamp(40px, 5.6vw, 84px); letter-spacing: -.04em; line-height: .95; margin: 10px 0; }
.fs-info > a { font-size: 20px; font-weight: 700; color: rgba(255,255,255,.8); cursor: pointer; } .fs-info > a:hover { color: #fff; }
.fs-line { min-height: 2.6em; margin: 26px 0; font-size: 22px; font-weight: 700; color: color-mix(in srgb, var(--c1, #fff) 50%, #fff); text-shadow: 0 0 30px color-mix(in srgb, var(--c1) 50%, transparent); }
.fs-acts { display: flex; flex-wrap: wrap; gap: 8px; } .fs-acts svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; }
.fs-ly { height: 100%; overflow-y: auto; padding: 4vh 8vw 30vh; max-width: 1100px; margin: 0 auto; scrollbar-width: none; mask-image: linear-gradient(180deg, transparent, #000 12%, #000 80%, transparent); -webkit-mask-image: linear-gradient(180deg, transparent, #000 12%, #000 80%, transparent); }
.fs-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; } .fs-meta img { width: 52px; height: 52px; border-radius: 10px; } .fs-meta b { display: block; } .fs-meta small { color: var(--muted); }
.fs.m-lyrics canvas { opacity: .35; } .fs.m-lyrics .fs-art { opacity: .55; }
.fs-vid { position: absolute; inset: 0; } .fs.m-video .fs-veil { background: linear-gradient(180deg, #000 0, transparent 9%, transparent 82%, #000 100%); }
.fs-tag { position: absolute; left: 28px; top: 0; font-size: 12px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.fs-cap { position: absolute; left: 0; right: 0; bottom: 14%; text-align: center; padding: 0 8vw; font-size: clamp(26px, 3.6vw, 52px); font-weight: 800; letter-spacing: -.02em; text-shadow: 0 4px 40px rgba(0,0,0,.8), 0 0 50px color-mix(in srgb, var(--c1) 60%, transparent); }
.fs-cap.in { animation: capIn 1s cubic-bezier(.2,.8,.2,1) both; } @keyframes capIn { from { opacity: 0; transform: translateY(18px); filter: blur(8px); } }
.fs-credit { position: absolute; left: 28px; bottom: 24px; } .fs-credit b { display: block; font-size: 20px; } .fs-credit small { color: var(--muted); }
body.fs-open #fsBtn, body.fs-open #lyBtn.on-ly { color: #3FD1A0; }

/* track menu */
.ctxm { position: fixed; z-index: 96; min-width: 240px; max-width: 290px; padding: 6px; border-radius: 14px; background: rgba(24,25,34,.96); backdrop-filter: blur(20px); border: 1px solid rgba(255,255,255,.08); box-shadow: 0 24px 60px rgba(0,0,0,.6); display: none; transform-origin: top left; }
.ctxm.on { display: block; animation: menuIn .22s cubic-bezier(.2,.8,.2,1); } @keyframes menuIn { from { opacity: 0; transform: scale(.96) translateY(-4px); } }
.ctxm button { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; padding: 10px 12px; border-radius: 9px; border: 0; background: none; color: var(--ink); font-size: 14px; cursor: pointer; }
.ctxm button:hover { background: rgba(255,255,255,.08); } .ctxm svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; flex: none; color: var(--muted); }
.ctxm hr { border: 0; border-top: 1px solid rgba(255,255,255,.08); margin: 5px 6px; }
.cm-h { display: flex; gap: 10px; align-items: center; padding: 8px 10px 10px; } .cm-h img { width: 40px; height: 40px; border-radius: 8px; } .cm-h b { display: block; font-size: 14px; } .cm-h small { color: var(--dim); font-size: 12.5px; }
.pick { display: grid; gap: 4px; max-height: 50vh; overflow: auto; }
.pick-row { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 10px; border: 0; background: none; color: var(--ink); text-align: left; cursor: pointer; font-size: 15px; }
.pick-row:hover { background: rgba(255,255,255,.07); } .pick-row .cov { width: 44px; height: 44px; border-radius: 8px; display: grid; place-items: center; font-size: 22px; overflow: hidden; object-fit: cover; } .pick-row b { flex: 1; } .pick-row small { color: #3FD1A0; font-weight: 700; }
#sleepBtn.on, #lyBtn.on { color: #3FD1A0; }

/* recap */
.recap { background: radial-gradient(120% 140% at 0% 0%, color-mix(in srgb, var(--c1) 30%, transparent), rgba(255,255,255,.03) 70%) !important; }
.rc-n { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 14px; margin: 14px 0 6px; } .rc-n b { display: block; font-size: 26px; letter-spacing: -.02em; } .rc-n small { color: var(--muted); font-size: 12.5px; }
.rc-top .li { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 10px; cursor: pointer; } .rc-top .li:hover { background: rgba(255,255,255,.06); }
.rc-top img { width: 40px; height: 40px; border-radius: 6px; } .rc-top b { display: block; font-size: 14px; } .rc-top small { color: var(--dim); font-size: 12.5px; } .rc-i { width: 18px; color: var(--dim); font-weight: 800; }

@media (max-width: 900px) { .pm { grid-template-columns: 1fr; } .pm-img img { min-height: 0; aspect-ratio: 1; } .supwrap, .about { grid-template-columns: 1fr; } .fs-np { grid-template-columns: 1fr; align-content: end; padding-bottom: 6vh; } .fs-cover { display: none; } }
@media (max-width: 760px) { .ahero { min-height: 380px; padding: 90px 18px 24px; } .atabs { padding: 0 16px; top: 58px; } .ev { flex-wrap: wrap; } .ev .btn { margin-left: 74px; } .mgrid { grid-template-columns: 1fr 1fr; } .fs-body { bottom: 74px; } .hide-m { display: none; } }
@media (prefers-reduced-motion: reduce) { .ahero-bg, .fs-art, #atab > *, .fs-cap.in, .ctxm.on { animation: none; } }

/* resizable panels: drag the edge, double-click to reset, arrow keys when focused */
.grip { position: absolute; top: 0; bottom: 88px; width: 12px; z-index: 6; cursor: col-resize; touch-action: none; outline: none; }
.grip-l { left: calc(var(--lw, 272px) - 6px); } .grip-r { right: calc(var(--rw, 340px) - 6px); } .shell.np-off .grip-r { right: 0; }
.grip::after { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; margin-left: -1px; background: transparent; transition: background .25s, box-shadow .25s; }
.grip:hover::after, .grip:focus-visible::after, .grip.on::after { background: rgba(255,255,255,.45); box-shadow: 0 0 14px rgba(140,123,255,.6); }
body.resizing { cursor: col-resize; user-select: none; } body.resizing * { cursor: col-resize !important; } body.resizing .shell { transition: none; }
.shell { transition: grid-template-columns .35s cubic-bezier(.2,.8,.2,1); }
/* the slim library: icons and covers only */
.side-mini .nav-panel { padding: 18px 8px 10px; } .side-mini .nav-panel .brand { font-size: 0; justify-content: center; padding: 0 0 14px; } .side-mini .nav-panel .brand img { margin: 0; }
.side-mini .nav-panel nav a { font-size: 0; justify-content: center; padding: 0; gap: 0; }
.side-mini .lib-head { justify-content: center; padding: 14px 0 8px; } .side-mini .lib-head span { display: none; }
.side-mini .lib-list { padding: 0 8px; } .side-mini .lib-list .li { justify-content: center; padding: 6px 0; } .side-mini .lib-list .li > div:not(.cov) { display: none; }
@media (max-width: 760px) { .grip { display: none; } .shell, .shell.np-off { grid-template-columns: minmax(0, 1fr); grid-template-areas: "main" "bar"; } }
.actions { flex-wrap: wrap; row-gap: 12px; } .bigplay { flex: none; }

/* ===== smart layer: long-press menus, preview, Shift, pins, daily VYBEs, together ===== */
.pressing { transform: scale(.97) !important; transition: transform .35s cubic-bezier(.2,.8,.2,1) !important; filter: brightness(1.15); }
.cm-h { position: relative; } .cm-h img.round { border-radius: 50%; } .cm-h > div { flex: 1; min-width: 0; } .cm-h small { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cm-h .pv { flex: none; width: auto !important; display: flex; align-items: center; gap: 6px; padding: 7px 11px !important; border-radius: 999px !important; background: rgba(255,255,255,.1) !important; font-size: 12px !important; font-weight: 800; user-select: none; -webkit-user-select: none; touch-action: none; }
.cm-h .pv svg { width: 12px !important; height: 12px !important; color: #fff !important; } .cm-h .pv.on { background: #fff !important; color: #0B0B10 !important; animation: pvPulse 1.2s ease-in-out infinite; } .cm-h .pv.on svg { color: #0B0B10 !important; }
@keyframes pvPulse { 50% { box-shadow: 0 0 0 8px rgba(255,255,255,.12); } }
.ctxm { max-height: calc(100vh - 16px); overflow-y: auto; }
.ctxm.sheet { left: 0 !important; right: 0; top: auto !important; bottom: 0; max-width: none; width: 100%; border-radius: 22px 22px 0 0; padding: 10px 10px calc(14px + env(safe-area-inset-bottom)); max-height: 78vh; animation: sheetUp .38s cubic-bezier(.2,.8,.2,1); }
.ctxm.sheet::before { content: ""; display: block; width: 40px; height: 4px; border-radius: 2px; background: rgba(255,255,255,.25); margin: 0 auto 8px; }
.ctxm.sheet button { padding: 13px 12px; font-size: 15px; } .ctxm.sheet .cm-h img { width: 54px; height: 54px; }
@keyframes sheetUp { from { transform: translateY(100%); } }
body.menu-open::after { content: ""; position: fixed; inset: 0; z-index: 95; background: rgba(0,0,0,.55); backdrop-filter: blur(6px); animation: fadeIn .3s; } @keyframes fadeIn { from { opacity: 0; } }
.prog .track { position: relative; } .pins { position: absolute; inset: 0; pointer-events: none; }
.pin { position: absolute; top: 50%; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; border: 0; padding: 0; background: #FFC94A; box-shadow: 0 0 8px #FFC94A; cursor: pointer; pointer-events: auto; transition: transform .2s; } .pin.me { background: #3FD1A0; box-shadow: 0 0 8px #3FD1A0; } .pin:hover { transform: scale(1.6); }
#shuf.smart::before { content: "✦"; position: absolute; top: -2px; right: -1px; font-size: 10px; color: #3FD1A0; } .spk { color: #3FD1A0; font-weight: 700; }
.livepill { border: 0; border-radius: 999px; padding: 4px 10px; font-size: 11.5px; font-weight: 800; background: rgba(255,90,120,.18); color: #FF7A9A; cursor: pointer; animation: glowPulse 2.4s ease-in-out infinite; }
.shiftbar { height: 4px; border-radius: 2px; background: rgba(255,255,255,.08); margin: -6px 0 10px; overflow: hidden; } .shiftbar i { display: block; height: 100%; border-radius: 2px; background: linear-gradient(90deg, var(--a), var(--b)); transition: width .8s; }
.np-acts { display: flex; gap: 6px; flex-wrap: wrap; margin: 14px 0 4px; } .np-acts .chip { height: 32px; padding: 0 12px; font-size: 12.5px; } .np-acts svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.shiftcard { margin-top: 28px; position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px 24px; padding: 26px 28px; border-radius: 22px; cursor: pointer; background: linear-gradient(120deg, rgba(140,123,255,.16), rgba(224,56,155,.1) 60%, rgba(255,255,255,.03)); border: 1px solid rgba(255,255,255,.08); transition: transform .4s cubic-bezier(.2,.8,.2,1); }
.shiftcard:hover { transform: translateY(-2px); } .shiftcard .k { font-size: 11px; font-weight: 800; letter-spacing: .2em; color: #3FD1A0; } .shiftcard h3 { font-size: 30px; letter-spacing: -.03em; margin: 6px 0; } .shiftcard p { color: var(--muted); max-width: 520px; } .shiftcard .btn { grid-column: 1; justify-self: start; }
.shift-orb { grid-row: 1 / span 2; grid-column: 2; width: 140px; height: 90px; position: relative; } .shift-orb span { position: absolute; width: 70px; height: 70px; border-radius: 50%; top: 10px; filter: blur(.5px); box-shadow: 0 0 40px currentColor; animation: orbDrift 6s ease-in-out infinite alternate; } .shift-orb span:first-child { left: 0; } .shift-orb span:last-child { right: 0; animation-delay: -3s; mix-blend-mode: screen; }
@keyframes orbDrift { to { transform: translateX(18px) scale(1.06); } }
.shift-prev { display: flex; align-items: center; gap: 8px; margin-top: 16px; } .shift-prev span { width: 14px; height: 14px; border-radius: 50%; flex: none; } .shift-prev i { flex: 1; height: 4px; border-radius: 2px; }
.vchip.on { background: var(--vc); border-color: var(--vc); color: #0B0B10; }
.mixc .img { border-radius: 12px; overflow: hidden; background: linear-gradient(135deg, var(--m1), var(--m2)); }
.mix-art { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1fr; opacity: .55; mix-blend-mode: luminosity; } .mix-art img { width: 100%; height: 100%; object-fit: cover; border-radius: 0 !important; box-shadow: none !important; }
.mixc .img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, color-mix(in srgb, var(--m1) 70%, transparent), color-mix(in srgb, var(--m2) 60%, transparent)); }
.mix-t { position: absolute; left: 12px; bottom: 12px; right: 12px; z-index: 1; font-size: 20px; font-weight: 800; letter-spacing: -.02em; line-height: 1.05; text-shadow: 0 2px 16px rgba(0,0,0,.4); }
.mixc .mini { z-index: 2; } .hdr .art.mixbig { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--m1), var(--m2)); }
.linkbox { display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 14px; border-radius: 14px; background: rgba(255,255,255,.05); border: 1px solid var(--line2); } .linkbox span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; color: var(--muted); }
.tg-orb { position: relative; width: 120px; height: 120px; margin: 0 auto; } .tg-orb span { position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(140,123,255,.5); animation: tgRing 3s ease-out infinite; } .tg-orb span:nth-child(2) { animation-delay: 1s; } .tg-orb span:nth-child(3) { animation-delay: 2s; }
@keyframes tgRing { from { transform: scale(.35); opacity: 1; } to { transform: scale(1.2); opacity: 0; } }
.pinhead { display: flex; align-items: center; gap: 12px; margin-top: 12px; } .pinhead img { width: 52px; height: 52px; border-radius: 10px; } .pinhead > div { flex: 1; } .pinhead small { display: block; color: var(--muted); } .pint { font-size: 26px; font-weight: 800; font-variant-numeric: tabular-nums; color: #FFC94A; }
.pinl { display: flex; flex-wrap: wrap; gap: 8px; } .pinr { display: flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px; border-radius: 999px; border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.04); color: var(--ink); cursor: pointer; font-size: 14px; } .pinr:hover { background: rgba(255,255,255,.09); }
.pinr span { padding: 3px 8px; border-radius: 999px; background: rgba(255,201,74,.18); color: #FFC94A; font-weight: 800; font-size: 12.5px; }
.atjump { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 18px; background: rgba(255,201,74,.08); border: 1px solid rgba(255,201,74,.25); margin-bottom: 8px; } .atjump > span svg { width: 26px; height: 26px; fill: none; stroke: #FFC94A; stroke-width: 1.8; } .atjump > div { flex: 1; } .atjump small { display: block; color: var(--muted); }
.astats .vy b { font-size: 26px; background: linear-gradient(90deg, #fff, var(--c1, #8C7BFF)); -webkit-background-clip: text; background-clip: text; color: transparent; }
@media (max-width: 760px) { .shiftcard { grid-template-columns: 1fr; } .shift-orb { display: none; } }

/* ---------- ads: calm, glassy, clearly marked ---------- */
.adb { position: absolute; inset: 0; z-index: 70; display: grid; place-items: center; opacity: 0; transition: opacity .45s cubic-bezier(.2,.8,.2,1); background: rgba(5,6,11,.6); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); }
.adb.on { opacity: 1; }
.adb-bg { position: absolute; inset: 0; background: center/cover no-repeat; opacity: .28; filter: blur(40px) saturate(1.4); transform: scale(1.2); }
.adb-in { position: relative; width: min(560px, calc(100% - 32px)); display: grid; gap: 16px; justify-items: center; text-align: center; transform: translateY(16px) scale(.98); transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.adb.on .adb-in { transform: none; }
.adb-top { width: 100%; display: flex; align-items: center; gap: 8px; font-size: 13px; }
.adb-tag { padding: 3px 9px; border-radius: 999px; background: #F4D35E; color: #111; font-weight: 800; font-size: 11px; letter-spacing: .06em; }
.adb-brand { font-weight: 700; } .adb-why { color: var(--dim); font-size: 12px; }
.adb-skip { margin-left: auto; height: 34px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,.08); color: #fff; font: inherit; font-weight: 700; font-size: 13px; cursor: pointer; transition: background .3s, opacity .3s; }
.adb-skip:disabled { opacity: .55; cursor: default; } .adb-skip:not(:disabled):hover { background: rgba(255,255,255,.16); }
.adb-media { width: 100%; aspect-ratio: 16/9; border-radius: 22px; overflow: hidden; background: #000; box-shadow: 0 30px 80px rgba(0,0,0,.5); cursor: pointer; }
.adb-media video { width: 100%; height: 100%; object-fit: cover; display: block; }
.adb-disc { position: relative; width: min(260px, 60vw); aspect-ratio: 1; cursor: pointer; }
.adb-disc img { width: 100%; height: 100%; object-fit: cover; border-radius: 28px; box-shadow: 0 30px 80px rgba(0,0,0,.5); animation: adFloat 6s ease-in-out infinite; }
.adb-disc i { position: absolute; inset: -14px; border-radius: 38px; border: 2px solid rgba(255,255,255,.18); animation: adPulse 2.4s ease-out infinite; }
@keyframes adFloat { 50% { transform: translateY(-6px); } } @keyframes adPulse { from { opacity: .8; transform: scale(.96); } to { opacity: 0; transform: scale(1.08); } }
.adb-copy h3 { font-size: clamp(22px, 3vw, 30px); letter-spacing: -.02em; } .adb-copy p { color: var(--muted); margin-top: 6px; line-height: 1.5; }
.adb-cta { height: 46px; padding: 0 26px; border-radius: 999px; border: 0; background: #fff; color: #0B0B10; font: inherit; font-weight: 800; cursor: pointer; transition: transform .15s; } .adb-cta:active { transform: scale(.96); }
.adb-reward { font-size: 12.5px; color: #F4D35E; }
.adb-bar { width: 100%; height: 3px; border-radius: 3px; background: rgba(255,255,255,.12); overflow: hidden; } .adb-bar i { display: block; height: 100%; background: linear-gradient(90deg, #F4D35E, #fff); transform-origin: left; transform: scaleX(0); }
.adb-left { font-size: 12px; color: var(--dim); font-variant-numeric: tabular-nums; margin-top: -8px; }
.adslot:empty { display: none; } .adslot { margin: 26px 0; cursor: pointer; }
.adc { display: grid; grid-template-columns: 220px 1fr; gap: 18px; align-items: center; padding: 14px; border-radius: 22px; background: rgba(255,255,255,.04); border: 1px solid var(--line); transition: background .3s, transform .4s cubic-bezier(.2,.8,.2,1); animation: adIn .6s cubic-bezier(.2,.8,.2,1) both; }
.adc:hover { background: rgba(255,255,255,.07); transform: translateY(-2px); }
@keyframes adIn { from { opacity: 0; transform: translateY(10px); } }
.adc-img { aspect-ratio: 16/10; border-radius: 14px; background: center/cover no-repeat; } .adc.native .adc-img { aspect-ratio: 1; width: 120px; } .adc.native { grid-template-columns: 120px 1fr; }
.adc-tag { font-size: 11px; font-weight: 700; letter-spacing: .06em; color: var(--dim); } .adc-body b { display: block; font-size: 19px; margin: 4px 0; letter-spacing: -.01em; } .adc-body p { color: var(--muted); font-size: 14px; line-height: 1.5; }
.adc-go, .adt-go { margin-top: 10px; height: 36px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,.08); color: #fff; font: inherit; font-weight: 700; font-size: 13px; cursor: pointer; }
.adt { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 12px 16px; border-radius: 18px; background: linear-gradient(90deg, color-mix(in srgb, var(--c1, #7B5CFF) 22%, transparent), rgba(255,255,255,.03)); border: 1px solid var(--line); font-size: 14px; animation: adIn .6s cubic-bezier(.2,.8,.2,1) both; }
.adt-l { color: var(--dim); font-size: 12.5px; } .adt b { font-size: 16px; } .adt-h { color: var(--muted); } .adt-go { margin: 0 0 0 auto; } .adt-tag { font-size: 10.5px; color: var(--dim); letter-spacing: .06em; }
.vybe-pad .adslot[data-adslot="takeover"] { margin: 0 0 8px; }
@media (max-width: 640px) { .adc, .adc.native { grid-template-columns: 96px 1fr; } .adc-img { aspect-ratio: 1; } .adb-why { display: none; } }
@media (prefers-reduced-motion: reduce) { .adb-disc img, .adb-disc i { animation: none; } }
