/* Click · Música de perfil · V1 */
.profile-music-card{
  --music-bg:#2d1d67;
  --music-bg-2:#6d3cc5;
  --music-accent:#c876ff;
  --music-text:#fff;
  --music-muted:#ddd0ff;
  --music-line:rgba(255,255,255,.16);
  position:relative;
  overflow:hidden;
  min-height:210px;
  padding:18px;
  border-radius:24px;
  color:var(--music-text);
  background:
    radial-gradient(circle at 92% 8%,rgba(255,255,255,.20),transparent 28%),
    linear-gradient(145deg,var(--music-bg),var(--music-bg-2));
  border:1px solid rgba(173,132,255,.25);
  box-shadow:0 16px 34px rgba(52,27,119,.18);
  isolation:isolate;
}
.profile-music-card-glow{
  position:absolute;right:-55px;bottom:-70px;width:190px;height:190px;border-radius:50%;
  background:radial-gradient(circle,rgba(216,126,255,.36),transparent 66%);pointer-events:none;z-index:-1
}
.profile-music-card-head{display:flex;align-items:center;gap:10px;position:relative;z-index:2}
.profile-music-card-mark{
  width:42px;height:42px;border-radius:14px;display:grid;place-items:center;
  background:rgba(255,255,255,.13);border:1px solid rgba(255,255,255,.18);font-size:20px;backdrop-filter:blur(8px)
}
.profile-music-card-head>div:nth-child(2){min-width:0;flex:1}
.profile-music-card-head span{display:block;font-size:9px;font-weight:1000;letter-spacing:.12em;color:#d7c5ff}
.profile-music-card-head strong{display:block;margin-top:3px;color:#fff;font-size:12px}
.profile-music-card-head>small{display:inline-flex;align-items:center;justify-content:center;min-width:44px;height:28px;padding:0 9px;border-radius:999px;background:rgba(255,255,255,.14);font-size:10px;font-weight:900;color:#fff}
.profile-music-card-track{display:grid;grid-template-columns:64px minmax(0,1fr);gap:13px;align-items:center;margin-top:18px}
.profile-music-play{
  appearance:none;border:0;width:64px;height:64px;border-radius:20px;cursor:pointer;
  background:linear-gradient(145deg,#fff,#eee5ff);color:#6238bf;font-size:21px;font-weight:900;
  box-shadow:0 12px 26px rgba(20,11,55,.24);transition:transform .18s ease,box-shadow .18s ease
}
.profile-music-play:hover{transform:translateY(-2px) scale(1.02);box-shadow:0 16px 30px rgba(20,11,55,.30)}
.profile-music-play.is-playing{background:linear-gradient(145deg,#d799ff,#9e65ff);color:#fff}
.profile-music-card-copy{min-width:0}
.profile-music-card-copy h2{margin:0 0 5px;color:#fff;font-size:19px;line-height:1.18;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.profile-music-card-copy p{margin:0;color:var(--music-muted);font-size:11px;line-height:1.4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.profile-music-wave{position:relative;height:46px;margin-top:16px;display:flex;align-items:center;gap:3px;overflow:hidden}
.profile-music-wave i{display:block;flex:1;min-width:2px;height:var(--music-bar,35%);border-radius:999px;background:rgba(255,255,255,.30)}
.profile-music-wave>span{
  position:absolute;left:0;top:0;bottom:0;width:0%;pointer-events:none;
  background:linear-gradient(90deg,rgba(255,255,255,.58),rgba(215,151,255,.40));
  mix-blend-mode:screen;transition:width .08s linear
}
.profile-music-card-time{display:grid;grid-template-columns:auto 1fr auto;gap:9px;align-items:center;margin-top:3px;color:#d8cbf7;font-size:9px}
.profile-music-card-time b{text-align:center;color:#f8f4ff;font-size:9px;font-weight:800}
.profile-music-edit{display:inline-flex;align-items:center;justify-content:center;margin-top:14px;min-height:34px;padding:0 12px;border-radius:11px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.16);color:#fff!important;font-size:10px;font-weight:900;text-decoration:none!important}
.profile-music-empty{display:grid;place-items:center;text-align:center;gap:8px;padding:22px 8px 8px}
.profile-music-empty-disc{width:74px;height:74px;border-radius:50%;display:grid;place-items:center;background:radial-gradient(circle at 35% 30%,#fff 0 6%,#c785ff 7% 14%,#4d2a94 15% 56%,#25164f 57%);box-shadow:0 14px 26px rgba(18,8,51,.24);font-size:19px;color:#fff}
.profile-music-empty strong{color:#fff;font-size:16px}
.profile-music-empty p{max-width:320px;margin:0;color:#d9cdf6;font-size:11px;line-height:1.5}
.profile-music-empty a{display:inline-flex;min-height:36px;align-items:center;padding:0 13px;border-radius:11px;background:#fff;color:#6139bb!important;text-decoration:none!important;font-size:10px;font-weight:900}

/* Tamaños del perfil modular */
.profile-music-card[data-module-size="small"]{padding:15px;min-height:220px}
.profile-music-card[data-module-size="small"] .profile-music-card-track{grid-template-columns:52px minmax(0,1fr);gap:10px}
.profile-music-card[data-module-size="small"] .profile-music-play{width:52px;height:52px;border-radius:17px}
.profile-music-card[data-module-size="small"] .profile-music-card-copy h2{font-size:15px}
.profile-music-card[data-module-size="small"] .profile-music-wave{height:40px}
.profile-music-card[data-module-size="medium"]{min-height:220px}
.profile-music-card[data-module-size="wide"]{min-height:225px}
.profile-music-card[data-module-size="wide"] .profile-music-card-track{grid-template-columns:70px minmax(0,1fr)}
.profile-music-card[data-module-size="wide"] .profile-music-play{width:70px;height:70px;border-radius:22px}
.profile-music-card[data-module-size="wide"] .profile-music-card-copy h2{font-size:22px}

/* Editor en Editar perfil */
.edit-profile-music-editor{
  margin-top:18px;padding:20px;border:1px solid #e2d8ff;border-radius:24px;
  background:linear-gradient(180deg,#fcfaff,#f7f2ff);box-shadow:0 12px 28px rgba(93,57,172,.06)
}
.edit-profile-music-copy>span{display:block;color:#8b55f2;font-size:10px;font-weight:1000;letter-spacing:.10em}
.edit-profile-music-copy h3{margin:6px 0 7px;color:#30275e;font-size:22px}
.edit-profile-music-copy p{margin:0;color:#716b8d;font-size:12px;line-height:1.6;max-width:760px}
.edit-profile-music-note{display:inline-flex;align-items:center;margin-top:12px;padding:9px 12px;border-radius:12px;background:#efe7ff;color:#5f44b1;font-size:11px;font-weight:800}
.edit-profile-music-layout{display:grid;grid-template-columns:minmax(270px,.82fr) minmax(0,1.18fr);gap:16px;margin-top:18px;align-items:stretch}
.edit-profile-music-preview{
  position:relative;overflow:hidden;min-height:260px;padding:18px;border-radius:22px;
  color:#fff;background:radial-gradient(circle at 90% 10%,rgba(255,255,255,.22),transparent 25%),linear-gradient(145deg,#2f1b69,#6d3bc2 60%,#a04ee0);
  box-shadow:0 16px 34px rgba(69,34,145,.18)
}
.edit-profile-music-preview:after{content:"";position:absolute;width:170px;height:170px;border-radius:50%;right:-58px;bottom:-72px;background:radial-gradient(circle,rgba(240,144,255,.34),transparent 68%);pointer-events:none}
.edit-profile-music-preview-top{position:relative;z-index:2;display:grid;grid-template-columns:58px minmax(0,1fr);gap:12px;align-items:center}
.edit-profile-music-disc{width:58px;height:58px;border-radius:50%;display:grid;place-items:center;background:radial-gradient(circle at 35% 30%,#fff 0 6%,#c887ff 7% 14%,#4e2b93 15% 56%,#26164d 57%);box-shadow:0 12px 24px rgba(12,6,37,.28);font-size:18px}
.edit-profile-music-preview-top span{display:block;color:#ddcfff;font-size:9px;font-weight:1000;letter-spacing:.12em}
.edit-profile-music-preview-top strong{display:block;margin-top:4px;color:#fff;font-size:17px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.edit-profile-music-preview-top small{display:block;margin-top:4px;color:#d9cdf4;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.edit-profile-music-preview-wave{position:relative;z-index:2;height:82px;margin-top:24px;display:flex;align-items:center;gap:4px;overflow:hidden}
.edit-profile-music-preview-wave i{flex:1;min-width:2px;height:var(--music-bar,40%);border-radius:999px;background:rgba(255,255,255,.28)}
.edit-profile-music-preview-wave span{position:absolute;inset:0 auto 0 0;width:0;background:linear-gradient(90deg,rgba(255,255,255,.62),rgba(218,152,255,.45));mix-blend-mode:screen;transition:width .08s linear}
.edit-profile-music-preview-controls{position:relative;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:12px}
.edit-profile-music-preview-controls button{border:0;min-height:42px;padding:0 15px;border-radius:13px;background:#fff;color:#5d36b8;font-weight:900;cursor:pointer;box-shadow:0 10px 20px rgba(16,8,49,.18)}
.edit-profile-music-preview-controls button:disabled{opacity:.5;cursor:not-allowed}
.edit-profile-music-preview-controls button.is-playing{background:#d59bff;color:#321568}
.edit-profile-music-preview-controls div{display:flex;gap:8px;align-items:center;color:#fff}
.edit-profile-music-preview-controls div b{font-size:12px}
.edit-profile-music-preview-controls div small{font-size:10px;color:#ddd0f8}
.edit-profile-music-fields{border:1px solid #e5ddfb;border-radius:22px;padding:16px;background:#fff;display:grid;align-content:start;gap:12px}
.edit-profile-music-fields>label:not(.edit-profile-music-upload):not(.edit-profile-v1-check){display:grid;gap:6px}
.edit-profile-music-fields>label>span{color:#51496e;font-size:11px;font-weight:800}
.edit-profile-music-fields input[type="text"],.edit-profile-music-fields input:not([type]){width:100%;border:1px solid #d9cff4;border-radius:13px;padding:11px 12px;background:#fbfaff;color:#342d57;outline:0}
.edit-profile-music-fields input:focus{border-color:#8f67f3;box-shadow:0 0 0 3px rgba(139,85,242,.11)}
.edit-profile-music-upload{position:relative;display:grid;gap:6px;padding:15px;border:1px dashed #cbb9f6;border-radius:16px;background:#faf7ff;cursor:pointer}
.edit-profile-music-upload input{position:absolute;inset:0;opacity:0;cursor:pointer}
.edit-profile-music-upload>span{font-size:13px!important;color:#6843c4!important;font-weight:900!important}
.edit-profile-music-upload small{color:#827a9c;font-size:10px;line-height:1.45;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.edit-profile-music-upload.is-filled{border-style:solid;border-color:#8c65f0;background:#f1eaff}
.edit-profile-music-help{margin:0;padding:10px 12px;border-radius:12px;background:#f6f1ff;color:#6e668b;font-size:10px;line-height:1.55}
.edit-profile-music-server-note{display:block;color:#948dab;font-size:9px;line-height:1.45}

html[data-theme="dark"] body.profile-premium-v396 .profile-music-card{
  --music-bg:#1d1746;--music-bg-2:#4d2d91;--music-muted:#cfc5e9;
  border-color:rgba(174,143,255,.24);box-shadow:0 18px 38px rgba(7,4,22,.35)
}
html[data-theme="dark"] body.edit-profile-v1-page .edit-profile-music-editor,
html[data-theme="dark"] body.edit-profile-v1-page .edit-profile-music-fields{
  background:linear-gradient(180deg,#211d4a,#1b183e)!important;border-color:#4b427d!important;color:#fff!important
}
html[data-theme="dark"] body.edit-profile-v1-page .edit-profile-music-copy h3,
html[data-theme="dark"] body.edit-profile-v1-page .edit-profile-music-fields>label>span{color:#fff!important}
html[data-theme="dark"] body.edit-profile-v1-page .edit-profile-music-copy p,
html[data-theme="dark"] body.edit-profile-v1-page .edit-profile-music-help,
html[data-theme="dark"] body.edit-profile-v1-page .edit-profile-music-server-note{color:#c3badc!important}
html[data-theme="dark"] body.edit-profile-v1-page .edit-profile-music-note{background:#2f285f;color:#d8c6ff}
html[data-theme="dark"] body.edit-profile-v1-page .edit-profile-music-upload{background:#181638;border-color:#544a86}
html[data-theme="dark"] body.edit-profile-v1-page .edit-profile-music-upload.is-filled{background:#2b2458;border-color:#8e72f2}
html[data-theme="dark"] body.edit-profile-v1-page .edit-profile-music-fields input[type="text"],
html[data-theme="dark"] body.edit-profile-v1-page .edit-profile-music-fields input:not([type]){background:#171535!important;border-color:#4e467a!important;color:#fff!important}
html[data-theme="dark"] body.edit-profile-v1-page .edit-profile-music-help{background:#26214e!important}

@media(max-width:900px){
  .edit-profile-music-layout{grid-template-columns:1fr}
  .edit-profile-music-preview{min-height:240px}
}
@media(max-width:640px){
  .profile-music-card{border-radius:20px;padding:15px;min-height:205px}
  .profile-music-card-track{grid-template-columns:54px minmax(0,1fr);gap:10px}
  .profile-music-play{width:54px;height:54px;border-radius:17px}
  .profile-music-card-copy h2{font-size:16px}
  .profile-music-wave{height:40px;margin-top:13px}
  .edit-profile-music-editor{padding:15px;border-radius:20px}
  .edit-profile-music-layout{gap:12px}
  .edit-profile-music-preview,.edit-profile-music-fields{border-radius:18px}
  .edit-profile-music-preview{min-height:225px;padding:15px}
  .edit-profile-music-preview-wave{height:64px;margin-top:18px}
  .edit-profile-music-preview-controls{align-items:stretch;flex-direction:column}
  .edit-profile-music-preview-controls button{width:100%}
  .edit-profile-music-preview-controls div{justify-content:space-between}
}

/* Click · Música de perfil · V2 · edición directa + clip 15 s */
.profile-music-edit{
  appearance:none;cursor:pointer
}
.profile-music-empty button{
  appearance:none;border:0;display:inline-flex;min-height:36px;align-items:center;padding:0 13px;border-radius:11px;
  background:#fff;color:#6139bb!important;text-decoration:none!important;font-size:10px;font-weight:900;cursor:pointer;
  box-shadow:0 8px 18px rgba(24,11,61,.16)
}
.profile-music-card.is-fading .profile-music-wave i,
.edit-profile-music-preview.is-fading .edit-profile-music-preview-wave i{
  animation:profileMusicFadeBars .8s ease-in-out infinite alternate
}
.profile-music-card.is-fading .profile-music-card-time b,
.edit-profile-music-preview.is-fading .profile-inline-music-fade-note{
  opacity:.72
}
@keyframes profileMusicFadeBars{from{opacity:.75}to{opacity:.28}}

.profile-inline-music-panel{width:min(860px,100%)}
.profile-inline-music-panel form{padding:18px 22px 22px}
.profile-inline-music-layout{
  display:grid;grid-template-columns:minmax(280px,.85fr) minmax(0,1.15fr);gap:16px;align-items:stretch
}
.profile-inline-music-panel .edit-profile-music-preview{
  min-height:330px;display:flex;flex-direction:column;justify-content:center
}
.profile-inline-music-panel .edit-profile-music-preview-wave{margin-top:28px}
.profile-inline-music-panel .edit-profile-music-preview-controls{margin-top:16px}
.profile-inline-music-panel .edit-profile-music-fields{min-height:330px}
.profile-inline-music-fade-note{
  position:relative;z-index:2;margin-top:15px;padding:9px 11px;border-radius:12px;
  background:rgba(255,255,255,.10);border:1px solid rgba(255,255,255,.12);
  color:#e8dcff;font-size:9px;line-height:1.45;transition:opacity .2s ease
}
.profile-inline-music-remove{
  appearance:none;border:1px solid #efc9d4;background:#fff3f6;color:#b44765;border-radius:13px;
  min-height:42px;padding:0 12px;font:inherit;font-size:10px;font-weight:900;cursor:pointer
}
.profile-inline-music-remove.is-pending{
  border-color:#dc97aa;background:#ffe9ef;color:#992f4d
}

html[data-theme="dark"] body.profile-premium-v396 .profile-inline-music-panel{
  background:#1d193f!important;border-color:#4b427d!important;color:#fff!important
}
html[data-theme="dark"] body.profile-premium-v396 .profile-inline-music-panel .profile-inline-modal-head{
  background:rgba(29,25,63,.96)!important;border-bottom-color:#41386f!important
}
html[data-theme="dark"] body.profile-premium-v396 .profile-inline-music-panel .profile-inline-modal-head h2{color:#fff!important}
html[data-theme="dark"] body.profile-premium-v396 .profile-inline-music-panel .profile-inline-modal-head p{color:#bdb3d7!important}
html[data-theme="dark"] body.profile-premium-v396 .profile-inline-music-panel .profile-inline-modal-head>button{background:#2d2758!important;color:#e5d7ff!important}
html[data-theme="dark"] body.profile-premium-v396 .profile-inline-music-panel .edit-profile-music-fields{
  background:linear-gradient(180deg,#211d4a,#1b183e)!important;border-color:#4b427d!important;color:#fff!important
}
html[data-theme="dark"] body.profile-premium-v396 .profile-inline-music-panel .edit-profile-music-fields>label>span{color:#fff!important}
html[data-theme="dark"] body.profile-premium-v396 .profile-inline-music-panel .edit-profile-music-upload{background:#181638!important;border-color:#544a86!important}
html[data-theme="dark"] body.profile-premium-v396 .profile-inline-music-panel .edit-profile-music-upload.is-filled{background:#2b2458!important;border-color:#8e72f2!important}
html[data-theme="dark"] body.profile-premium-v396 .profile-inline-music-panel .edit-profile-music-fields input[type="text"],
html[data-theme="dark"] body.profile-premium-v396 .profile-inline-music-panel .edit-profile-music-fields input:not([type]){
  background:#171535!important;border-color:#4e467a!important;color:#fff!important
}
html[data-theme="dark"] body.profile-premium-v396 .profile-inline-music-panel .edit-profile-music-help{background:#26214e!important;color:#c3badc!important}
html[data-theme="dark"] body.profile-premium-v396 .profile-inline-music-panel .edit-profile-music-server-note{color:#aaa2c5!important}
html[data-theme="dark"] body.profile-premium-v396 .profile-inline-music-panel .profile-inline-modal-actions{border-top-color:#41386f!important}
html[data-theme="dark"] body.profile-premium-v396 .profile-inline-music-panel .profile-inline-modal-actions .secondary{background:#2c2758!important;color:#e8e1f8!important}
html[data-theme="dark"] body.profile-premium-v396 .profile-inline-music-remove{background:#3a2132;border-color:#704258;color:#ffb5c8}
html[data-theme="dark"] body.profile-premium-v396 .profile-inline-music-remove.is-pending{background:#4b2335;border-color:#9d506b;color:#ffd2de}

@media(max-width:900px){
  .profile-inline-music-layout{grid-template-columns:1fr}
  .profile-inline-music-panel .edit-profile-music-preview,
  .profile-inline-music-panel .edit-profile-music-fields{min-height:0}
}
@media(max-width:640px){
  .profile-inline-music-panel form{padding:13px 14px 16px}
  .profile-inline-music-layout{gap:12px}
  .profile-inline-music-panel .edit-profile-music-preview{padding:15px;min-height:235px}
  .profile-inline-music-panel .edit-profile-music-preview-wave{height:62px;margin-top:18px}
  .profile-inline-music-panel .edit-profile-music-preview-controls{margin-top:10px}
  .profile-inline-music-fade-note{margin-top:11px}
  .profile-music-card-time{grid-template-columns:auto minmax(0,1fr) auto}
  .profile-music-card-time b{line-height:1.25}
}

/* Click · Música de perfil · V3 · artwork + fondo compartido */
.profile-settings-desktop-only{display:inline-flex}

.profile-music-card{
  position:relative;
  overflow:hidden;
  min-height:235px;
  padding:18px;
  border-radius:26px;
  color:#fff;
  background:linear-gradient(140deg,#2c185f,#52249a 56%,#8d43d8 100%);
  border:1px solid rgba(173,132,255,.24);
  box-shadow:0 16px 38px rgba(49,23,108,.20);
  isolation:isolate;
}
.profile-music-card-backdrop,
.profile-music-card::before{
  content:"";position:absolute;inset:0;pointer-events:none
}
.profile-music-card::before{
  background:
    radial-gradient(circle at 86% 14%,rgba(255,255,255,.18),transparent 26%),
    linear-gradient(145deg,rgba(18,10,55,.14),rgba(126,71,239,.08));
  z-index:-1;
}
.profile-music-card.has-artwork .profile-music-card-backdrop{
  background-image:var(--music-artwork);
  background-size:cover;
  background-position:center;
  filter:blur(18px) saturate(1.08);
  transform:scale(1.12);
  opacity:.48;
  z-index:-2;
}
.profile-music-card.has-artwork::before{
  background:
    linear-gradient(140deg,rgba(18,10,55,.86),rgba(52,21,115,.72) 56%,rgba(126,71,239,.64)),
    radial-gradient(circle at 86% 14%,rgba(255,255,255,.18),transparent 26%);
}
.profile-music-card-glow{
  position:absolute;right:-42px;bottom:-48px;width:170px;height:170px;border-radius:50%;
  background:radial-gradient(circle,rgba(216,126,255,.26),transparent 66%);pointer-events:none;z-index:-1
}
.profile-music-card-head{display:flex;align-items:center;gap:10px;position:relative;z-index:2}
.profile-music-card-mark{
  width:42px;height:42px;border-radius:14px;display:grid;place-items:center;
  background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.17);font-size:18px;backdrop-filter:blur(8px)
}
.profile-music-card-head>div:nth-child(2){min-width:0;flex:1}
.profile-music-card-head span{display:block;font-size:9px;font-weight:1000;letter-spacing:.12em;color:#dccfff}
.profile-music-card-head strong{display:block;margin-top:3px;color:#fff;font-size:12px}
.profile-music-card-head>small{display:inline-flex;align-items:center;justify-content:center;min-width:46px;height:28px;padding:0 10px;border-radius:999px;background:rgba(255,255,255,.13);font-size:10px;font-weight:900;color:#fff}
.profile-music-card-surface{
  position:relative;z-index:2;display:grid;grid-template-columns:92px minmax(0,1fr);gap:14px;align-items:start;margin-top:16px
}
.profile-music-artwork{
  width:92px;height:92px;border-radius:24px;overflow:hidden;display:grid;place-items:center;
  background:linear-gradient(145deg,rgba(255,255,255,.18),rgba(255,255,255,.05));
  border:1px solid rgba(255,255,255,.18);box-shadow:0 14px 28px rgba(14,8,41,.26);backdrop-filter:blur(10px)
}
.profile-music-artwork img{width:100%;height:100%;object-fit:cover;display:block}
.profile-music-artwork span{font-size:28px;color:#fff}
.profile-music-main{min-width:0;display:grid;gap:10px}
.profile-music-card-topline{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center}
.profile-music-card-copy{min-width:0}
.profile-music-card-copy h2{margin:0;font-size:21px;line-height:1.14;color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.profile-music-card-copy p{margin:4px 0 0;color:#ebddff;font-size:11px;line-height:1.4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.profile-music-play{
  appearance:none;border:0;width:58px;height:58px;border-radius:19px;cursor:pointer;
  background:linear-gradient(145deg,#fff,#f2eaff);color:#5a31b4;font-size:19px;font-weight:900;
  box-shadow:0 12px 24px rgba(17,8,49,.22);transition:transform .18s ease,box-shadow .18s ease,background .18s ease
}
.profile-music-play:hover{transform:translateY(-2px) scale(1.02);box-shadow:0 16px 30px rgba(17,8,49,.28)}
.profile-music-play.is-playing{background:linear-gradient(145deg,#d595ff,#9e63ff);color:#fff}
.profile-music-progress-track{height:8px;border-radius:999px;background:rgba(255,255,255,.13);overflow:hidden;box-shadow:inset 0 1px 2px rgba(0,0,0,.18)}
.profile-music-progress-track>span{display:block;width:0;height:100%;border-radius:inherit;background:linear-gradient(90deg,#fff,#d8a8ff);transition:width .08s linear}
.profile-music-card-time{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:8px;align-items:center;color:#e2d6fb;font-size:9px}
.profile-music-card-time b{text-align:center;color:#fff;font-size:9px;font-weight:800;line-height:1.35}
.profile-music-wave{height:36px;display:flex;align-items:center;gap:4px;overflow:hidden}
.profile-music-wave i{display:block;flex:1;min-width:3px;height:var(--music-bar,35%);border-radius:999px;background:rgba(255,255,255,.26)}
.profile-music-card-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-top:2px}
.profile-music-edit{
  display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:0 14px;border-radius:12px;
  background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.16);color:#fff!important;font-size:10px;font-weight:900;text-decoration:none!important
}
.profile-music-card-note{color:#e5d8ff;font-size:10px;line-height:1.45}
.profile-music-empty{display:grid;place-items:center;text-align:center;gap:8px;padding:22px 8px 10px}
.profile-music-empty-disc{width:76px;height:76px;border-radius:24px;display:grid;place-items:center;background:linear-gradient(145deg,rgba(255,255,255,.20),rgba(255,255,255,.08));border:1px solid rgba(255,255,255,.16);box-shadow:0 14px 28px rgba(18,8,51,.24);font-size:22px;color:#fff;backdrop-filter:blur(10px)}
.profile-music-empty strong{color:#fff;font-size:16px}
.profile-music-empty p{max-width:340px;margin:0;color:#ded2f9;font-size:11px;line-height:1.5}

.profile-music-card[data-module-size="small"]{min-height:255px}
.profile-music-card[data-module-size="small"] .profile-music-card-surface{grid-template-columns:78px minmax(0,1fr);gap:12px}
.profile-music-card[data-module-size="small"] .profile-music-artwork{width:78px;height:78px;border-radius:20px}
.profile-music-card[data-module-size="small"] .profile-music-play{width:52px;height:52px;border-radius:17px}
.profile-music-card[data-module-size="small"] .profile-music-card-copy h2{font-size:17px}
.profile-music-card[data-module-size="wide"]{min-height:240px}
.profile-music-card[data-module-size="wide"] .profile-music-card-surface{grid-template-columns:108px minmax(0,1fr)}
.profile-music-card[data-module-size="wide"] .profile-music-artwork{width:108px;height:108px}
.profile-music-card[data-module-size="wide"] .profile-music-card-copy h2{font-size:23px}

.edit-profile-music-preview{
  position:relative;overflow:hidden;min-height:300px;padding:18px;border-radius:24px;color:#fff;
  background:linear-gradient(145deg,#2f1b69,#6d3bc2 60%,#a04ee0);box-shadow:0 16px 34px rgba(69,34,145,.18)
}
.edit-profile-music-preview::before,
.edit-profile-music-preview::after{content:"";position:absolute;pointer-events:none}
.edit-profile-music-preview::before{inset:0;background:radial-gradient(circle at 90% 10%,rgba(255,255,255,.18),transparent 25%),linear-gradient(145deg,rgba(15,8,41,.18),rgba(112,60,212,.10));z-index:0}
.edit-profile-music-preview.has-artwork::after{inset:0;background-image:var(--music-artwork);background-size:cover;background-position:center;filter:blur(18px) saturate(1.08);transform:scale(1.12);opacity:.46;z-index:-1}
.edit-profile-music-preview.has-artwork::before{background:linear-gradient(140deg,rgba(18,10,55,.84),rgba(52,21,115,.72) 56%,rgba(126,71,239,.60)),radial-gradient(circle at 90% 10%,rgba(255,255,255,.18),transparent 25%)}
.edit-profile-music-preview-top{position:relative;z-index:2;display:grid;grid-template-columns:64px minmax(0,1fr);gap:12px;align-items:center}
.edit-profile-music-artwork{width:64px;height:64px;border-radius:18px;overflow:hidden;display:grid;place-items:center;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.16);backdrop-filter:blur(10px);box-shadow:0 10px 22px rgba(12,6,37,.24)}
.edit-profile-music-artwork img{width:100%;height:100%;object-fit:cover;display:block}
.edit-profile-music-artwork span{font-size:20px;color:#fff}
.edit-profile-music-preview-top span{display:block;color:#ddcfff;font-size:9px;font-weight:1000;letter-spacing:.12em}
.edit-profile-music-preview-top strong{display:block;margin-top:4px;color:#fff;font-size:17px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.edit-profile-music-preview-top small{display:block;margin-top:4px;color:#d9cdf4;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.edit-profile-music-preview-wave{position:relative;z-index:2;height:78px;margin-top:22px;display:flex;align-items:center;gap:4px;overflow:hidden}
.edit-profile-music-preview-wave i{flex:1;min-width:2px;height:var(--music-bar,40%);border-radius:999px;background:rgba(255,255,255,.28)}
.edit-profile-music-preview-wave span{position:absolute;inset:0 auto 0 0;width:0;background:linear-gradient(90deg,rgba(255,255,255,.62),rgba(218,152,255,.45));mix-blend-mode:screen;transition:width .08s linear}
.edit-profile-music-preview-controls{position:relative;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:12px}
.edit-profile-music-preview-controls button{border:0;min-height:42px;padding:0 15px;border-radius:13px;background:#fff;color:#5d36b8;font-weight:900;cursor:pointer;box-shadow:0 10px 20px rgba(16,8,49,.18)}
.edit-profile-music-preview-controls button:disabled{opacity:.5;cursor:not-allowed}
.edit-profile-music-preview-controls button.is-playing{background:#d59bff;color:#321568}
.edit-profile-music-preview-controls div{display:flex;gap:8px;align-items:center;color:#fff}
.edit-profile-music-preview-controls div b{font-size:12px}
.edit-profile-music-preview-controls div small{font-size:10px;color:#ddd0f8}
.profile-inline-music-fade-note{position:relative;z-index:2;margin-top:14px;padding:10px 12px;border-radius:13px;background:rgba(255,255,255,.10);border:1px solid rgba(255,255,255,.12);color:#eadfff;font-size:9px;line-height:1.45}
.profile-inline-music-danger-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.profile-inline-music-remove.alt{background:#fff6eb;border-color:#f4d1ad;color:#ac6421}
.profile-inline-music-remove.alt.is-pending{background:#ffedd8;border-color:#e7b57a;color:#8d4f14}

html[data-theme="dark"] body.profile-premium-v396 .profile-music-card{
  background:linear-gradient(140deg,#1d1642,#311d69 56%,#4d2f98 100%);
  border-color:rgba(174,143,255,.24);box-shadow:0 18px 38px rgba(7,4,22,.35)
}
html[data-theme="dark"] body.profile-premium-v396 .profile-music-card.has-artwork::before{
  background:linear-gradient(140deg,rgba(10,7,28,.90),rgba(27,18,68,.76) 56%,rgba(80,48,160,.58)),radial-gradient(circle at 86% 14%,rgba(255,255,255,.18),transparent 26%)
}
html[data-theme="dark"] body.profile-premium-v396 .profile-music-card .profile-music-progress-track{background:rgba(255,255,255,.10)}
html[data-theme="dark"] body.profile-premium-v396 .profile-inline-music-panel{
  background:#1d193f!important;border-color:#4b427d!important;color:#fff!important
}
html[data-theme="dark"] body.profile-premium-v396 .profile-inline-music-panel .profile-inline-modal-head{background:rgba(29,25,63,.96)!important;border-bottom-color:#41386f!important}
html[data-theme="dark"] body.profile-premium-v396 .profile-inline-music-panel .profile-inline-modal-head h2{color:#fff!important}
html[data-theme="dark"] body.profile-premium-v396 .profile-inline-music-panel .profile-inline-modal-head p{color:#bdb3d7!important}
html[data-theme="dark"] body.profile-premium-v396 .profile-inline-music-panel .profile-inline-modal-head>button{background:#2d2758!important;color:#e5d7ff!important}
html[data-theme="dark"] body.profile-premium-v396 .profile-inline-music-panel .edit-profile-music-fields{background:linear-gradient(180deg,#211d4a,#1b183e)!important;border-color:#4b427d!important;color:#fff!important}
html[data-theme="dark"] body.profile-premium-v396 .profile-inline-music-panel .edit-profile-music-fields>label>span{color:#fff!important}
html[data-theme="dark"] body.profile-premium-v396 .profile-inline-music-panel .edit-profile-music-upload{background:#181638!important;border-color:#544a86!important}
html[data-theme="dark"] body.profile-premium-v396 .profile-inline-music-panel .edit-profile-music-upload.is-filled{background:#2b2458!important;border-color:#8e72f2!important}
html[data-theme="dark"] body.profile-premium-v396 .profile-inline-music-panel .edit-profile-music-fields input[type="text"],
html[data-theme="dark"] body.profile-premium-v396 .profile-inline-music-panel .edit-profile-music-fields input:not([type]){background:#171535!important;border-color:#4e467a!important;color:#fff!important}
html[data-theme="dark"] body.profile-premium-v396 .profile-inline-music-panel .edit-profile-music-help{background:#26214e!important;color:#c3badc!important}
html[data-theme="dark"] body.profile-premium-v396 .profile-inline-music-panel .edit-profile-music-server-note{color:#aaa2c5!important}
html[data-theme="dark"] body.profile-premium-v396 .profile-inline-music-panel .profile-inline-modal-actions{border-top-color:#41386f!important}
html[data-theme="dark"] body.profile-premium-v396 .profile-inline-music-panel .profile-inline-modal-actions .secondary{background:#2c2758!important;color:#e8e1f8!important}
html[data-theme="dark"] body.profile-premium-v396 .profile-inline-music-remove{background:#3a2132;border-color:#704258;color:#ffb5c8}
html[data-theme="dark"] body.profile-premium-v396 .profile-inline-music-remove.is-pending{background:#4b2335;border-color:#9d506b;color:#ffd2de}
html[data-theme="dark"] body.profile-premium-v396 .profile-inline-music-remove.alt{background:#4a3118;border-color:#73532d;color:#ffd7b0}
html[data-theme="dark"] body.profile-premium-v396 .profile-inline-music-remove.alt.is-pending{background:#674223;border-color:#9a6732;color:#ffe0bf}

@media(max-width:900px){
  .profile-inline-music-layout{grid-template-columns:1fr}
  .profile-inline-music-panel .edit-profile-music-preview,
  .profile-inline-music-panel .edit-profile-music-fields{min-height:0}
}
@media(max-width:780px){
  .profile-settings-desktop-only{display:none!important}
}
@media(max-width:640px){
  .profile-music-card{padding:15px;border-radius:22px;min-height:220px}
  .profile-music-card-surface{grid-template-columns:72px minmax(0,1fr);gap:11px}
  .profile-music-artwork{width:72px;height:72px;border-radius:18px}
  .profile-music-card-copy h2{font-size:17px}
  .profile-music-play{width:50px;height:50px;border-radius:16px;font-size:17px}
  .profile-music-card-time{grid-template-columns:auto minmax(0,1fr) auto}
  .profile-music-card-time b{line-height:1.25}
  .profile-music-wave{height:32px}
  .profile-music-card-actions{align-items:stretch}
  .profile-music-edit{width:100%}
  .profile-inline-music-panel form{padding:13px 14px 16px}
  .profile-inline-music-layout{gap:12px}
  .profile-inline-music-panel .edit-profile-music-preview{padding:15px;min-height:235px}
  .edit-profile-music-preview-top{grid-template-columns:56px minmax(0,1fr)}
  .edit-profile-music-artwork{width:56px;height:56px;border-radius:16px}
  .profile-inline-music-danger-row{grid-template-columns:1fr}
}

/* Click · Música V4 · una sola barra de progreso visual (onda/círculos) */
.profile-music-card-head{padding-right:44px}
.profile-music-card-head>small{margin-left:auto}
.profile-music-edit-icon{
  position:absolute;right:0;top:0;z-index:6;
  width:34px;height:34px;border-radius:12px;display:grid;place-items:center;
  border:1px solid rgba(255,255,255,.18);background:rgba(20,11,53,.34);color:#fff;
  font:inherit;font-size:14px;font-weight:900;cursor:pointer;
  backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);
  box-shadow:0 8px 18px rgba(10,5,30,.18);transition:transform .16s ease,background .16s ease
}
.profile-music-edit-icon:hover{transform:translateY(-1px);background:rgba(255,255,255,.17)}
.profile-music-progress-track{display:none!important}
.profile-music-wave{
  position:relative!important;height:42px!important;margin-top:2px!important;display:block!important;overflow:hidden!important
}
.profile-music-wave-base,
.profile-music-wave-fill,
.profile-music-wave-fill>div{
  position:absolute;inset:0;display:flex;align-items:center;gap:5px;overflow:hidden
}
.profile-music-wave-base i,
.profile-music-wave-fill i{
  display:block;flex:1 1 0;min-width:4px;height:var(--music-bar,35%);border-radius:999px
}
.profile-music-wave-base i{background:rgba(255,255,255,.24)}
.profile-music-wave-fill{
  width:100%;clip-path:inset(0 100% 0 0);-webkit-clip-path:inset(0 100% 0 0);
  transition:clip-path .08s linear,-webkit-clip-path .08s linear;pointer-events:none
}
.profile-music-wave-fill>div{position:absolute;inset:0;width:100%}
.profile-music-wave-fill i{
  background:linear-gradient(180deg,#ffffff,#e8c4ff 62%,#c17bff);
  box-shadow:0 0 12px rgba(219,164,255,.28)
}
.profile-music-card.is-fading .profile-music-wave-fill i{animation:profileMusicFadeBars .8s ease-in-out infinite alternate}
.profile-music-card-actions{display:none!important}
@media(max-width:640px){
  .profile-music-card-head{padding-right:40px}
  .profile-music-edit-icon{width:32px;height:32px;border-radius:11px}
  .profile-music-wave{height:38px!important}
  .profile-music-wave-base,.profile-music-wave-fill,.profile-music-wave-fill>div{gap:4px}
}
.profile-music-card.is-fading .profile-music-wave-base i{animation:none!important}
