@font-face { font-family: 'Jakarta'; src: url('fonts/jakarta.woff2') format('woff2'); font-weight: 200 800; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Jakarta'; src: url('fonts/jakarta-ext.woff2') format('woff2'); font-weight: 200 800; unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --bg: #07060b;
  --bg2: #0e0c15;
  --panel: rgba(255,255,255,.035);
  --panel2: rgba(255,255,255,.06);
  --line: rgba(255,255,255,.07);
  --text: #f5f3fb;
  --muted: #a19db0;
  --dim: #6e6a7c;
  --a1: #8b5cf6; --a2: #ec4899; --a3: #f97316;
  --accent: var(--a1);
  --grad: linear-gradient(135deg, var(--a1), var(--a2) 55%, var(--a3));
  --dyn: 139, 92, 246;         /* couleur dynamique extraite de la pochette */
  --radius: 14px;
  --ease: cubic-bezier(.2,.8,.2,1);
  --spring: cubic-bezier(.34,1.56,.64,1);
}
body.accent-violet { --a1:#8b5cf6; --a2:#ec4899; --a3:#f97316; }
body.accent-ocean  { --a1:#06b6d4; --a2:#3b82f6; --a3:#8b5cf6; }
body.accent-sunset { --a1:#f43f5e; --a2:#f97316; --a3:#facc15; }
body.accent-emerald{ --a1:#10b981; --a2:#14b8a6; --a3:#a3e635; }
body.accent-candy  { --a1:#ec4899; --a2:#a855f7; --a3:#22d3ee; }

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; overflow: hidden; }
body { font-family: 'Jakarta', 'Segoe UI Variable', 'Segoe UI', system-ui, sans-serif; background: var(--bg); color: var(--text); font-size: 14px; -webkit-font-smoothing: antialiased; user-select: none; }
input, textarea, button, select { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; cursor: pointer; }
.hidden { display: none !important; }
.muted { color: var(--muted); }
::selection { background: rgba(var(--dyn), .45); }
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,.12); border-radius: 10px; border: 3px solid transparent; background-clip: padding-box; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,.22); background-clip: padding-box; border: 3px solid transparent; }
::-webkit-scrollbar-track { background: transparent; }
.ico { width: 20px; height: 20px; flex-shrink: 0; display: block; }

/* ---------- fond aurore ---------- */
.aurora { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.blob { position: absolute; width: 60vmax; height: 60vmax; border-radius: 50%; filter: blur(110px); opacity: .22; mix-blend-mode: screen; animation: drift 26s ease-in-out infinite alternate; }
.b1 { background: var(--a1); top: -25vmax; left: -15vmax; }
.b2 { background: var(--a2); bottom: -30vmax; right: -20vmax; animation-duration: 32s; animation-delay: -8s; }
.b3 { background: rgb(var(--dyn)); top: 20%; left: 35%; width: 40vmax; height: 40vmax; opacity: .16; animation-duration: 22s; animation-delay: -4s; transition: background 1.5s; }
@keyframes drift { 0% { transform: translate(0,0) scale(1); } 50% { transform: translate(8vmax, 6vmax) scale(1.15); } 100% { transform: translate(-6vmax, 10vmax) scale(.95); } }
.grain { position: absolute; inset: -50%; opacity: .05; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); animation: grain 1.2s steps(6) infinite; }
@keyframes grain { 0%{transform:translate(0,0)} 25%{transform:translate(-3%,2%)} 50%{transform:translate(2%,-3%)} 75%{transform:translate(-2%,-1%)} 100%{transform:translate(1%,3%)} }

/* ---------- logo ---------- */
.logo-mark { width: 22px; height: 22px; display: inline-block; background: var(--grad); -webkit-mask: url(img/mark.svg) center / contain no-repeat; mask: url(img/mark.svg) center / contain no-repeat; filter: drop-shadow(0 0 10px rgba(var(--dyn), .55)); }
.logo-mark.big { width: 92px; height: 92px; border-radius: 26px; position: relative; -webkit-mask: none; mask: none; filter: none; background: radial-gradient(120% 120% at 30% 15%, #1c1630, #07060b); border: 1px solid rgba(255,255,255,.08); box-shadow: 0 20px 60px -10px rgba(var(--dyn),.6), inset 0 1px 0 rgba(255,255,255,.08); }
.logo-mark.big::before { content: ''; position: absolute; inset: 15px; background: var(--grad); -webkit-mask: url(img/mark.svg) center / contain no-repeat; mask: url(img/mark.svg) center / contain no-repeat; }
@keyframes eq { 0%,100% { transform: scaleY(1); transform-origin: bottom; } 50% { transform: scaleY(.45); transform-origin: bottom; } }

/* ---------- barre de titre ---------- */
.titlebar { position: fixed; top: 0; left: 0; right: 0; height: 52px; display: flex; align-items: center; justify-content: space-between; z-index: 50; -webkit-app-region: drag; padding-left: 16px; }
.tb-left { display: flex; align-items: center; gap: 18px; width: 260px; }
.logo-mini { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 16px; letter-spacing: -.02em; }
.nav-arrows { display: flex; gap: 4px; -webkit-app-region: no-drag; }
.tb-search { -webkit-app-region: no-drag; display: flex; align-items: center; gap: 10px; width: min(520px, 42vw); height: 36px; padding: 0 12px; border-radius: 12px; background: rgba(255,255,255,.05); border: 1px solid var(--line); transition: all .25s var(--ease); }
.tb-search:focus-within { background: rgba(255,255,255,.09); border-color: rgba(var(--dyn),.6); box-shadow: 0 0 0 4px rgba(var(--dyn),.15); width: min(600px, 48vw); }
.tb-search input { flex: 1; background: none; border: 0; outline: 0; font-size: 13px; }
.tb-search input::placeholder { color: var(--dim); }
.tb-search kbd { font-size: 10.5px; color: var(--dim); border: 1px solid var(--line); padding: 2px 6px; border-radius: 6px; font-family: inherit; }
.tb-search-ico { color: var(--muted); }
.tb-right { display: flex; -webkit-app-region: no-drag; height: 100%; }
.win-btn { width: 46px; height: 100%; display: grid; place-items: center; color: var(--muted); transition: background .15s, color .15s; }
.win-btn svg { width: 11px; height: 11px; }
.win-btn:hover { background: rgba(255,255,255,.08); color: #fff; }
.win-btn.close:hover { background: #e81123; color: #fff; }
body.auth-mode .tb-search, body.auth-mode .nav-arrows { visibility: hidden; }

/* ---------- boutons ---------- */
.icon-btn { width: 36px; height: 36px; border-radius: 50%; display: inline-grid; place-items: center; color: var(--muted); transition: color .2s, background .2s, transform .2s var(--spring); position: relative; }
.icon-btn:hover { color: #fff; background: rgba(255,255,255,.07); }
.icon-btn:active { transform: scale(.88); }
.icon-btn.sm { width: 30px; height: 30px; }
.icon-btn.sm .ico { width: 17px; height: 17px; }
.icon-btn.lg { width: 48px; height: 48px; }
.icon-btn.lg .ico { width: 26px; height: 26px; }
.icon-btn.on { color: var(--a1); }
.icon-btn.on::after { content: ''; position: absolute; bottom: 2px; left: 50%; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: currentColor; box-shadow: 0 0 8px currentColor; }
.icon-btn:disabled { opacity: .35; pointer-events: none; }
.like-btn.liked { color: var(--a2); }
.like-btn.liked .ico { animation: pop .45s var(--spring); filter: drop-shadow(0 0 8px var(--a2)); }
@keyframes pop { 0% { transform: scale(.6); } 60% { transform: scale(1.3); } 100% { transform: scale(1); } }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 18px; border-radius: 12px; font-weight: 650; font-size: 13.5px; transition: transform .2s var(--spring), box-shadow .25s, background .2s, opacity .2s; white-space: nowrap; }
.btn .ico { width: 18px; height: 18px; }
.btn:active { transform: scale(.96); }
.btn.primary { background: var(--grad); background-size: 160% 160%; color: #fff; box-shadow: 0 10px 30px -10px rgba(var(--dyn), .8), inset 0 1px 0 rgba(255,255,255,.25); animation: gradShift 6s ease infinite; }
.btn.primary:hover { box-shadow: 0 14px 40px -8px rgba(var(--dyn), .95), inset 0 1px 0 rgba(255,255,255,.3); transform: translateY(-1px); }
@keyframes gradShift { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.btn.ghost { background: rgba(255,255,255,.06); border: 1px solid var(--line); }
.btn.ghost:hover { background: rgba(255,255,255,.11); }
.btn.danger { background: rgba(239,68,68,.14); color: #fca5a5; border: 1px solid rgba(239,68,68,.25); }
.btn.danger:hover { background: rgba(239,68,68,.25); }
.btn.block { width: 100%; }
.btn.sm { height: 32px; padding: 0 12px; font-size: 12.5px; border-radius: 10px; }
.btn:disabled { opacity: .5; pointer-events: none; }

.play-btn { width: 40px; height: 40px; border-radius: 50%; background: #fff; color: #0a0910; display: grid; place-items: center; transition: transform .25s var(--spring), box-shadow .3s; box-shadow: 0 6px 20px -6px rgba(255,255,255,.5); }
.play-btn .ico { width: 18px; height: 18px; }
.play-btn:hover { transform: scale(1.08); box-shadow: 0 8px 30px -4px rgba(var(--dyn), .9); }
.play-btn:active { transform: scale(.92); }
.play-btn.xl { width: 72px; height: 72px; }
.play-btn.xl .ico { width: 30px; height: 30px; }
.play-btn.grad { background: var(--grad); color: #fff; box-shadow: 0 12px 34px -8px rgba(var(--dyn), .9); }
.play-btn.big { width: 58px; height: 58px; }
.play-btn.big .ico { width: 24px; height: 24px; }

/* ---------- auth ---------- */
.auth { position: fixed; inset: 0; z-index: 10; display: grid; place-items: center; padding-top: 30px; }
.glass { background: rgba(18,16,26,.55); border: 1px solid rgba(255,255,255,.08); backdrop-filter: blur(30px) saturate(140%); box-shadow: 0 40px 120px -30px rgba(0,0,0,.8), inset 0 1px 0 rgba(255,255,255,.06); }
.auth-card { width: 420px; border-radius: 28px; padding: 36px 36px 30px; animation: rise .8s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(30px) scale(.97); } to { opacity: 1; transform: none; } }
.auth-brand { text-align: center; margin-bottom: 22px; }
.logo-big { display: grid; place-items: center; margin-bottom: 14px; animation: float 5s ease-in-out infinite; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.auth-brand h1 { font-size: 34px; font-weight: 800; letter-spacing: -.04em; background: linear-gradient(90deg, #fff, #fff 40%, var(--a2) 60%, #fff 80%); background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shine 5s linear infinite; }
@keyframes shine { from { background-position: 100% 0; } to { background-position: -150% 0; } }
.auth-brand p { color: #d6d2e2; margin-top: 6px; line-height: 1.5; font-size: 13.5px; }
.profiles-quick { display: flex; gap: 10px; justify-content: center; margin-bottom: 18px; flex-wrap: wrap; }
.profiles-quick:empty { display: none; }
.pq { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 8px; border-radius: 14px; width: 74px; transition: background .2s, transform .25s var(--spring); }
.pq:hover { background: rgba(255,255,255,.06); transform: translateY(-3px); }
.pq.sel { background: rgba(var(--dyn), .18); }
.pq span { font-size: 11.5px; color: var(--muted); max-width: 66px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.auth-tabs { position: relative; display: grid; grid-template-columns: 1fr 1fr; background: rgba(255,255,255,.05); border-radius: 12px; padding: 4px; margin-bottom: 18px; }
.auth-tab { position: relative; z-index: 1; height: 34px; border-radius: 9px; font-weight: 650; color: var(--muted); transition: color .25s; }
.auth-tab.active { color: #fff; }
.auth-tab-ink { position: absolute; top: 4px; left: 4px; height: 34px; width: calc(50% - 4px); border-radius: 9px; background: rgba(255,255,255,.1); transition: transform .35s var(--spring); }
.auth[data-tab="register"] .auth-tab-ink { transform: translateX(100%); }
.auth:not([data-tab="register"]) .reg-only { display: none; }
.field { margin-bottom: 12px; animation: rise .4s var(--ease) both; }
.field label { display: block; font-size: 12px; font-weight: 600; color: var(--muted); margin-bottom: 6px; }
.field input, .field textarea, .field select, .input { width: 100%; height: 42px; padding: 0 14px; border-radius: 11px; background: rgba(255,255,255,.05); border: 1px solid var(--line); outline: 0; transition: border .2s, box-shadow .2s, background .2s; user-select: text; }
.field textarea { height: auto; padding: 12px 14px; resize: vertical; line-height: 1.5; }
.field input:focus, .field textarea:focus, .input:focus { border-color: rgba(var(--dyn), .7); box-shadow: 0 0 0 4px rgba(var(--dyn), .15); background: rgba(255,255,255,.07); }
.check { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); margin: 4px 0 14px; cursor: pointer; }
.check input { display: none; }
.check span { width: 18px; height: 18px; border-radius: 6px; border: 1.5px solid rgba(255,255,255,.25); display: grid; place-items: center; transition: all .2s; }
.check input:checked + span { background: var(--grad); border-color: transparent; }
.check input:checked + span::after { content: ''; width: 8px; height: 4px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg) translate(1px,-1px); }
.form-error { color: #fda4af; font-size: 12.5px; min-height: 0; margin-bottom: 10px; }
.form-error:empty { display: none; }
.shake { animation: shake .45s; }
@keyframes shake { 10%,90%{transform:translateX(-1px)} 20%,80%{transform:translateX(3px)} 30%,50%,70%{transform:translateX(-6px)} 40%,60%{transform:translateX(6px)} }

/* ---------- avatars ---------- */
.avatar { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #fff; background-size: cover; background-position: center; flex-shrink: 0; font-size: 14px; box-shadow: inset 0 0 0 2px rgba(255,255,255,.12); }
.avatar.lg { width: 52px; height: 52px; font-size: 20px; }
.avatar.xl { width: 120px; height: 120px; font-size: 46px; box-shadow: 0 20px 50px -10px rgba(0,0,0,.6), inset 0 0 0 3px rgba(255,255,255,.15); }

/* ---------- structure ---------- */
.shell { position: fixed; inset: 52px 0 0 0; z-index: 1; display: grid; grid-template-columns: 264px 1fr 0px; grid-template-rows: 1fr 92px; gap: 0 8px; padding: 0 8px; transition: grid-template-columns .4s var(--ease); }
.shell.queue-open { grid-template-columns: 264px 1fr 330px; }
.sidebar { grid-row: 1; grid-column: 1; display: flex; flex-direction: column; gap: 8px; min-height: 0; }
.side-nav, .side-section, .side-import, .side-user { background: var(--panel-bg, rgba(14,12,20,.6)); border: 1px solid var(--line); border-radius: var(--radius); backdrop-filter: blur(20px); }
.side-nav { padding: 8px; display: flex; flex-direction: column; gap: 2px; }
.nav-item { display: flex; align-items: center; gap: 14px; height: 42px; padding: 0 14px; border-radius: 10px; color: var(--muted); font-weight: 650; transition: color .2s, background .2s; position: relative; }
.nav-item:hover { color: #fff; background: rgba(255,255,255,.04); }
.nav-item.active { color: #fff; background: rgba(255,255,255,.07); }
.nav-item.active::before { content: ''; position: absolute; left: 0; top: 10px; bottom: 10px; width: 3px; border-radius: 3px; background: var(--grad); box-shadow: 0 0 12px var(--a1); }
.side-section { flex: 1; min-height: 0; display: flex; flex-direction: column; padding: 10px 8px; }
.side-head { display: flex; align-items: center; justify-content: space-between; padding: 0 8px 8px 10px; color: var(--muted); font-weight: 700; font-size: 12.5px; text-transform: uppercase; letter-spacing: .08em; }
.side-list { overflow-y: auto; flex: 1; display: flex; flex-direction: column; gap: 2px; }
.side-pl { display: flex; align-items: center; gap: 12px; padding: 6px 8px; border-radius: 10px; transition: background .2s; cursor: pointer; }
.side-pl:hover { background: rgba(255,255,255,.05); }
.side-pl.active { background: rgba(255,255,255,.08); }
.side-pl .cv { width: 42px; height: 42px; border-radius: 8px; flex-shrink: 0; }
.side-pl .nm { font-weight: 650; font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.side-pl .sb { font-size: 12px; color: var(--muted); }
.side-pl .tx { min-width: 0; flex: 1; }
.side-pl.drop-hover { background: rgba(var(--dyn), .25); box-shadow: inset 0 0 0 1px rgba(var(--dyn), .6); }
.side-pl .eqi { color: var(--a1); }
.side-import { padding: 8px; }
.side-user { padding: 10px; display: flex; align-items: center; gap: 10px; }
.side-user .who { flex: 1; min-width: 0; }
.side-user .who b { display: block; font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.side-user .who span { font-size: 11.5px; color: var(--muted); }

.main { grid-row: 1; grid-column: 2; position: relative; overflow: hidden; border-radius: var(--radius); background: var(--panel-bg, rgba(14,12,20,.55)); border: 1px solid var(--line); backdrop-filter: blur(20px); min-width: 0; }
.main-bg { position: absolute; inset: 0 0 auto 0; height: 380px; background: linear-gradient(180deg, rgba(var(--dyn), .55), rgba(var(--dyn), 0)); transition: background 1s; pointer-events: none; }
.view { position: absolute; inset: 0; overflow-y: auto; overflow-x: hidden; padding: 0 0 40px; scroll-behavior: smooth; }
.view.enter > * { animation: viewIn .5s var(--ease) both; }
.view.enter > *:nth-child(2) { animation-delay: .05s; }
.view.enter > *:nth-child(3) { animation-delay: .1s; }
.view.enter > *:nth-child(4) { animation-delay: .15s; }
.view.enter > *:nth-child(5) { animation-delay: .2s; }
@keyframes viewIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.pad { padding: 0 28px; }

.queue-panel { grid-row: 1; grid-column: 3; overflow: hidden; border-radius: var(--radius); background: var(--panel-bg, rgba(14,12,20,.6)); border: 1px solid var(--line); backdrop-filter: blur(20px); display: flex; flex-direction: column; min-width: 0; opacity: 0; transition: opacity .3s; }
.shell.queue-open .queue-panel { opacity: 1; }
.qp-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 14px 8px 18px; }
.qp-head h3 { font-size: 16px; }
.qp-body { overflow-y: auto; flex: 1; padding: 0 8px 16px; }
.qp-label { font-size: 12px; font-weight: 700; color: var(--muted); padding: 14px 10px 6px; text-transform: uppercase; letter-spacing: .08em; }

/* ---------- lecteur ---------- */
.player { grid-row: 2; grid-column: 1 / -1; display: grid; grid-template-columns: 1fr minmax(380px, 1.3fr) 1fr; align-items: center; padding: 0 12px; gap: 16px; }
.pl-left { display: flex; align-items: center; gap: 14px; min-width: 0; }
.pl-cover { width: 58px; height: 58px; border-radius: 10px; flex-shrink: 0; background-size: cover; background-position: center; box-shadow: 0 8px 24px -6px rgba(0,0,0,.7); cursor: pointer; transition: transform .3s var(--spring); position: relative; overflow: hidden; }
.pl-cover:hover { transform: scale(1.06); }
.pl-meta { min-width: 0; }
.pl-title { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; cursor: pointer; }
.pl-title:hover { text-decoration: underline; }
.pl-artist { color: var(--muted); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 2px; }
.pl-artist a:hover { color: #fff; text-decoration: underline; }
.pl-center { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.pl-controls { display: flex; align-items: center; gap: 14px; }
.pl-progress { display: flex; align-items: center; gap: 10px; width: 100%; font-size: 11.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.pl-progress span { width: 38px; text-align: center; }
.pl-right { display: flex; align-items: center; justify-content: flex-end; gap: 4px; }
#miniViz { width: 60px; height: 24px; margin-right: 6px; opacity: .9; }
.player.playing .pl-cover::after { content: ''; position: absolute; inset: 0; box-shadow: inset 0 0 0 2px rgba(var(--dyn), .9); border-radius: 10px; animation: pulseRing 1.6s ease-in-out infinite; }
@keyframes pulseRing { 0%,100% { opacity: .2; } 50% { opacity: 1; } }

.slider { flex: 1; height: 16px; position: relative; cursor: pointer; display: flex; align-items: center; }
.slider::before { content: ''; position: absolute; left: 0; right: 0; height: 4px; border-radius: 4px; background: rgba(255,255,255,.14); transition: height .15s; }
.slider-fill { position: absolute; left: 0; height: 4px; border-radius: 4px; background: #fff; width: 0; transition: height .15s; pointer-events: none; }
.slider:hover .slider-fill, .slider.drag .slider-fill { background: var(--grad); box-shadow: 0 0 12px rgba(var(--dyn), .7); }
.slider:hover::before, .slider:hover .slider-fill, .slider.drag::before, .slider.drag .slider-fill { height: 6px; }
.slider-thumb { position: absolute; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: #fff; left: 0; transform: scale(0); transition: transform .2s var(--spring); box-shadow: 0 2px 8px rgba(0,0,0,.5); pointer-events: none; }
.slider:hover .slider-thumb, .slider.drag .slider-thumb { transform: scale(1); }
.slider.vol { flex: 0 0 100px; }
.slider.big::before, .slider.big .slider-fill { height: 6px; }

/* ---------- en-tetes de page ---------- */
.hero { padding: 64px 28px 24px; display: flex; align-items: flex-end; gap: 26px; position: relative; }
.hero-cover { width: 220px; height: 220px; border-radius: 16px; flex-shrink: 0; background-size: cover; background-position: center; box-shadow: 0 30px 70px -15px rgba(0,0,0,.75); position: relative; overflow: hidden; transition: transform .4s var(--spring); }
.hero-cover:hover { transform: scale(1.02) rotate(-.5deg); }
.hero-cover .edit-ov { position: absolute; inset: 0; background: rgba(0,0,0,.55); display: grid; place-items: center; opacity: 0; transition: opacity .2s; cursor: pointer; font-weight: 700; }
.hero-cover:hover .edit-ov { opacity: 1; }
.hero-info { min-width: 0; padding-bottom: 6px; }
.hero-kicker { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; color: #e8e4f5; }
.hero-title { font-size: clamp(36px, 5.5vw, 84px); font-weight: 800; letter-spacing: -.045em; line-height: 1.02; margin: 8px 0 14px; text-shadow: 0 6px 40px rgba(0,0,0,.35); word-break: break-word; }
.hero-title.md { font-size: clamp(30px, 4vw, 56px); }
.hero-desc { color: #d9d5e6; font-size: 13.5px; margin-bottom: 8px; max-width: 640px; }
.hero-sub { color: #d9d5e6; font-size: 13.5px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.hero-sub b { color: #fff; }
.dot-sep::before { content: '•'; margin: 0 2px; opacity: .6; }
.actions { display: flex; align-items: center; gap: 16px; padding: 16px 28px 18px; }
.actions .icon-btn .ico { width: 24px; height: 24px; }
.actions .icon-btn { width: 44px; height: 44px; }

.greeting { padding: 34px 28px 4px; }
.greeting h1 { font-size: 34px; font-weight: 800; letter-spacing: -.035em; }
.greeting p { color: var(--muted); margin-top: 4px; }
.section { padding: 22px 28px 4px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 14px; }
.section-head h2 { font-size: 21px; font-weight: 800; letter-spacing: -.025em; }
.section-head a { font-size: 12.5px; font-weight: 700; color: var(--muted); }
.section-head a:hover { color: #fff; text-decoration: underline; }

/* carte mix */
.mix-hero { margin: 18px 28px 0; border-radius: 22px; padding: 30px 34px; position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; min-height: 170px; background: linear-gradient(120deg, rgba(var(--dyn), .55), rgba(20,16,30,.4)); border: 1px solid rgba(255,255,255,.08); cursor: pointer; isolation: isolate; }
.mix-hero::before { content: ''; position: absolute; inset: -40%; background: conic-gradient(from 0deg, var(--a1), var(--a2), var(--a3), var(--a1)); opacity: .35; filter: blur(60px); animation: spin 14s linear infinite; z-index: -1; }
@keyframes spin { to { transform: rotate(360deg); } }
.mix-hero h2 { font-size: 34px; font-weight: 800; letter-spacing: -.04em; display: flex; align-items: center; gap: 12px; }
.mix-hero p { color: #e6e2f2; max-width: 460px; margin-top: 8px; line-height: 1.5; }
.mix-hero .bars { display: flex; align-items: flex-end; gap: 5px; height: 70px; margin-right: 26px; }
.mix-hero .bars i { width: 7px; border-radius: 4px; background: rgba(255,255,255,.85); animation: eq 1.1s ease-in-out infinite; height: 100%; }
.mix-hero:hover .play-btn { transform: scale(1.08); }
.mix-right { display: flex; align-items: center; }

/* acces rapide */
.quick-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 10px; }
.quick { display: flex; align-items: center; gap: 12px; height: 60px; border-radius: 10px; background: rgba(255,255,255,.06); overflow: hidden; cursor: pointer; transition: background .25s, transform .25s var(--spring); position: relative; }
.quick:hover { background: rgba(255,255,255,.12); transform: translateY(-2px); }
.quick .cv { width: 60px; height: 60px; flex-shrink: 0; box-shadow: 4px 0 14px rgba(0,0,0,.4); }
.quick .nm { font-weight: 700; font-size: 13.5px; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.quick .play-btn { width: 34px; height: 34px; margin-right: 12px; opacity: 0; transform: translateY(6px) scale(.9); background: var(--grad); color: #fff; }
.quick:hover .play-btn, .quick.playing .play-btn { opacity: 1; transform: none; }
.quick .play-btn .ico { width: 15px; height: 15px; }

/* cartes */
.row-scroll { display: grid; grid-auto-flow: column; grid-auto-columns: 180px; gap: 18px; overflow-x: auto; padding-bottom: 12px; margin: 0 -28px; padding-left: 28px; padding-right: 28px; scroll-snap-type: x proximity; }
.row-scroll::-webkit-scrollbar { height: 8px; }
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 18px; }
.card { padding: 12px; border-radius: 16px; cursor: pointer; transition: background .3s, transform .35s var(--spring); scroll-snap-align: start; position: relative; }
.card:hover { background: rgba(255,255,255,.06); transform: translateY(-4px); }
.card .cv { width: 100%; aspect-ratio: 1; border-radius: 12px; margin-bottom: 12px; position: relative; box-shadow: 0 14px 34px -12px rgba(0,0,0,.8); overflow: hidden; }
.card .cv::after { content: ''; position: absolute; inset: 0; background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.18) 50%, transparent 70%); transform: translateX(-100%); transition: transform .8s var(--ease); }
.card:hover .cv::after { transform: translateX(100%); }
.card .play-btn { position: absolute; right: 20px; top: calc(100% - 118px); width: 46px; height: 46px; opacity: 0; transform: translateY(10px); transition: all .3s var(--spring); background: var(--grad); color: #fff; box-shadow: 0 10px 24px -6px rgba(0,0,0,.6); z-index: 2; }
.card:hover .play-btn, .card.playing .play-btn { opacity: 1; transform: none; }
.card .t { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card .s { color: var(--muted); font-size: 12.5px; margin-top: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card.round .cv { border-radius: 50%; }
.card.round { text-align: center; }

.cv { background-size: cover; background-position: center; display: grid; place-items: center; color: rgba(255,255,255,.85); }
.cv .ico { width: 38%; height: 38%; filter: drop-shadow(0 4px 10px rgba(0,0,0,.4)); }
.cv.mosaic { display: grid; place-items: stretch; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; }
.cv.mosaic > div { background-size: cover; background-position: center; }

/* ---------- tableau des titres ---------- */
.tracks { padding: 0 20px; }
.tr-head, .tr { display: grid; grid-template-columns: 40px minmax(200px, 4fr) minmax(120px, 2.4fr) minmax(90px, 1.4fr) 60px 70px; align-items: center; gap: 14px; padding: 0 14px; }
.tracks.no-album .tr-head, .tracks.no-album .tr { grid-template-columns: 40px minmax(200px, 4fr) minmax(90px, 1.4fr) 60px 70px; }
.tracks.no-album .c-album { display: none; }
.tr-head { height: 36px; color: var(--muted); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; border-bottom: 1px solid var(--line); margin-bottom: 8px; position: sticky; top: 0; background: rgba(14,12,20,.92); backdrop-filter: blur(20px); z-index: 3; }
.tr-head .sortable { cursor: pointer; }
.tr-head .sortable:hover { color: #fff; }
.tr { height: 58px; border-radius: 10px; transition: background .15s; cursor: default; animation: rowIn .45s var(--ease) both; }
@keyframes rowIn { from { opacity: 0; transform: translateX(-10px); } to { opacity: 1; transform: none; } }
.tr:hover { background: rgba(255,255,255,.06); }
.tr.selected { background: rgba(255,255,255,.1); }
.tr.current .tt { color: var(--a1); }
.tr .num { color: var(--muted); text-align: right; font-variant-numeric: tabular-nums; position: relative; display: grid; place-items: center end; }
.tr .num .n { transition: opacity .1s; }
.tr .num .pbtn { position: absolute; right: 0; opacity: 0; color: #fff; }
.tr:hover .num .n { opacity: 0; }
.tr:hover .num .pbtn { opacity: 1; }
.tr .num .ico { width: 16px; height: 16px; }
.tr .main-c { display: flex; align-items: center; gap: 12px; min-width: 0; }
.tr .cv { width: 42px; height: 42px; border-radius: 7px; flex-shrink: 0; }
.tr .cv .ico { width: 18px; height: 18px; }
.tr .tx { min-width: 0; }
.tr .tt { font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 14.5px; }
.tr .ta { color: var(--muted); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 2px; }
.tr .ta a:hover, .tr .c-album a:hover { color: #fff; text-decoration: underline; }
.tr .c-album, .tr .c-date { color: var(--muted); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tr .c-dur { color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; display: flex; align-items: center; justify-content: flex-end; gap: 6px; }
.tr .c-like { display: flex; justify-content: center; }
.tr .c-like .icon-btn { opacity: 0; width: 30px; height: 30px; }
.tr .c-like .icon-btn.liked, .tr:hover .c-like .icon-btn { opacity: 1; }
.tr .c-like .ico { width: 17px; height: 17px; }
.tr .more { opacity: 0; width: 28px; height: 28px; }
.tr:hover .more { opacity: 1; }
.tr .lyr-badge { font-size: 9.5px; font-weight: 800; padding: 2px 5px; border-radius: 5px; background: rgba(var(--dyn), .25); color: #fff; letter-spacing: .05em; margin-left: 6px; vertical-align: 2px; }
.tr.dragging { opacity: .4; }
.tr.drag-over { box-shadow: inset 0 2px 0 var(--a1); }
.tr .drag-h { cursor: grab; color: var(--dim); }

/* indicateur egaliseur */
.eqi { display: inline-flex; align-items: flex-end; gap: 2px; height: 14px; }
.eqi i { width: 3px; background: currentColor; border-radius: 1px; animation: eq .9s ease-in-out infinite; height: 100%; }
.eqi i:nth-child(2) { animation-delay: -.3s; }
.eqi i:nth-child(3) { animation-delay: -.6s; }
.eqi.paused i { animation-play-state: paused; }
.tr .eqi { color: var(--a1); }

/* ---------- etats vides ---------- */
.empty { text-align: center; padding: 70px 20px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.empty .em-ico { width: 96px; height: 96px; border-radius: 28px; background: var(--grad); display: grid; place-items: center; color: #fff; box-shadow: 0 20px 50px -14px rgba(var(--dyn), .8); animation: float 5s ease-in-out infinite; }
.empty .em-ico .ico { width: 44px; height: 44px; }
.empty h2 { font-size: 24px; font-weight: 800; letter-spacing: -.03em; }
.empty p { color: var(--muted); max-width: 420px; line-height: 1.55; }
.empty .row { display: flex; gap: 10px; margin-top: 6px; }

/* ---------- recherche ---------- */
.search-top { padding: 30px 28px 0; }
.search-big { display: flex; align-items: center; gap: 12px; height: 54px; border-radius: 16px; padding: 0 18px; background: rgba(255,255,255,.07); border: 1px solid var(--line); transition: all .25s; }
.search-big:focus-within { border-color: rgba(var(--dyn), .7); box-shadow: 0 0 0 5px rgba(var(--dyn), .15); }
.search-big input { flex: 1; background: none; border: 0; outline: 0; font-size: 17px; font-weight: 600; user-select: text; }
.chips { display: flex; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
.chip { height: 32px; padding: 0 14px; border-radius: 20px; background: rgba(255,255,255,.07); font-weight: 650; font-size: 13px; transition: all .2s; }
.chip:hover { background: rgba(255,255,255,.12); }
.chip.active { background: #fff; color: #0a0910; }
.genre-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 16px; }
.genre { height: 110px; border-radius: 14px; padding: 16px; font-weight: 800; font-size: 20px; letter-spacing: -.02em; position: relative; overflow: hidden; cursor: pointer; transition: transform .3s var(--spring); }
.genre:hover { transform: scale(1.03) rotate(-.5deg); }
.genre .gcv { position: absolute; right: -14px; bottom: -10px; width: 84px; height: 84px; border-radius: 8px; transform: rotate(24deg); box-shadow: 0 8px 20px rgba(0,0,0,.4); background-size: cover; }
.top-result { display: grid; grid-template-columns: minmax(280px, 1fr) 1.4fr; gap: 24px; }
.top-card { padding: 22px; border-radius: 18px; background: rgba(255,255,255,.05); cursor: pointer; position: relative; transition: background .3s; }
.top-card:hover { background: rgba(255,255,255,.1); }
.top-card .cv { width: 96px; height: 96px; border-radius: 10px; margin-bottom: 18px; box-shadow: 0 10px 30px rgba(0,0,0,.5); }
.top-card h3 { font-size: 28px; font-weight: 800; letter-spacing: -.03em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.top-card .play-btn { position: absolute; right: 22px; bottom: 22px; opacity: 0; transform: translateY(8px); transition: all .3s var(--spring); }
.top-card:hover .play-btn { opacity: 1; transform: none; }
.pill { display: inline-block; margin-top: 8px; padding: 4px 10px; border-radius: 20px; background: rgba(0,0,0,.35); font-size: 12px; font-weight: 700; }

/* ---------- paroles ---------- */
.lyrics-view { height: 100%; overflow-y: auto; padding: 38vh 8px 45vh; scroll-behavior: auto; mask-image: linear-gradient(transparent, #000 18%, #000 78%, transparent); -webkit-mask-image: linear-gradient(transparent, #000 18%, #000 78%, transparent); }
.lyrics-view::-webkit-scrollbar { width: 0; }
.ly-line { font-size: clamp(22px, 2.6vw, 38px); font-weight: 800; letter-spacing: -.025em; line-height: 1.25; padding: 10px 14px; margin: 2px 0; border-radius: 14px; color: rgba(255,255,255,.28); transition: color .45s var(--ease), transform .55s var(--ease), filter .5s, text-shadow .5s, opacity .5s; cursor: pointer; transform-origin: left center; filter: blur(1.2px); }
.ly-line:hover { color: rgba(255,255,255,.7); filter: none; background: rgba(255,255,255,.04); }
.ly-line.past { color: rgba(255,255,255,.5); filter: blur(.6px); }
.ly-line.active { color: #fff; transform: scale(1.04); filter: none; text-shadow: 0 0 30px rgba(var(--dyn), .9), 0 0 60px rgba(var(--dyn), .45); }
.ly-line.active .w { display: inline-block; animation: wordIn .5s var(--spring) both; }
@keyframes wordIn { from { opacity: .3; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.ly-line.gap { height: 26px; padding: 0; }
.ly-line.gap.active::before { content: '• • •'; font-size: 22px; color: #fff; animation: pulseRing 1.2s infinite; }
.lyrics-view.plain .ly-line { color: rgba(255,255,255,.85); filter: none; cursor: default; font-size: clamp(18px, 2vw, 28px); }
.lyrics-view.plain { padding-top: 60px; }
.ly-src { font-size: 12px; color: var(--muted); padding: 30px 14px 0; font-weight: 600; }
.ly-empty { text-align: center; padding-top: 18vh; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.ly-empty h3 { font-size: 26px; font-weight: 800; }
.ly-empty p { color: var(--muted); max-width: 380px; line-height: 1.5; }
.ly-empty .row { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.spinner { width: 34px; height: 34px; border-radius: 50%; border: 3px solid rgba(255,255,255,.12); border-top-color: var(--a1); animation: spin .8s linear infinite; }

/* vue paroles (page) */
.lyrics-page { position: absolute; inset: 0; display: grid; grid-template-columns: 320px 1fr; }
.lp-left { padding: 40px 28px; display: flex; flex-direction: column; gap: 16px; border-right: 1px solid var(--line); overflow-y: auto; }
.lp-cover { width: 100%; aspect-ratio: 1; border-radius: 18px; box-shadow: 0 30px 70px -20px rgba(0,0,0,.8); }
.lp-left h2 { font-size: 24px; font-weight: 800; letter-spacing: -.03em; }
.lp-left .tools { display: flex; flex-direction: column; gap: 8px; margin-top: 6px; }
.lp-right { position: relative; overflow: hidden; }
.lp-right .lyrics-view { position: absolute; inset: 0; padding-left: 30px; padding-right: 30px; }

/* ---------- plein ecran ---------- */
.np { position: fixed; inset: 0; z-index: 60; overflow: hidden; background: #050409; animation: npIn .55s var(--ease) both; }
.np.closing { animation: npOut .4s var(--ease) both; }
@keyframes npIn { from { opacity: 0; transform: translateY(40px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes npOut { to { opacity: 0; transform: translateY(40px) scale(.98); } }
.np-bg { position: absolute; inset: -15%; background-size: cover; background-position: center; filter: blur(90px) saturate(170%) brightness(.55); transform: scale(1.2); animation: bgMove 30s ease-in-out infinite alternate; transition: background-image 1s; }
.np-bg::after { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 30% 40%, rgba(var(--dyn), .4), transparent 60%), linear-gradient(180deg, rgba(0,0,0,.1), rgba(0,0,0,.55)); }
@keyframes bgMove { from { transform: scale(1.2) rotate(0deg); } to { transform: scale(1.45) rotate(8deg); } }
.np-viz { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 34vh; opacity: .55; pointer-events: none; }
.np-top { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; padding: 64px 40px 0; }
.np-top .icon-btn .ico { width: 26px; height: 26px; }
.np-from { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .16em; color: rgba(255,255,255,.75); }
.np-tabs { display: flex; gap: 4px; background: rgba(0,0,0,.25); border-radius: 12px; padding: 4px; }
.np-tab { height: 32px; padding: 0 14px; border-radius: 9px; font-weight: 700; font-size: 13px; color: rgba(255,255,255,.7); }
.np-tab.active { background: rgba(255,255,255,.16); color: #fff; }
.np-body { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(340px, 44%) 1fr; gap: 50px; height: calc(100% - 110px); padding: 10px 60px 30px; }
.np-left { display: flex; flex-direction: column; justify-content: center; gap: 22px; min-height: 0; }
.np-cover-wrap { position: relative; width: min(100%, 48vh); aspect-ratio: 1; align-self: center; }
.np-cover { position: absolute; inset: 0; border-radius: 22px; background-size: cover; background-position: center; z-index: 1; box-shadow: 0 50px 100px -25px rgba(0,0,0,.85); transition: transform .12s linear; }
.np-glow { position: absolute; inset: 6%; border-radius: 30px; background: rgb(var(--dyn)); filter: blur(60px); opacity: .55; transition: transform .1s linear, opacity .1s linear; }
.np-meta { align-self: center; width: min(100%, 48vh); }
.np-meta h2 { font-size: 30px; font-weight: 800; letter-spacing: -.035em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.np-meta p { color: rgba(255,255,255,.75); font-size: 16px; margin-top: 4px; }
.np-progress { align-self: center; width: min(100%, 48vh); display: flex; align-items: center; gap: 12px; font-size: 12px; color: rgba(255,255,255,.7); font-variant-numeric: tabular-nums; }
.np-controls { align-self: center; display: flex; align-items: center; gap: 22px; }
.np-right { min-height: 0; position: relative; }
.np-right .lyrics-view { position: absolute; inset: 0; }
.np.cover-mode .np-body { grid-template-columns: 1fr; }
.np.cover-mode .np-right { display: none; }
.np.cover-mode .np-cover-wrap { width: min(100%, 56vh); }

/* ---------- modales ---------- */
.modal-back { position: fixed; inset: 0; z-index: 100; background: rgba(4,3,8,.6); backdrop-filter: blur(8px); display: grid; place-items: center; animation: fadeIn .25s both; }
.modal-back.closing { animation: fadeOut .2s both; }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes fadeOut { to { opacity: 0; } }
.modal { width: min(520px, 92vw); max-height: 86vh; overflow: auto; border-radius: 22px; padding: 26px; animation: modalIn .4s var(--spring) both; position: relative; }
.modal.wide { width: min(820px, 94vw); }
@keyframes modalIn { from { opacity: 0; transform: translateY(20px) scale(.95); } to { opacity: 1; transform: none; } }
.modal h2 { font-size: 22px; font-weight: 800; letter-spacing: -.03em; margin-bottom: 6px; }
.modal .sub { color: var(--muted); margin-bottom: 18px; font-size: 13px; line-height: 1.5; }
.modal .close-x { position: absolute; top: 16px; right: 16px; }
.modal-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.modal-actions .spacer { flex: 1; }
.pl-form { display: grid; grid-template-columns: 180px 1fr; gap: 18px; }
.pl-form .cvpick { width: 180px; height: 180px; border-radius: 14px; position: relative; cursor: pointer; overflow: hidden; }
.pl-form .cvpick .edit-ov { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(0,0,0,.5); opacity: 0; transition: opacity .2s; font-weight: 700; font-size: 13px; text-align: center; }
.pl-form .cvpick:hover .edit-ov { opacity: 1; }
.swatches { display: flex; gap: 10px; flex-wrap: wrap; }
.swatch { width: 34px; height: 34px; border-radius: 50%; cursor: pointer; transition: transform .2s var(--spring); box-shadow: inset 0 0 0 2px rgba(255,255,255,.15); }
.swatch:hover { transform: scale(1.12); }
.swatch.sel { box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px #fff; }
.lyr-editor textarea { width: 100%; min-height: 300px; font-family: 'Cascadia Code', Consolas, monospace; font-size: 13px; line-height: 1.6; background: rgba(0,0,0,.3); border: 1px solid var(--line); border-radius: 12px; padding: 14px; outline: 0; resize: vertical; user-select: text; }
.lyr-editor textarea:focus { border-color: rgba(var(--dyn), .6); }
.lyr-tools { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.results { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.res { padding: 12px 14px; border-radius: 12px; background: rgba(255,255,255,.05); border: 1px solid var(--line); cursor: pointer; transition: all .2s; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.res:hover { background: rgba(255,255,255,.1); border-color: rgba(var(--dyn), .5); transform: translateX(3px); }
.res b { display: block; }
.res span { color: var(--muted); font-size: 12px; }
.tag { font-size: 10.5px; font-weight: 800; padding: 3px 8px; border-radius: 6px; background: rgba(255,255,255,.1); white-space: nowrap; }
.tag.sync { background: var(--grad); }
.sync-stage { text-align: center; padding: 20px 10px; }
.sync-stage .prev-l, .sync-stage .next-l { color: var(--muted); font-size: 15px; min-height: 22px; }
.sync-stage .cur-l { font-size: 26px; font-weight: 800; margin: 14px 0; min-height: 34px; }
.tap-btn { width: 120px; height: 120px; border-radius: 50%; background: var(--grad); color: #fff; font-weight: 800; font-size: 16px; margin: 16px auto; display: grid; place-items: center; box-shadow: 0 20px 50px -10px rgba(var(--dyn), .8); transition: transform .1s; }
.tap-btn:active, .tap-btn.hit { transform: scale(.9); }
.settings-grid { display: flex; flex-direction: column; gap: 22px; }
.set-card { background: rgba(255,255,255,.04); border: 1px solid var(--line); border-radius: 18px; padding: 20px 22px; }
.set-card h3 { font-size: 16px; font-weight: 800; margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.set-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 0; border-top: 1px solid var(--line); }
.set-row:first-of-type { border-top: 0; }
.set-row .lbl b { display: block; font-weight: 650; }
.set-row .lbl span { color: var(--muted); font-size: 12.5px; }
.toggle { width: 44px; height: 26px; border-radius: 20px; background: rgba(255,255,255,.15); position: relative; transition: background .25s; flex-shrink: 0; }
.toggle::after { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .3s var(--spring); }
.toggle.on { background: var(--grad); }
.toggle.on::after { transform: translateX(18px); }
.accent-sw { width: 46px; height: 30px; border-radius: 10px; cursor: pointer; transition: transform .2s var(--spring); }
.accent-sw:hover { transform: translateY(-2px); }
.accent-sw.sel { box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px #fff; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.stat { background: rgba(255,255,255,.04); border-radius: 14px; padding: 16px; border: 1px solid var(--line); }
.stat b { display: block; font-size: 26px; font-weight: 800; letter-spacing: -.03em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { color: var(--muted); font-size: 12px; }

/* ---------- menu contextuel ---------- */
.ctx { position: fixed; z-index: 200; min-width: 230px; padding: 6px; border-radius: 12px; background: rgba(28,25,38,.96); border: 1px solid rgba(255,255,255,.08); box-shadow: 0 20px 50px rgba(0,0,0,.6); backdrop-filter: blur(20px); animation: ctxIn .16s var(--ease) both; }
@keyframes ctxIn { from { opacity: 0; transform: scale(.96) translateY(-4px); } }
.ctx-item { display: flex; align-items: center; gap: 12px; height: 38px; padding: 0 12px; border-radius: 8px; cursor: pointer; font-weight: 550; font-size: 13.5px; position: relative; }
.ctx-item .ico { width: 17px; height: 17px; color: var(--muted); }
.ctx-item:hover { background: rgba(255,255,255,.08); }
.ctx-item.danger { color: #fca5a5; }
.ctx-item.danger .ico { color: #fca5a5; }
.ctx-sep { height: 1px; background: var(--line); margin: 5px 6px; }
.ctx-item .arrow { margin-left: auto; }
.ctx-sub { position: absolute; left: 100%; top: -6px; margin-left: 4px; min-width: 210px; max-height: 320px; overflow-y: auto; display: none; }
.ctx-item:hover > .ctx-sub { display: block; }
.ctx-sub.left { left: auto; right: 100%; margin-right: 4px; }

/* ---------- toasts & import ---------- */
.toasts { position: fixed; bottom: 110px; left: 50%; transform: translateX(-50%); z-index: 300; display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none; }
.toast { padding: 11px 18px; border-radius: 12px; background: #fff; color: #0a0910; font-weight: 650; font-size: 13.5px; box-shadow: 0 14px 40px rgba(0,0,0,.5); animation: toastIn .4s var(--spring) both; display: flex; align-items: center; gap: 10px; }
.toast .ico { width: 18px; height: 18px; }
.toast.err { background: #fecaca; }
.toast.out { animation: toastOut .3s both; }
@keyframes toastIn { from { opacity: 0; transform: translateY(16px) scale(.9); } }
@keyframes toastOut { to { opacity: 0; transform: translateY(10px) scale(.95); } }
.drop-overlay { position: fixed; inset: 0; z-index: 250; background: rgba(6,5,10,.75); backdrop-filter: blur(10px); display: grid; place-items: center; animation: fadeIn .2s; pointer-events: none; }
.drop-inner { border: 2px dashed rgba(var(--dyn), .8); border-radius: 30px; padding: 60px 90px; text-align: center; animation: breathe 1.6s ease-in-out infinite; }
.drop-inner .ico { width: 64px; height: 64px; margin: 0 auto 16px; color: var(--a1); }
.drop-inner h2 { font-size: 28px; font-weight: 800; }
.drop-inner p { color: var(--muted); margin-top: 6px; }
@keyframes breathe { 0%,100% { transform: scale(1); } 50% { transform: scale(1.03); } }
.import-progress { position: fixed; top: 64px; right: 24px; z-index: 260; width: 300px; padding: 14px 16px; border-radius: 14px; background: rgba(28,25,38,.95); border: 1px solid var(--line); box-shadow: 0 20px 50px rgba(0,0,0,.5); animation: rise .4s var(--ease); }
.ip-bar { height: 6px; border-radius: 6px; background: rgba(255,255,255,.1); overflow: hidden; margin-bottom: 8px; }
.ip-bar div { height: 100%; width: 0; background: var(--grad); transition: width .3s; }
.import-progress span { font-size: 12px; color: var(--muted); display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* filtres bibliotheque */
.lib-bar { display: flex; align-items: center; gap: 10px; padding: 0 28px 14px; flex-wrap: wrap; }
.lib-bar .input { width: 240px; height: 36px; }
.lib-bar .grow { flex: 1; }
.seg { display: flex; background: rgba(255,255,255,.05); border-radius: 10px; padding: 3px; }
.seg button { height: 30px; padding: 0 12px; border-radius: 8px; color: var(--muted); font-weight: 650; font-size: 12.5px; }
.seg button.active { background: rgba(255,255,255,.12); color: #fff; }

@media (max-width: 1150px) {
  .tr-head, .tr { grid-template-columns: 34px minmax(180px, 4fr) minmax(90px, 2fr) 50px 64px; }
  .c-date { display: none !important; }
  .tracks.no-album .tr-head, .tracks.no-album .tr { grid-template-columns: 34px minmax(180px, 4fr) 50px 64px; }
  .hero-cover { width: 170px; height: 170px; }
  #miniViz { display: none; }
}
.cv.thumb { width: 44px; height: 44px; border-radius: 8px; flex-shrink: 0; }
.cv.thumb .ico { width: 18px; height: 18px; }
body:not(.is-staff) .staff-only { display: none !important; }

/* ---------- profils des rappeurs ---------- */
.artist-hero { position: relative; height: 380px; overflow: hidden; display: flex; align-items: flex-end; }
.ah-bg { position: absolute; inset: 0; background-size: cover; background-position: center 30%; transform: scale(1.05); animation: heroZoom 18s ease-in-out infinite alternate; }
.ah-bg.blur { filter: blur(40px) saturate(150%) brightness(.8); transform: scale(1.3); animation: none; }
@keyframes heroZoom { from { transform: scale(1.05); } to { transform: scale(1.14); } }
.ah-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,6,11,.05) 0%, rgba(7,6,11,.25) 45%, rgba(14,12,20,.95) 100%); }
.ah-content { position: relative; z-index: 1; display: flex; align-items: flex-end; gap: 28px; padding: 0 28px 26px; width: 100%; }
.ah-photo { width: 190px; height: 190px; border-radius: 50%; flex-shrink: 0; background-size: cover; background-position: center; display: grid; place-items: center; box-shadow: 0 24px 60px -12px rgba(0,0,0,.8), 0 0 0 4px rgba(255,255,255,.12), 0 0 50px rgba(var(--dyn), .45); animation: rise .7s var(--spring) both; }
.ah-photo .ico { width: 70px; height: 70px; }
.ah-info { min-width: 0; padding-bottom: 6px; }
.ah-verified { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 13px; }
.vbadge { display: inline-grid; place-items: center; color: #3b82f6; filter: drop-shadow(0 0 8px rgba(59,130,246,.6)); }
.vbadge .ico { width: 24px; height: 24px; }
.vbadge.sm { margin-left: 6px; vertical-align: -3px; }
.vbadge.sm .ico { width: 16px; height: 16px; }
.lang-pill { padding: 3px 10px; border-radius: 20px; background: rgba(255,255,255,.12); font-weight: 650; font-size: 12.5px; backdrop-filter: blur(10px); }
.about-card { display: grid; grid-template-columns: 220px 1fr; gap: 24px; background: rgba(255,255,255,.04); border: 1px solid var(--line); border-radius: 20px; padding: 20px; max-width: 900px; }
.about-img { aspect-ratio: 1; border-radius: 16px; background-size: cover; background-position: center; }
.about-txt p { line-height: 1.7; color: #dcd8e8; user-select: text; }
.about-links { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.banner-pick .bp { height: 130px; border-radius: 16px; background-size: cover; background-position: center; position: relative; overflow: hidden; cursor: pointer; margin-bottom: -50px; }
.ae-grid { display: grid; grid-template-columns: 150px 1fr; gap: 22px; align-items: start; position: relative; padding-left: 16px; }
.pp-pick .cv { width: 140px; height: 140px; border-radius: 50%; position: relative; overflow: hidden; cursor: pointer; box-shadow: 0 0 0 5px rgba(20,18,28,1), 0 14px 40px rgba(0,0,0,.5); }
.pp-pick .cv .ico { width: 46px; height: 46px; }
.pp-pick .edit-ov, .banner-pick .edit-ov { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; background: rgba(0,0,0,.5); opacity: 0; transition: opacity .2s; font-weight: 700; font-size: 12.5px; text-align: center; }
.pp-pick .edit-ov .ico, .banner-pick .edit-ov .ico { width: 22px; height: 22px; }
.pp-pick .cv:hover .edit-ov, .banner-pick .bp:hover .edit-ov { opacity: 1; }
.ae-grid .field:first-child { margin-top: 58px; }
.lang-grid { display: flex; flex-wrap: wrap; gap: 6px; }
.lang-opt { height: 32px; padding: 0 11px; border-radius: 9px; background: rgba(255,255,255,.06); border: 1px solid var(--line); font-size: 12.5px; font-weight: 600; transition: all .2s; }
.lang-opt:hover { background: rgba(255,255,255,.11); }
.lang-opt.sel { background: rgba(var(--dyn), .3); border-color: rgba(var(--dyn), .8); color: #fff; }
.ae-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }

/* ---------- panneau admin ---------- */
.stats.six { grid-template-columns: repeat(6, 1fr); margin-bottom: 18px; }
.stat .ico { width: 18px; height: 18px; color: var(--muted); margin-bottom: 8px; }
.admin-charts { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.chart-card { padding: 18px 20px; }
.chart-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 14px; }
.chart-total { font-size: 24px; font-weight: 800; letter-spacing: -.03em; }
.bars-wrap { position: relative; height: 140px; display: flex; gap: 8px; }
.bars-grid { display: flex; flex-direction: column; justify-content: space-between; font-size: 10.5px; color: var(--dim); width: 22px; text-align: right; font-variant-numeric: tabular-nums; }
.bars { flex: 1; display: flex; align-items: flex-end; gap: 2px; border-bottom: 1px solid var(--line); background-image: linear-gradient(var(--line) 1px, transparent 1px); background-size: 100% 50%; }
.bar-hit { flex: 1; height: 100%; display: flex; align-items: flex-end; cursor: default; }
.bar { width: 100%; border-radius: 4px 4px 0 0; background: rgb(var(--dyn)); transform-origin: bottom; animation: barUp .6s var(--ease) both; transition: filter .15s; }
.bar-hit:hover .bar { filter: brightness(1.35); }
@keyframes barUp { from { transform: scaleY(0); } }
.bars-axis { display: flex; justify-content: space-between; font-size: 11px; color: var(--dim); margin: 6px 0 0 30px; }
.chart-tip { position: fixed; z-index: 400; transform: translate(-50%, -100%); padding: 6px 10px; border-radius: 8px; background: #fff; color: #0a0910; font-size: 12px; font-weight: 650; pointer-events: none; white-space: nowrap; box-shadow: 0 8px 24px rgba(0,0,0,.45); }
.settings-grid, #adminBody .set-card { margin-bottom: 18px; }
.adm-artists { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 10px; }
.adm-artist { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 14px; background: rgba(255,255,255,.04); cursor: pointer; transition: background .2s, transform .25s var(--spring); }
.adm-artist:hover { background: rgba(255,255,255,.08); transform: translateY(-2px); }
.adm-artist .cv { width: 48px; height: 48px; flex-shrink: 0; }
.adm-artist .cv .ico { width: 22px; height: 22px; }
.adm-artist .tx { flex: 1; min-width: 0; }
.adm-artist b { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.adm-artist span { font-size: 12px; color: var(--muted); }
.adm-table { overflow-x: auto; }
.adm-row { display: grid; grid-template-columns: minmax(190px, 2fr) 110px 90px 120px 90px 70px 80px minmax(110px, 1.3fr) 110px; gap: 10px; align-items: center; padding: 10px 6px; border-top: 1px solid var(--line); font-size: 13px; min-width: 1050px; }
.adm-row.head { border-top: 0; color: var(--muted); font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.adm-row.banned { opacity: .5; }
.adm-row .who { display: flex; align-items: center; gap: 10px; min-width: 0; }
.adm-row .who b { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.adm-row .who span { font-size: 12px; color: var(--muted); }
.adm-row .fav { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.adm-row .acts { display: flex; justify-content: flex-end; gap: 2px; }
.role-sel { height: 32px !important; padding: 0 8px !important; font-size: 12.5px; }
.role-sel option { background: #1c1926; }
.role-pill { padding: 3px 10px; border-radius: 20px; font-size: 12px; font-weight: 700; background: rgba(255,255,255,.08); }
.role-pill.owner { background: var(--grad); }
.role-pill.admin { background: rgba(59,130,246,.3); }
.admin-two { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.adm-line { display: flex; align-items: center; gap: 12px; padding: 8px 0; border-top: 1px solid var(--line); }
.adm-line:first-of-type { border-top: 0; }
.adm-line .tx { flex: 1; min-width: 0; }
.adm-line b { display: block; font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.adm-line .tx span { font-size: 12px; color: var(--muted); }
.adm-line .rk { width: 18px; text-align: center; color: var(--muted); font-weight: 800; }
.set-card h3 .btn { font-size: 12.5px; }
@media (max-width: 1250px) { .stats.six { grid-template-columns: repeat(3, 1fr); } .admin-charts, .admin-two { grid-template-columns: 1fr; } }
.server-line { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 16px; font-size: 12px; color: var(--muted); }
.server-line a { color: #fff; font-weight: 650; text-decoration: underline; }
.dot-live { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 10px #22c55e; animation: pulseRing 2s infinite; }
.server-line.off .dot-live { background: #ef4444; box-shadow: 0 0 10px #ef4444; }

/* ---------- photo modifiable ---------- */
.ah-photo.editable, .avatar-edit { position: relative; cursor: pointer; overflow: hidden; }
.avatar-edit { border-radius: 50%; flex-shrink: 0; transition: transform .3s var(--spring); }
.avatar-edit:hover { transform: scale(1.04); }
.ph-ov { position: absolute; inset: 0; border-radius: 50%; display: grid; place-items: center; background: rgba(0,0,0,.5); opacity: 0; transition: opacity .2s; }
.ph-ov .ico { width: 30px; height: 30px; }
.ah-photo.editable:hover .ph-ov, .avatar-edit:hover .ph-ov { opacity: 1; }

/* ---------- couleur de fond ---------- */
.bg-swatches { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; max-width: 460px; }
.bg-sw { width: 44px; height: 44px; border-radius: 12px; background: var(--c); box-shadow: inset 0 0 0 1px rgba(255,255,255,.15); position: relative; cursor: pointer; transition: transform .25s var(--spring), box-shadow .2s; display: grid; place-items: center; }
.bg-sw:hover { transform: translateY(-3px) scale(1.05); }
.bg-sw span { position: absolute; bottom: -22px; left: 50%; transform: translateX(-50%); font-size: 10.5px; color: var(--muted); white-space: nowrap; opacity: 0; transition: opacity .2s; pointer-events: none; }
.bg-sw:hover span { opacity: 1; }
.bg-sw.sel { box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px #fff; }
.bg-sw.custom { background: conic-gradient(from 0deg, #f43f5e, #f59e0b, #10b981, #06b6d4, #8b5cf6, #f43f5e); }
.bg-sw.custom::after { content: ''; position: absolute; inset: 6px; border-radius: 8px; background: var(--c); }
.bg-sw.custom span { position: relative; z-index: 1; opacity: 1; bottom: auto; left: auto; transform: none; }
.bg-sw.custom .ico { width: 16px; height: 16px; color: #fff; }
.bg-sw.custom input { position: absolute; opacity: 0; width: 100%; height: 100%; cursor: pointer; }

/* ---------- promos en haut de l'accueil ---------- */
.promo-hero { position: relative; margin: 18px 28px 0; height: 300px; border-radius: 26px; overflow: hidden; isolation: isolate; box-shadow: 0 30px 70px -30px rgba(0,0,0,.9); }
.promo-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .9s var(--ease), visibility 0s .9s; }
.promo-slide.on { opacity: 1; visibility: visible; transition: opacity .9s var(--ease); }
.ps-bg { position: absolute; inset: -4%; background-size: cover; background-position: center 30%; transform: scale(1.12); }
.ps-bg.blur { filter: blur(30px) saturate(160%) brightness(.8); transform: scale(1.4); }
.promo-slide.on .ps-bg:not(.blur) { animation: kenburns 9s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1.12) translate(1.5%, 1%); } to { transform: scale(1.02) translate(-1%, -1%); } }
.ps-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,6,11,.88) 0%, rgba(7,6,11,.55) 45%, rgba(7,6,11,.1) 100%), linear-gradient(0deg, rgba(7,6,11,.6), transparent 50%); }
.ps-shine { position: absolute; inset: 0; background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.14) 50%, transparent 65%); transform: translateX(-100%); }
.promo-slide.on .ps-shine { animation: shineSweep 1.6s .5s var(--ease); }
@keyframes shineSweep { to { transform: translateX(100%); } }
.ps-content { position: relative; z-index: 1; height: 100%; display: flex; align-items: center; gap: 30px; padding: 0 44px; }
.ps-photo { width: 170px; height: 170px; border-radius: 50%; background-size: cover; background-position: center; flex-shrink: 0; box-shadow: 0 0 0 4px rgba(255,255,255,.15), 0 0 60px rgba(var(--dyn), .6), 0 20px 50px rgba(0,0,0,.6); }
.promo-slide.on .ps-photo { animation: photoIn .9s var(--spring) both, glowPulse 3s 1s ease-in-out infinite; }
@keyframes photoIn { from { opacity: 0; transform: scale(.6) rotate(-12deg); } }
@keyframes glowPulse { 0%,100% { box-shadow: 0 0 0 4px rgba(255,255,255,.15), 0 0 40px rgba(var(--dyn), .45), 0 20px 50px rgba(0,0,0,.6); } 50% { box-shadow: 0 0 0 4px rgba(255,255,255,.25), 0 0 80px rgba(var(--dyn), .85), 0 20px 50px rgba(0,0,0,.6); } }
.ps-txt { max-width: 620px; }
.promo-slide.on .ps-txt > * { animation: viewIn .7s var(--ease) both; }
.promo-slide.on .ps-txt > *:nth-child(2) { animation-delay: .1s; }
.promo-slide.on .ps-txt > *:nth-child(3) { animation-delay: .2s; }
.promo-slide.on .ps-txt > *:nth-child(4) { animation-delay: .3s; }
.ps-kicker { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 20px; background: rgba(255,255,255,.12); backdrop-filter: blur(10px); font-size: 11.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .14em; }
.ps-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--a2); box-shadow: 0 0 12px var(--a2); animation: pulseRing 1.4s infinite; }
.ps-txt h2 { font-size: clamp(32px, 4.2vw, 58px); font-weight: 800; letter-spacing: -.045em; line-height: 1.02; margin: 12px 0 10px; display: flex; align-items: center; gap: 12px; text-shadow: 0 6px 40px rgba(0,0,0,.4); }
.ps-txt h2 .vbadge .ico { width: 32px; height: 32px; }
.ps-txt p { color: #e4e0ee; font-size: 14.5px; line-height: 1.55; max-width: 520px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ps-actions { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.ps-dots { position: absolute; z-index: 2; right: 28px; bottom: 22px; display: flex; gap: 6px; }
.ps-dots button { width: 26px; height: 6px; border-radius: 6px; background: rgba(255,255,255,.25); overflow: hidden; transition: width .3s var(--ease); }
.ps-dots button.on { width: 46px; }
.ps-dots button i { display: block; height: 100%; width: 0; background: #fff; }
.ps-dots button.on i { animation: dotFill 7s linear forwards; }
@keyframes dotFill { to { width: 100%; } }
.ps-nav { position: absolute; z-index: 2; top: 50%; margin-top: -18px; background: rgba(0,0,0,.35); color: #fff; opacity: 0; transition: opacity .25s, background .2s; }
.promo-hero:hover .ps-nav { opacity: 1; }
.ps-nav.prev { left: 12px; } .ps-nav.next { right: 12px; }
.ps-nav:hover { background: rgba(0,0,0,.6); }

/* ---------- gestion des promos ---------- */
.promo-list { display: flex; flex-direction: column; gap: 10px; }
.promo-item { display: flex; align-items: center; gap: 14px; padding: 10px; border-radius: 14px; background: rgba(255,255,255,.04); transition: opacity .3s, background .2s; }
.promo-item:hover { background: rgba(255,255,255,.07); }
.promo-item.off { opacity: .5; }
.pi-img { width: 120px; height: 56px; border-radius: 10px; background-size: cover; background-position: center; flex-shrink: 0; }
.pi-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.pi-txt b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pi-txt .muted { font-size: 12px; }
.pi-type { font-size: 10.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--a2); }
.promo-preview { margin-bottom: 14px; display: flex; align-items: flex-end; gap: 10px; }
.pp-box { flex: 1; height: 140px; border-radius: 16px; background-size: cover; background-position: center; position: relative; overflow: hidden; cursor: pointer; }
.pp-box .edit-ov { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; background: rgba(0,0,0,.45); opacity: .0; transition: opacity .2s; font-weight: 700; font-size: 13px; }
.pp-box:hover .edit-ov { opacity: 1; }
.pp-box .edit-ov .ico { width: 24px; height: 24px; }
select.input option { background: #1c1926; }
/* statut Discord */
.set-row .lbl em{font-style:normal;display:block;margin-top:4px;color:var(--muted,#a09cb0);font-weight:600}
.set-row .lbl em.ok-txt{color:#4ade80}
/* ---------- hors ligne ---------- */
.nav-count{margin-left:auto;font-style:normal;font-size:11px;font-weight:700;min-width:20px;padding:1px 7px;border-radius:99px;background:var(--grad);color:#fff;text-align:center}
.nav-count:empty{display:none}
.dl-badge{display:none;width:16px;height:16px;border-radius:50%;background:#22c55e;color:#06130a;margin-right:7px;vertical-align:-3px;align-items:center;justify-content:center;flex:none}
.dl-badge svg{width:11px;height:11px;stroke-width:3}
.tr.is-dl .dl-badge{display:inline-flex;animation:dlPop .45s cubic-bezier(.2,1.6,.4,1)}
.tr.dl-busy .tt::after{content:'';display:inline-block;width:12px;height:12px;margin-left:8px;border-radius:50%;border:2px solid rgba(255,255,255,.25);border-top-color:#ec4899;animation:spin .8s linear infinite;vertical-align:-2px}
@keyframes dlPop{0%{transform:scale(0)}100%{transform:scale(1)}}
@keyframes spin{to{transform:rotate(360deg)}}
.dl-btn.on{color:#22c55e;border-color:rgba(34,197,94,.45)}
.dl-btn.busy svg{animation:dlBounce 1s ease-in-out infinite}
@keyframes dlBounce{0%,100%{transform:translateY(-2px)}50%{transform:translateY(3px)}}
.dl-cover{display:grid;place-items:center;background:linear-gradient(135deg,#16a34a,#0e7490)!important;color:#fff}
.dl-cover svg{width:38%;height:38%;stroke-width:2.2}
.offline-banner{display:flex;align-items:center;gap:14px;margin:18px 28px 0;padding:12px 16px;border-radius:14px;background:linear-gradient(90deg,rgba(234,179,8,.16),rgba(234,179,8,.05));border:1px solid rgba(234,179,8,.35);animation:fadeUp .4s ease}
.offline-banner>svg{width:22px;height:22px;color:#facc15;flex:none}
.offline-banner div{flex:1;display:flex;flex-direction:column;gap:2px}
.offline-banner span{color:var(--muted);font-size:12.5px}
@keyframes fadeUp{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
body.is-offline .staff-only{display:none!important}

/* =================== version web / téléphone =================== */
html.is-web .tb-right, html.is-web .server-line { display: none !important; }
html.is-web .titlebar { -webkit-app-region: none; }
@media (max-width: 760px) {
  :root { --mnav: 62px; --mplayer: 66px; }
  body { overscroll-behavior: none; -webkit-tap-highlight-color: transparent; }
  .titlebar { height: calc(54px + env(safe-area-inset-top)); padding: env(safe-area-inset-top) 64px 0 14px; gap: 10px; }
  .tb-left { width: auto; gap: 8px; }
  .nav-arrows, .tb-search kbd { display: none; }
  .tb-search { flex: 1; width: auto; height: 38px; }
  .tb-search:focus-within { width: auto; }
  .shell { inset: calc(54px + env(safe-area-inset-top)) 0 0 0; padding: 0; gap: 0; grid-template-columns: 1fr !important; grid-template-rows: 1fr calc(var(--mplayer) + var(--mnav) + env(safe-area-inset-bottom)); }
  .main { grid-column: 1; border-radius: 0; border: 0; border-top: 1px solid var(--line); }
  .view { padding-bottom: 24px; }
  /* barre de navigation en bas */
  .sidebar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; height: calc(var(--mnav) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); border-top: 1px solid var(--line); gap: 0; }
  .sidebar::before { content: ''; position: absolute; inset: 0; background: rgba(10,9,15,.92); backdrop-filter: blur(24px); z-index: -1; }
  .side-nav .nav-item[data-route="lyrics"], .side-nav .nav-item[data-route="admin"] { display: none !important; }
  .side-nav .nav-item span { display: none; }
  .side-nav .nav-item::after { content: attr(data-short); font-size: 10.5px; }
  .side-section, .side-import { display: none !important; }
  .side-nav { flex-direction: row; background: none; border: 0; padding: 4px 4px 0; height: var(--mnav); justify-content: space-around; border-radius: 0; backdrop-filter: none; }
  .side-nav .nav-item { flex: 1; flex-direction: column; justify-content: center; gap: 3px; height: 54px; padding: 0 2px; font-size: 10px; font-weight: 650; border-radius: 12px; min-width: 0; }
  .side-nav .nav-item .ico, .side-nav .nav-item svg { width: 22px; height: 22px; }
  .side-nav .nav-item.active { background: none; color: #fff; }
  .side-nav .nav-item.active::before { display: none; }
  .side-nav .nav-item.active .ico, .side-nav .nav-item.active svg { color: var(--a2); filter: drop-shadow(0 0 8px rgba(var(--dyn), .7)); }
  .nav-count { position: absolute; top: 2px; left: 55%; margin: 0; font-size: 9.5px; min-width: 16px; padding: 0 5px; }
  /* avatar = accès au profil / paramètres, en haut à droite */
  .side-user { position: fixed; top: calc(8px + env(safe-area-inset-top)); right: 12px; padding: 0; background: none; border: 0; backdrop-filter: none; z-index: 60; }
  .side-user .who, .side-user > .icon-btn { display: none; }
  .side-user .avatar { width: 38px; height: 38px; }
  /* mini lecteur */
  .player { position: fixed; left: 8px; right: 8px; bottom: calc(var(--mnav) + env(safe-area-inset-bottom) + 4px); height: var(--mplayer); z-index: 41; grid-template-columns: 1fr auto; gap: 8px; padding: 0 8px 0 6px; border-radius: 16px; background: rgba(var(--dyn), .28); backdrop-filter: blur(30px) saturate(160%); border: 1px solid rgba(255,255,255,.1); box-shadow: 0 16px 40px -10px rgba(0,0,0,.8); overflow: hidden; }
  .player::before { content: ''; position: absolute; inset: 0; background: rgba(12,10,18,.55); z-index: -1; }
  .pl-left { gap: 10px; }
  .pl-cover { width: 48px; height: 48px; border-radius: 9px; }
  .pl-title { font-size: 13.5px; }
  .pl-artist { font-size: 12px; }
  .pl-left .like-btn { display: none; }
  .pl-center { position: static; }
  .pl-controls { gap: 2px; }
  #btnShuffle, #btnRepeat, #btnPrev { display: none; }
  .pl-controls .play-btn { width: 42px; height: 42px; }
  .pl-progress { position: absolute; left: 10px; right: 10px; bottom: 0; height: 3px; gap: 0; }
  .pl-progress span { display: none; }
  .pl-progress .slider { height: 3px; }
  .pl-progress .slider::before, .pl-progress .slider-fill { height: 2px !important; }
  .pl-progress .slider-fill { background: #fff !important; box-shadow: none !important; }
  .pl-right, .queue-panel { display: none; }
  .toasts { bottom: calc(var(--mplayer) + var(--mnav) + env(safe-area-inset-bottom) + 18px); width: 90vw; }
  .toast { font-size: 13px; }
  /* pages */
  .hero { flex-direction: column; align-items: center; text-align: center; padding: 26px 18px 10px; gap: 16px; }
  .hero-cover { width: 190px; height: 190px; }
  .hero-sub { justify-content: center; }
  .hero-title { font-size: clamp(30px, 10vw, 44px) !important; margin: 6px 0 10px; }
  .actions { padding: 12px 18px 14px; gap: 12px; flex-wrap: wrap; }
  .section { padding: 18px 16px 4px; }
  .section-head h2 { font-size: 19px; }
  .mix-hero { margin: 14px 14px 0; padding: 20px; min-height: 120px; border-radius: 18px; }
  .mix-hero h2 { font-size: 24px; }
  .mix-hero p { font-size: 13px; }
  .mix-hero .bars { display: none; }
  .quick-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .quick { height: 54px; }
  .quick .cv { width: 54px; height: 54px; }
  .quick .nm { font-size: 12.5px; white-space: normal; line-height: 1.2; }
  .quick .play-btn { display: none; }
  .card-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .card { padding: 8px; }
  .card .play-btn { display: none; }
  .tracks { padding: 0 6px; }
  .tr-head { display: none; }
  .tr { grid-template-columns: 26px minmax(0, 1fr) 44px !important; gap: 10px; padding: 0 8px; }
  .tr .c-album, .tr .c-date, .tr .c-like { display: none !important; }
  .tr .c-dur { font-size: 0; justify-content: flex-end; }
  .tr .c-dur .more { opacity: 1 !important; font-size: 13px; }
  .tr .num { font-size: 12px; }
  .promo-hero { margin: 12px 12px 0; height: 230px; border-radius: 20px; }
  .ps-content { padding: 0 20px; gap: 14px; flex-direction: row; }
  .ps-photo { width: 84px; height: 84px; }
  .ps-txt h2, .ps-txt .ps-title { font-size: 24px !important; }
  .ps-txt p { font-size: 12.5px; }
  .artist-hero { height: 300px; }
  .ah-content { flex-direction: column; align-items: flex-start; gap: 12px; padding: 0 18px 18px; }
  .ah-photo { width: 110px; height: 110px; }
  .set-row { flex-wrap: wrap; gap: 10px; }
  .set-row .lbl { min-width: 100%; }
  .offline-banner { margin: 12px 12px 0; }
  .ctx { min-width: 0; left: 8px !important; right: 8px; top: auto !important; bottom: calc(env(safe-area-inset-bottom) + 10px); border-radius: 18px; max-height: 70vh; overflow-y: auto; }
  .ctx-item { height: 46px; font-size: 15px; }
  .ctx-sub { position: static; margin: 4px 0 0 18px; display: block; max-height: none; box-shadow: none; background: none; border: 0; }
  .modal-back { place-items: end center; }
  .modal, .modal.wide { width: 100vw; max-height: 92vh; border-radius: 24px 24px 0 0; padding: 22px 18px calc(22px + env(safe-area-inset-bottom)); }
  /* lecture plein écran */
  .np-top { padding: calc(14px + env(safe-area-inset-top)) 16px 0; }
  .np-tabs { transform: scale(.9); }
  .np-body { grid-template-columns: 1fr; gap: 18px; padding: 10px 22px calc(20px + env(safe-area-inset-bottom)); height: calc(100% - 70px); overflow-y: auto; }
  .np-left { justify-content: flex-start; gap: 16px; padding-top: 6px; }
  .np-cover-wrap { width: min(74vw, 36vh); flex-shrink: 0; }
  .np-from { font-size: 10.5px; letter-spacing: .1em; }
  .np-meta, .np-progress { width: 100%; }
  .np-meta h2 { font-size: 24px; }
  .np-right { min-height: 46vh; }
  /* connexion */
  .auth { padding: 70px 14px 20px; overflow-y: auto; place-items: start center; }
  .auth-card { width: 100%; padding: 26px 20px 22px; }
}
.mobile-only { display: none !important; }
@media (max-width: 760px) { .mobile-only { display: flex !important; } }
/* ---------- thèmes ---------- */
body.accent-sakura { --a1:#f472b6; --a2:#fb7185; --a3:#c084fc; }
body.accent-ice    { --a1:#67e8f9; --a2:#60a5fa; --a3:#c4b5fd; }
body.accent-lava   { --a1:#ef4444; --a2:#f97316; --a3:#fbbf24; }
body.accent-gold   { --a1:#f59e0b; --a2:#facc15; --a3:#fde68a; }
body.accent-toxic  { --a1:#22c55e; --a2:#84cc16; --a3:#facc15; }
.tc-prev.accent-violet { --a1:#8b5cf6; --a2:#ec4899; --a3:#f97316; } .tc-prev.accent-ocean { --a1:#06b6d4; --a2:#3b82f6; --a3:#8b5cf6; } .tc-prev.accent-candy { --a1:#ec4899; --a2:#a855f7; --a3:#22d3ee; }
.tc-prev.accent-sakura { --a1:#f472b6; --a2:#fb7185; --a3:#c084fc; } .tc-prev.accent-ice { --a1:#67e8f9; --a2:#60a5fa; --a3:#c4b5fd; } .tc-prev.accent-lava { --a1:#ef4444; --a2:#f97316; --a3:#fbbf24; }
.tc-prev.accent-gold { --a1:#f59e0b; --a2:#facc15; --a3:#fde68a; } .tc-prev.accent-toxic { --a1:#22c55e; --a2:#84cc16; --a3:#facc15; }
.set-row.col { flex-direction: column; align-items: stretch; gap: 12px; }
.set-row .chips { margin-top: 0; justify-content: flex-end; }
.theme-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 10px; }
.theme-card { position: relative; border-radius: 14px; padding: 8px 8px 10px; background: rgba(255,255,255,.04); border: 1px solid var(--line); text-align: left; transition: transform .25s var(--spring), border-color .2s, background .2s; }
.theme-card:hover { transform: translateY(-3px); background: rgba(255,255,255,.07); }
.theme-card.sel { border-color: transparent; box-shadow: 0 0 0 2px var(--a2), 0 10px 30px -10px rgba(var(--dyn), .7); }
.theme-card b { display: block; margin-top: 8px; font-size: 13px; }
.tc-prev { position: relative; display: block; height: 62px; border-radius: 10px; overflow: hidden; background: var(--tb); }
.tc-prev i { position: absolute; width: 60%; aspect-ratio: 1; border-radius: 50%; filter: blur(14px); opacity: .85; }
.tc-prev i:nth-child(1) { background: var(--a1); left: -15%; top: -40%; }
.tc-prev i:nth-child(2) { background: var(--a2); right: -15%; top: -10%; }
.tc-prev i:nth-child(3) { background: var(--a3); left: 25%; bottom: -60%; }
.theme-card:hover .tc-prev i { animation: drift 4s ease-in-out infinite alternate; }
.cur-chip { display: inline-flex; align-items: center; gap: 7px; }
.cur-chip img, .cur-chip .ico { width: 18px; height: 18px; object-fit: contain; }
.range { -webkit-appearance: none; appearance: none; width: 200px; height: 6px; border-radius: 6px; background: rgba(255,255,255,.14); outline: none; }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(var(--dyn), .45); cursor: pointer; }
#bgImage { position: fixed; inset: 0; z-index: -1; background-size: cover; background-position: center; opacity: 0; transition: opacity .6s; pointer-events: none; filter: blur(var(--blur, 0px)); transform: scale(1.04); }
#bgImage.on { opacity: 1; }
#bgImage::after { content: ''; position: absolute; inset: 0; background: rgba(5,4,9, var(--dim, .55)); }
body.has-bgimg .aurora { opacity: .45; }
#fxLayer { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 0; pointer-events: none; }
@media (max-width: 760px) {
  .set-row.col { flex-wrap: nowrap; }
  .theme-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; align-items: start; }
  .theme-card { padding: 6px 6px 8px; }
  .tc-prev { height: 46px; }
  .set-row .chips { justify-content: flex-start; }
}
