/* ===== Stereu 1.32 — YouTube, seguir artistas, importación (sobre el tema 1.31) ===== */

/* pantalla grande con video */
.fs-overlay .fs-yt { position: absolute; inset: 0; display: none; align-items: center; justify-content: center; background: #000; }
.fs-overlay.modo-yt .fs-yt { display: flex; }
.fs-overlay.modo-yt .fs-canvas, .fs-overlay.modo-yt .fs-video, .fs-overlay.modo-yt .fs-estilos { display: none !important; }
.fs-yt iframe { width: min(100%, 177.78vh); aspect-ratio: 16/9; height: auto; max-height: 100%; }

/* seguir + Más en el perfil del artista */
.btn-seguir { display: inline-flex; align-items: center; gap: 8px; background: transparent; border: 1px solid rgba(255,255,255,.22); color: #fff; font: inherit; font-size: 13.5px; font-weight: 600; padding: 9px 16px; border-radius: 999px; cursor: pointer; transition: .15s; }
.btn-seguir:hover { border-color: #fff; }
.btn-seguir svg { width: 16px; height: 16px; }
.btn-seguir.on { background: rgba(82,121,42,.25); border-color: #52792a; }
.btn-seguir.on .ico-corazon { fill: #7bb84a; stroke: #7bb84a; }
.seguir-n { font-size: 12px; color: rgba(255,255,255,.55); font-weight: 500; }
.mas-wrap { position: relative; }
.btn-mas { display: inline-flex; align-items: center; gap: 6px; background: transparent; border: 1px solid rgba(255,255,255,.22); color: #fff; font: inherit; font-size: 13.5px; font-weight: 600; padding: 9px 16px; border-radius: 999px; cursor: pointer; }
.btn-mas:hover { border-color: #fff; }
.btn-mas svg { width: 14px; height: 14px; }
.mas-menu { position: absolute; left: 0; top: calc(100% + 8px); z-index: 30; min-width: 260px; background: #161616; border: 1px solid rgba(255,255,255,.1); border-radius: 12px; padding: 6px; box-shadow: 0 16px 48px rgba(0,0,0,.6); }
.mas-menu[hidden] { display: none; }
.mas-cab { display: flex; align-items: center; gap: 10px; padding: 8px 10px 10px; border-bottom: 1px solid rgba(255,255,255,.08); margin-bottom: 4px; }
.mas-cab img { width: 36px; height: 36px; border-radius: 6px; object-fit: cover; }
.mas-cab strong { font-size: 14px; }
.mas-menu > button { display: flex; align-items: center; gap: 12px; width: 100%; background: transparent; border: 0; color: rgba(255,255,255,.85); font: inherit; font-size: 13.5px; padding: 9px 10px; border-radius: 8px; cursor: pointer; text-align: left; }
.mas-menu > button:hover { background: rgba(255,255,255,.07); color: #fff; }
.mas-menu > button svg { width: 18px; height: 18px; opacity: .8; flex: none; }

/* pestañas de subida e importación */
.up-tabs { display: inline-flex; gap: 4px; background: rgba(255,255,255,.06); border-radius: 999px; padding: 3px; margin: 6px 0 14px; }
.up-tab { background: transparent; border: 0; color: rgba(255,255,255,.6); font: inherit; font-size: 13px; font-weight: 600; padding: 6px 16px; border-radius: 999px; cursor: pointer; }
.up-tab.on { background: #fff; color: #050505; }
.yt-import textarea { width: 100%; background: #111; border: 1px solid rgba(255,255,255,.1); border-radius: 10px; color: #fff; padding: 10px 12px; font: inherit; resize: vertical; }
.yt-fila { display: flex; align-items: center; gap: 14px; margin-top: 10px; flex-wrap: wrap; }
.yt-cab { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin: 18px 0 10px; }
.yt-cab strong { font-size: 15px; }
.yt-lista { display: flex; flex-direction: column; gap: 4px; max-height: 480px; overflow: auto; border: 1px solid rgba(255,255,255,.08); border-radius: 12px; padding: 6px; background: #0c0c0c; }
.yt-item { display: grid; grid-template-columns: 20px 64px 1fr; gap: 12px; align-items: center; padding: 6px 8px; border-radius: 8px; cursor: pointer; margin: 0; }
.yt-item:hover { background: rgba(255,255,255,.05); }
.yt-item.ya { opacity: .45; }
.yt-item img { width: 64px; height: 36px; object-fit: cover; border-radius: 4px; }
.yt-meta { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.yt-tit { background: transparent; border: 0; border-bottom: 1px solid transparent; color: #fff; font: inherit; font-size: 13.5px; padding: 2px 0; width: 100%; }
.yt-tit:focus { outline: 0; border-bottom-color: #52792a; }
.yt-meta span { font-size: 11.5px; }

/* ===== 1.33 — Audio / Voz / Inspiración, workspaces, biblioteca ===== */
.cr-fuentes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255,255,255,.07); border-radius: 12px; overflow: hidden; margin-bottom: 10px; }
.cr-fuente { display: inline-flex; align-items: center; justify-content: center; gap: 6px; background: #111; border: 0; color: #fff; font: inherit; font-size: 13.5px; font-weight: 600; padding: 12px; cursor: pointer; transition: .12s; }
.cr-fuente:hover { background: #181818; } .cr-fuente.on { background: rgba(82,121,42,.25); color: #9fdc63; }
.cr-fuente svg { width: 14px; height: 14px; }
.cr-fuente-activa { display: flex; align-items: center; gap: 10px; padding: 8px 12px; margin-bottom: 10px; border-radius: 10px; background: rgba(82,121,42,.15); border: 1px solid rgba(82,121,42,.5); font-size: 13px; }
.cr-fuente-activa[hidden] { display: none; }
.cr-fa-txt { flex: 1; }
.cr-guardar-en { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.07); border-radius: 14px; margin-top: 4px; font-size: 13.5px; }
.cr-guardar-en svg { width: 18px; height: 18px; opacity: .7; }
.cr-guardar-en span { flex: 1; }
.cr-guardar-en select { width: auto; max-width: 55%; background: rgba(255,255,255,.06); border: 0; border-radius: 8px; color: #fff; padding: 7px 10px; font: inherit; font-size: 13px; }
.cr-lib-tabs { display: flex; gap: 2px; margin-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,.08); overflow-x: auto; }
.cr-lib-tabs button { background: transparent; border: 0; border-bottom: 2px solid transparent; color: rgba(255,255,255,.55); font: inherit; font-size: 13.5px; font-weight: 600; padding: 8px 12px; cursor: pointer; white-space: nowrap; margin-bottom: -1px; }
.cr-lib-tabs button.on { color: #fff; border-bottom-color: #7bb84a; }
.cr-lib-filtro { display: flex; align-items: center; gap: 6px; margin-bottom: 10px; }
.cr-lib-filtro[hidden] { display: none; }
.cr-ws-chip { background: rgba(82,121,42,.2); color: #9fdc63; font-size: 12.5px; font-weight: 600; padding: 5px 12px; border-radius: 999px; }
.au-tabs { display: inline-flex; gap: 4px; background: rgba(255,255,255,.06); border-radius: 999px; padding: 3px; margin-bottom: 14px; }
.au-tabs button { background: transparent; border: 0; color: rgba(255,255,255,.6); font: inherit; font-size: 13px; font-weight: 600; padding: 6px 14px; border-radius: 999px; cursor: pointer; }
.au-tabs button.on { background: #fff; color: #050505; }
.au-panel[hidden] { display: none; }
.au-item, .ws-item, .gd-item { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; background: rgba(255,255,255,.035); border: 1px solid transparent; }
.au-item:hover, .ws-item:hover, .gd-item:hover { background: rgba(255,255,255,.06); }
.au-ico { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: rgba(255,255,255,.08); font-size: 18px; flex: none; }
.au-ico.vz { background: linear-gradient(135deg, #b061ff, #2a6cff); }
.au-meta { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; cursor: default; }
.au-meta strong { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.au-meta span, .au-meta pre { font-size: 12px; }
.au-meta pre { white-space: pre-wrap; font-family: inherit; color: rgba(255,255,255,.55); margin: 0; max-height: 72px; overflow: hidden; }
.au-drop { border: 1px dashed rgba(255,255,255,.2); border-radius: 12px; padding: 34px 20px; text-align: center; cursor: pointer; display: flex; flex-direction: column; gap: 6px; transition: .12s; }
.au-drop:hover, .au-drop.over { border-color: #7bb84a; background: rgba(82,121,42,.08); }
.au-rec { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 10px 0; }
.au-rec-tiempo { font-size: 28px; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: .04em; }
.au-rec-onda { width: 100%; height: 70px; border-radius: 10px; background: rgba(255,255,255,.04); }
.au-rec-btn { width: 72px; height: 72px; border-radius: 50%; border: 2px solid rgba(255,255,255,.25); background: transparent; cursor: pointer; display: grid; place-items: center; transition: .15s; }
.au-rec-btn i { width: 28px; height: 28px; border-radius: 50%; background: #ff5a5a; transition: .15s; }
.au-rec-btn.rec { border-color: #ff5a5a; } .au-rec-btn.rec i { border-radius: 6px; width: 22px; height: 22px; }
.au-rec audio { width: 100%; }
.au-usos { margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.08); }
.au-usos[hidden] { display: none; }
.au-uso-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.au-uso-grid button { text-align: left; background: rgba(255,255,255,.05); border: 1px solid transparent; border-radius: 12px; padding: 12px; color: #fff; font: inherit; cursor: pointer; display: flex; flex-direction: column; gap: 3px; transition: .12s; }
.au-uso-grid button:hover { border-color: #7bb84a; background: rgba(82,121,42,.12); }
.au-uso-grid b { font-size: 14px; } .au-uso-grid span { font-size: 12px; color: rgba(255,255,255,.55); }
.ws-cov { width: 44px; height: 44px; border-radius: 10px; flex: none; display: grid; place-items: center; font-size: 20px; color: #fff; background: rgba(255,255,255,.08); }
.ws-nuevo { background: transparent; border: 1px dashed rgba(255,255,255,.2); color: #fff; font: inherit; cursor: pointer; width: 100%; text-align: left; }
.ws-nuevo:hover { border-color: #7bb84a; }

/* ===== 1.34 — correcciones de biblioteca, video, pantalla grande, panel (i) ===== */
/* lo oculto se oculta, aunque el tema fije display en el contenedor */
.cr-lista[hidden], .cr-lib-filtro[hidden], #creaciones[hidden], .au-panel[hidden], .queue-info[hidden], .queue-scroll[hidden] { display: none !important; }

/* biblioteca: tipografía contenida y sin apilar */
.cr-lib .cr-lista { display: flex; flex-direction: column; gap: 6px; }
.cr-lib .cr-lista > p.dim { font-size: 13px; line-height: 1.45; padding: 18px 12px; margin: 0; color: rgba(255,255,255,.45); }
.ws-item, .au-item, .gd-item { font-size: 13.5px; }
.ws-item .au-meta strong, .au-item .au-meta strong { font-size: 14px !important; line-height: 1.3; }
.ws-item .au-meta span, .au-item .au-meta span { font-size: 12px !important; color: rgba(255,255,255,.5) !important; line-height: 1.3; }
.ws-cov { font-size: 18px !important; }
.cr-lib-tabs { scrollbar-width: none; }
.cr-lib-tabs::-webkit-scrollbar { display: none; }

/* panel de información (i) */
.queue-info { padding: 12px 14px 16px; overflow: auto; flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; gap: 12px; }
.qi-cov { width: 100%; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: #1a1a1a; }
.qi-cov img { width: 100%; height: 100%; object-fit: cover; display: block; }
.qi-tit { display: flex; flex-direction: column; gap: 2px; }
.qi-tit strong { font-size: 16px; font-weight: 700; }
.qi-tit span { font-size: 13px; }
.qi-meta { display: flex; flex-wrap: wrap; gap: 6px; }
.qi-meta span { font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: rgba(255,255,255,.55); background: rgba(255,255,255,.07); padding: 3px 8px; border-radius: 4px; }
.qi-sec { background: rgba(255,255,255,.04); border-radius: 12px; padding: 12px; }
.qi-sec-h { display: flex; align-items: center; justify-content: space-between; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.5); margin-bottom: 8px; }
.qi-sec-h .ico { width: 26px; height: 26px; } .qi-sec-h .ico svg { width: 14px; height: 14px; }
.qi-sec p { margin: 0; font-size: 13px; line-height: 1.5; color: rgba(255,255,255,.85); }
.qi-sec pre { margin: 0; white-space: pre-wrap; font-family: inherit; font-size: 13px; line-height: 1.55; color: rgba(255,255,255,.85); }
.qi-params { display: flex; flex-direction: column; gap: 4px; margin-top: 10px; padding-top: 10px; border-top: 1px solid rgba(255,255,255,.07); }
.qi-params div { display: flex; justify-content: space-between; font-size: 12px; }
.qi-params b { color: rgba(255,255,255,.55); font-weight: 600; } .qi-params span { color: #fff; }
.qi-vacio { font-size: 13px; }
#p-info.on { color: #7bb84a; }

/* diálogo propio */
.cr-dlg .cr-modal-in { width: min(420px, 92vw); }
.dlg-titulo { font-size: 15px; margin-bottom: 4px; }
#dlg-ok.peligro { background: #d64545; color: #fff; }

/* ===== 1.34.2 — recuadro de video independiente ===== */
/* hueco reservado dentro de la cola (16:9); el video real flota encima */
.yt-slot { margin: 8px; aspect-ratio: 16 / 9; border-radius: 14px; background: #000; flex: 0 0 auto; }
.yt-slot[hidden] { display: none; }
.queue { display: flex !important; flex-direction: column; }
.queue[hidden] { display: none !important; }   /* la X de la cola vuelve a funcionar */
.queue-scroll { flex: 1 1 auto; min-height: 0; overflow: auto; }
.viz-box { flex: 0 0 auto; }
body.con-yt .viz-box { display: none; }
/* el recuadro real: fijo, fuera de cualquier contenedor, posicionado por JS */
.yt-box { position: fixed; left: 0; top: 0; width: 0; height: 0; z-index: 150; border-radius: 14px; overflow: hidden; background: #000; opacity: 0; transition: opacity .15s; }
.yt-box[hidden] { display: none; }
.yt-ratio { position: absolute; inset: 0; }
.yt-ratio > div, .yt-ratio iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt-fs { position: absolute; top: 8px; right: 8px; width: 30px; height: 30px; border-radius: 8px; border: 0; background: rgba(0,0,0,.55); color: #fff; display: grid; place-items: center; cursor: pointer; opacity: 0; transition: .15s; z-index: 2; }
.yt-box:hover .yt-fs { opacity: 1; } .yt-fs svg { width: 16px; height: 16px; }
/* pantalla grande: fondo negro (198) < video (199) < overlay con controles (200) */
#fs-yt-fondo { position: fixed; inset: 0; background: #000; z-index: 198; cursor: pointer; }
#fs-yt-fondo[hidden] { display: none; }
body.fs-yt-activo .yt-box { z-index: 199; border-radius: 6px; }
body.fs-yt-activo .yt-fs { display: none; }
.fs-overlay.modo-yt { background: transparent !important; pointer-events: none; }
.fs-overlay.modo-yt > * { pointer-events: auto; }
.fs-overlay.modo-yt .fs-canvas, .fs-overlay.modo-yt .fs-video, .fs-overlay.modo-yt .fs-estilos, .fs-overlay.modo-yt .fs-yt { display: none !important; }
.fs-overlay.modo-yt .fs-controls { background: linear-gradient(0deg, #000 70%, transparent); }
/* la info de arriba no puede tapar la X ni el botón de cola: no recibe clics y
   los botones de cierre van en la capa más alta del overlay */
.fs-overlay.modo-yt .fs-info { background: linear-gradient(180deg, rgba(0,0,0,.8), transparent); left: 0; right: 0; top: 0; padding: 20px 32px 28px; pointer-events: none; }
.fs-overlay .fs-cerrar, .fs-overlay .fs-cola-btn { z-index: 50 !important; pointer-events: auto !important; }
.fs-overlay .fs-cola { z-index: 40; }
/* sin borde de enfoque al hacer clic en las barras */
#p-seek:focus, #p-volume:focus, .rango input[type=range]:focus, .rango input[type=range]:focus-visible { outline: none !important; box-shadow: none !important; }
.wave-wrap:focus, #seek-wrap:focus, .wave-canvas:focus { outline: none; }

/* ===== 1.34.4 ===== */
.ws-cov { font-size: 17px !important; font-weight: 700; color: #fff; }
.ws-item .au-meta span:empty { display: none; }
/* la barra de progreso no muestra el contorno de enfoque del tema al hacer clic */
.p-progress *:focus, .p-progress *:focus-visible, .p-vol *:focus, .p-vol *:focus-visible, #p-seek, #p-volume { outline: none !important; outline-offset: 0 !important; }

/* ===================================================================
   1.35 — Acabado: Crear en dos paneles, scrolls finos, panel (i)
   =================================================================== */

/* ---- scrolls finos y discretos en toda la app (como Suno) ---- */
.content, .queue, .queue-scroll, .queue-info, .cr-lib-scroll, .cr-panel, .yt-lista, .cr-modal-in, .sidebar, .fs-cola-scroll, .m-campos textarea, .qi-sec pre {
  scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.18) transparent;
}
.content::-webkit-scrollbar, .queue::-webkit-scrollbar, .queue-scroll::-webkit-scrollbar, .queue-info::-webkit-scrollbar, .cr-lib-scroll::-webkit-scrollbar, .cr-panel::-webkit-scrollbar, .yt-lista::-webkit-scrollbar, .cr-modal-in::-webkit-scrollbar, .sidebar::-webkit-scrollbar, .fs-cola-scroll::-webkit-scrollbar { width: 6px; height: 6px; }
.content::-webkit-scrollbar-thumb, .queue::-webkit-scrollbar-thumb, .queue-scroll::-webkit-scrollbar-thumb, .queue-info::-webkit-scrollbar-thumb, .cr-lib-scroll::-webkit-scrollbar-thumb, .cr-panel::-webkit-scrollbar-thumb, .yt-lista::-webkit-scrollbar-thumb, .cr-modal-in::-webkit-scrollbar-thumb, .sidebar::-webkit-scrollbar-thumb, .fs-cola-scroll::-webkit-scrollbar-thumb { background: rgba(255,255,255,.18); border-radius: 999px; }
.content::-webkit-scrollbar-thumb:hover, .queue-info::-webkit-scrollbar-thumb:hover, .cr-lib-scroll::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,.32); }
*::-webkit-scrollbar-track { background: transparent; }

/* ---- Crear: el contenedor de contenido se vuelve transparente y cada
        columna es un panel propio con el estilo del tema ---- */
body.pagina-crear .content { background: transparent !important; border: 0 !important; padding: 0 !important; overflow: visible !important; }
/* altura = ventana menos cabecera y reproductor: cada panel hace su propio scroll */
body.pagina-crear .cr { display: grid; grid-template-columns: 400px minmax(0, 1fr); gap: 8px; align-items: stretch; height: calc(100vh - var(--cr-arriba, 78px) - var(--cr-abajo, 96px)); min-height: 520px; }
@media (max-width: 1180px) { body.pagina-crear .cr { grid-template-columns: 360px minmax(0, 1fr); } }
@media (max-width: 980px) { body.pagina-crear .cr { grid-template-columns: 1fr; } body.pagina-crear .content { overflow: auto !important; } }
.cr-panel, .cr-lib { background: radial-gradient(ellipse at 85% 0%, #32323255, transparent 520px), #191919; border: 1px solid #2c2c2c; border-radius: 24px 24px 0 0; min-height: 0; }
.cr-panel { padding: 22px 20px 26px; overflow: auto; display: flex; flex-direction: column; gap: 10px; }
.cr-lib { padding: 22px 22px 0; display: flex; flex-direction: column; overflow: hidden; }
.cr-lib-h { flex: none; margin-bottom: 10px; }
.cr-lib-h h2 { font-size: 22px; font-weight: 700; letter-spacing: -.01em; }
.cr-lib-tabs { flex: none; margin-bottom: 8px; }
.cr-lib-filtro { flex: none; }
.cr-lib-scroll { flex: 1 1 auto; min-height: 0; overflow: auto; padding: 4px 6px 24px 0; }
.cr-lib-scroll .cr-lista { gap: 4px; }
.cr-item { padding: 10px 12px; border-radius: 14px; }
.cr-item:hover { background: rgba(255,255,255,.05); }
.cr-lib .cr-vacio { padding: 80px 20px; }
/* jerarquía dentro del panel de creación */
.cr-top { margin-bottom: 2px; }
.cr-card { background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.06); border-radius: 16px; }
.cr-card-h { font-size: 11px; letter-spacing: .08em; }
.cr-fuentes { border-radius: 14px; background: rgba(255,255,255,.05); }
.cr-fuente { background: #191919; font-size: 13px; padding: 11px; }
.cr-fuente:hover { background: #222; }
.cr-guardar-en { border-radius: 16px; background: rgba(255,255,255,.03); border-color: rgba(255,255,255,.06); }
.cr-crear { border-radius: 14px; padding: 14px 20px; font-size: 15px; }
.cr-accion { margin-top: 2px; }

/* ---- panel (i): la portada no se encoge y el panel respira ---- */
.queue-info { padding: 10px 14px 20px; gap: 12px; }
.queue-info > * { flex: none; }
.qi-volver { align-self: flex-start; display: inline-flex; align-items: center; gap: 4px; background: transparent; border: 0; color: rgba(255,255,255,.6); font: inherit; font-size: 12.5px; font-weight: 600; padding: 4px 6px 4px 2px; border-radius: 8px; cursor: pointer; }
.qi-volver:hover { color: #fff; background: rgba(255,255,255,.06); }
.qi-volver svg { width: 16px; height: 16px; }
.qi-cov { width: 100%; aspect-ratio: 1 / 1; min-height: 120px; border-radius: 14px; overflow: hidden; background: #1a1a1a; flex: none; }
.qi-cov img { width: 100%; height: 100%; object-fit: cover; display: block; }
.qi-sec pre { max-height: none; }
.cr-aviso { flex: none; margin: 0 0 12px; padding: 10px 14px; border-radius: 12px; background: rgba(82,121,42,.12); border: 1px solid rgba(82,121,42,.4); font-size: 13px; line-height: 1.5; color: rgba(255,255,255,.85); }
.cr-aviso a { color: #9fdc63; font-weight: 600; }

/* ===================================================================
   1.36 — Tarjetas de álbum (acciones sobre la portada, sin contador)
   =================================================================== */
.album-card { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 0 0 12px; background: transparent !important; border: 0 !important; transform: none !important; }
.album-card .cover { position: relative; display: block; aspect-ratio: 1; border-radius: 16px; overflow: hidden; background: #1a1a1a; }
.album-card .cover img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.album-card:hover .cover img { transform: scale(1.04); }
.album-card .cover::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.6), transparent 50%); opacity: 0; transition: opacity .2s; }
.album-card:hover .cover::after, .album-card:focus-within .cover::after { opacity: 1; }
.album-card .album-tag { position: absolute; top: 10px; left: 10px; }
.ac-wrap { position: relative; }
.ac-acciones { position: absolute; left: 0; right: 0; bottom: 12px; padding: 0 12px; display: flex; align-items: center; justify-content: space-between; opacity: 0; transform: translateY(6px); transition: .2s; pointer-events: none; }
.album-card:hover .ac-acciones, .album-card:focus-within .ac-acciones { opacity: 1; transform: none; pointer-events: auto; }
@media (hover: none) { .ac-acciones { opacity: 1; transform: none; pointer-events: auto; } }
.ac-play { width: 42px; height: 42px; border-radius: 50%; border: 0; background: #fff; color: #0b0f0c; display: grid; place-items: center; cursor: pointer; box-shadow: 0 6px 20px rgba(0,0,0,.45); transition: transform .12s; }
.ac-play:hover { transform: scale(1.06); } .ac-play svg { width: 20px; height: 20px; margin-left: 2px; }
.ac-ico { width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(0,0,0,.45); color: #fff; display: grid; place-items: center; cursor: pointer; transition: .12s; }
.ac-ico:hover { background: rgba(0,0,0,.7); } .ac-ico svg { width: 18px; height: 18px; }
.ac-fav.on { color: #7bb84a; } .ac-fav.on svg path { fill: #7bb84a; stroke: #7bb84a; }
.ac-acciones .ac-play { order: 0; } .ac-acciones [data-ac="menu"] { order: 1; margin-left: auto; } .ac-acciones .ac-fav { order: 2; margin-left: 6px; }
.album-card .t { display: block; margin: 8px 6px 0; font-size: 14px; font-weight: 600; color: #fff; text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.album-card .t:hover { text-decoration: underline; }
.album-card .a { margin: 0 6px; font-size: 12.5px; color: rgba(255,255,255,.55); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* menú de la tarjeta */
.ac-menu { position: fixed; z-index: 400; width: 280px; background: #1a1a1a; border: 1px solid rgba(255,255,255,.1); border-radius: 14px; padding: 6px; box-shadow: 0 16px 48px rgba(0,0,0,.6); display: flex; flex-direction: column; }
.ac-menu[hidden] { display: none; }
.ac-menu-cab { display: flex; align-items: center; gap: 10px; padding: 8px 10px 10px; border-bottom: 1px solid rgba(255,255,255,.08); margin-bottom: 4px; }
.ac-menu-cab img { width: 40px; height: 40px; border-radius: 6px; object-fit: cover; background: #111; }
.ac-menu-cab div { display: flex; flex-direction: column; min-width: 0; }
.ac-menu-cab strong { font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ac-menu-cab span { font-size: 12px; color: rgba(255,255,255,.55); }
.ac-menu > button, .ac-sub > button { display: flex; align-items: center; gap: 12px; width: 100%; background: transparent; border: 0; color: rgba(255,255,255,.85); font: inherit; font-size: 13.5px; padding: 9px 10px; border-radius: 8px; cursor: pointer; text-align: left; }
.ac-menu > button:hover, .ac-sub > button:hover { background: rgba(255,255,255,.07); color: #fff; }
.ac-menu svg { width: 18px; height: 18px; opacity: .8; flex: none; }
.ac-sub { position: relative; }
.ac-sub .chev { margin-left: auto; font-style: normal; opacity: .5; }
.ac-sub-lista { display: none; position: absolute; left: 100%; top: 0; min-width: 200px; max-height: 260px; overflow: auto; background: #1a1a1a; border: 1px solid rgba(255,255,255,.1); border-radius: 12px; padding: 6px; box-shadow: 0 16px 48px rgba(0,0,0,.6); margin-left: 4px; scrollbar-width: thin; }
.ac-sub:hover .ac-sub-lista { display: block; }
.ac-sub-lista button { display: block; width: 100%; background: transparent; border: 0; color: rgba(255,255,255,.85); font: inherit; font-size: 13px; padding: 8px 10px; border-radius: 8px; cursor: pointer; text-align: left; }
.ac-sub-lista button:hover { background: rgba(255,255,255,.07); }
.ac-sub-vacio { display: block; font-size: 12.5px; color: rgba(255,255,255,.45); padding: 8px 10px; }
@media (max-width: 720px) { .ac-sub-lista { left: 0; top: 100%; margin: 4px 0 0; } }

.fav-sec { font-size: 15px; font-weight: 700; margin: 6px 0 12px; }
.fav-albums { margin-bottom: 26px; }

.yt-diag-out { margin-top: 10px; padding: 12px 14px; border-radius: 10px; background: #0c0c0c; border: 1px solid rgba(255,255,255,.08); font-size: 12.5px; line-height: 1.55; color: rgba(255,255,255,.8); white-space: pre-wrap; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.yt-diag-out[hidden] { display: none; }

/* ===================================================================
   1.37 — Encabezado de álbum (referencia: Play · Me gusta · Compartir · Más)
   =================================================================== */
.ah-artista { display: inline-flex; align-items: center; gap: 8px; margin: 10px 0 6px; color: #fff; text-decoration: none; font-size: 14px; font-weight: 600; }
.ah-artista img, .ah-av-ph { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; background: #333; display: grid; place-items: center; font-size: 12px; border: 2px solid rgba(0,0,0,.4); }
.ah-artista:hover span:last-child { text-decoration: underline; }
.ah-meta { margin: 0; font-size: 13.5px; color: rgba(255,255,255,.7); }
.ah-acciones { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 22px; }
.ah-izq { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.ah-play { display: inline-flex; align-items: center; gap: 8px; background: #52792a; color: #fff; border: 0; border-radius: 999px; padding: 12px 26px; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; transition: .12s; }
.ah-play:hover { filter: brightness(1.12); } .ah-play svg { width: 16px; height: 16px; }
.ah-btn { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.06); color: #fff; border: 1px solid rgba(255,255,255,.12); border-radius: 999px; padding: 11px 18px; font: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer; transition: .12s; }
.ah-btn:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.25); }
.ah-btn svg { width: 16px; height: 16px; }
.ah-like.on { background: rgba(82,121,42,.25); border-color: #52792a; }
.ah-like.on svg path { fill: #7bb84a; stroke: #7bb84a; }
.ah-der { display: flex; gap: 16px; font-size: 13.5px; color: rgba(255,255,255,.7); }
.ah-der span { display: inline-flex; align-items: center; gap: 6px; } .ah-der svg { width: 16px; height: 16px; }
.ah-mas-wrap { position: relative; }
.ah-menu { position: absolute; left: 0; top: calc(100% + 8px); z-index: 60; width: 280px; background: #1a1a1a; border: 1px solid rgba(255,255,255,.1); border-radius: 14px; padding: 6px; box-shadow: 0 16px 48px rgba(0,0,0,.6); display: flex; flex-direction: column; }
.ah-menu[hidden] { display: none; }
.ah-menu-cab { display: flex; align-items: center; gap: 10px; padding: 8px 10px 10px; border-bottom: 1px solid rgba(255,255,255,.08); margin-bottom: 4px; }
.ah-menu-cab img { width: 40px; height: 40px; border-radius: 6px; object-fit: cover; }
.ah-menu-cab div { display: flex; flex-direction: column; min-width: 0; } .ah-menu-cab strong { font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .ah-menu-cab span { font-size: 12px; color: rgba(255,255,255,.55); }
.ah-menu > button, .ah-menu > a, .ah-sub > button, .ah-form-del button { display: flex; align-items: center; gap: 12px; width: 100%; background: transparent; border: 0; color: rgba(255,255,255,.85); font: inherit; font-size: 13.5px; padding: 9px 10px; border-radius: 8px; cursor: pointer; text-align: left; text-decoration: none; }
.ah-menu > button:hover, .ah-menu > a:hover, .ah-sub > button:hover, .ah-form-del button:hover { background: rgba(255,255,255,.07); color: #fff; }
.ah-menu svg { width: 18px; height: 18px; opacity: .8; flex: none; }
.ah-menu .peligro { color: #ff8a8a; } .ah-menu .peligro:hover { background: rgba(255,90,90,.12); }
.ah-menu-sep { height: 1px; background: rgba(255,255,255,.08); margin: 4px 6px; }
.ah-form-del { margin: 0; }
.ah-sub { position: relative; } .ah-sub > button i { margin-left: auto; font-style: normal; opacity: .5; }
.ah-sub-lista { display: none; position: absolute; left: 100%; top: 0; min-width: 200px; max-height: 260px; overflow: auto; background: #1a1a1a; border: 1px solid rgba(255,255,255,.1); border-radius: 12px; padding: 6px; box-shadow: 0 16px 48px rgba(0,0,0,.6); margin-left: 4px; scrollbar-width: thin; }
.ah-sub:hover .ah-sub-lista { display: block; }
.ah-sub-lista button { display: block; width: 100%; background: transparent; border: 0; color: rgba(255,255,255,.85); font: inherit; font-size: 13px; padding: 8px 10px; border-radius: 8px; cursor: pointer; text-align: left; }
.ah-sub-lista button:hover { background: rgba(255,255,255,.07); }
.ah-tabla { width: 100%; border-collapse: collapse; font-size: 13px; margin-top: 6px; }
.ah-tabla th { text-align: left; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.5); padding: 6px 8px; border-bottom: 1px solid rgba(255,255,255,.08); }
.ah-tabla td { padding: 8px; border-bottom: 1px solid rgba(255,255,255,.05); } .ah-tabla td:nth-child(3) { font-variant-numeric: tabular-nums; white-space: nowrap; }
.ah-tabla td:last-child { width: 120px; } .ah-barra { display: block; height: 4px; border-radius: 2px; background: #7bb84a; }
@media (max-width: 720px) { .ah-sub-lista { left: 0; top: 100%; margin: 4px 0 0; } .ah-menu { width: min(280px, 90vw); } }

/* ===== 1.38 — Biblioteca de estilos por artista ===== */
.es-barra { display: flex; gap: 8px; margin-bottom: 12px; }
.es-barra input { flex: 1; background: rgba(255,255,255,.06); border: 1px solid transparent; border-radius: 10px; color: #fff; padding: 9px 12px; font: inherit; font-size: 13.5px; }
.es-barra input:focus { outline: 0; border-color: #52792a; }
.es-barra select { width: auto; background: rgba(255,255,255,.06); border: 0; border-radius: 10px; color: #fff; padding: 9px 12px; font: inherit; font-size: 13.5px; }
.es-grupo { display: flex; align-items: baseline; gap: 10px; padding: 14px 4px 6px; }
.es-grupo strong { font-size: 15px; } .es-grupo span { font-size: 12px; }
.es-item { background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.06); border-radius: 14px; padding: 12px 14px; margin-bottom: 6px; display: flex; flex-direction: column; gap: 8px; }
.es-item.guardado { border-color: rgba(82,121,42,.45); }
.es-cab { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.es-tit { font-size: 14px; } .es-meta { font-size: 12px; color: rgba(255,255,255,.5); white-space: nowrap; }
.es-texto { margin: 0; white-space: pre-wrap; word-break: break-word; font-family: inherit; font-size: 13.5px; line-height: 1.55; color: rgba(255,255,255,.88); }
.es-acc { display: flex; gap: 6px; flex-wrap: wrap; }
.es-acc .peligro { color: #ff8a8a; }

/* ===================================================================
   1.39 — Portada por secciones, Géneros, subgéneros, populares
   =================================================================== */
.pagina-titulo { font-size: 28px; font-weight: 600; margin: 4px 0 22px; }
.sec-h { display: flex; align-items: center; justify-content: space-between; margin: 0 0 14px; }
.sec-h a { display: inline-flex; align-items: center; gap: 8px; color: #fff; text-decoration: none; }
.sec-h h2 { margin: 0; font-size: 22px; font-weight: 600; letter-spacing: -.01em; }
.sec-h .sec-flecha { font-size: 24px; line-height: 1; opacity: .6; transition: .12s; } .sec-h a:hover .sec-flecha { opacity: 1; transform: translateX(2px); }
.sec-h .dim { font-size: 13px; }
.sec-nav { display: flex; gap: 4px; }
.sec-nav button { width: 30px; height: 30px; border-radius: 50%; border: 0; background: rgba(255,255,255,.08); color: #fff; font-size: 18px; cursor: pointer; }
.sec-nav button:hover { background: rgba(255,255,255,.16); }
.p-sec { margin-bottom: 34px; }
.fila-scroll { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(172px, 1fr); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: none; }
.fila-scroll::-webkit-scrollbar { display: none; }
.fila-scroll > * { scroll-snap-align: start; min-width: 172px; max-width: 220px; }
/* canciones populares en 3 columnas */
.pop-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 26px; }
@media (max-width: 1100px) { .pop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) { .pop-grid { grid-template-columns: 1fr; } }
.pop-item { display: flex !important; align-items: center; gap: 12px; padding: 8px 4px !important; border: 0 !important; border-bottom: 1px solid rgba(255,255,255,.07) !important; border-radius: 0 !important; background: transparent !important; transform: none !important; }
.pop-item:hover { background: rgba(255,255,255,.04) !important; }
.pop-cov { position: relative; width: 44px; height: 44px; border-radius: 6px; overflow: hidden; background: #222; flex: none; display: grid; place-items: center; color: #777; }
.pop-cov img { width: 100%; height: 100%; object-fit: cover; }
.pop-cov .cardplay { position: absolute; inset: 0; margin: auto; width: 26px; height: 26px; border-radius: 50%; background: rgba(0,0,0,.6); color: #fff; border: 0; font-size: 11px; opacity: 0; cursor: pointer; }
.pop-item:hover .pop-cov .cardplay, .pop-item.playing .pop-cov .cardplay { opacity: 1; }
.pop-meta { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.pop-meta strong { font-size: 14px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pop-meta span { font-size: 12.5px; color: rgba(255,255,255,.55); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pop-item.playing .pop-meta strong { color: #7bb84a; }
.pop-mas { width: 30px; height: 30px; border-radius: 50%; border: 0; background: transparent; color: rgba(255,255,255,.6); font-size: 18px; cursor: pointer; flex: none; }
.pop-mas:hover { background: rgba(255,255,255,.1); color: #fff; }
/* tarjetas de género */
.gen-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 1100px) { .gen-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 720px) { .gen-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.gen-card { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; aspect-ratio: 2.2 / 1; border-radius: 16px; overflow: hidden; text-decoration: none; color: #fff; background: var(--c, #333); transition: transform .15s, filter .15s; }
.gen-card::before { content: ''; position: absolute; inset: 0; background-image: var(--img, none); background-size: cover; background-position: center; opacity: .28; mix-blend-mode: luminosity; }
.gen-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, transparent, rgba(0,0,0,.25)); }
.gen-card:hover { transform: translateY(-2px); filter: brightness(1.1); }
.gen-nombre { position: relative; z-index: 1; font-size: 20px; font-weight: 600; text-shadow: 0 2px 8px rgba(0,0,0,.35); }
.gen-n { position: relative; z-index: 1; font-size: 12px; opacity: .85; }
.gen-grid-portada .gen-card { aspect-ratio: 2.4 / 1; }
.gen-grid-portada .gen-nombre { font-size: 17px; }
/* subgéneros */
.sub-sec { margin-top: 38px; }
.sub-nube { display: flex; flex-wrap: wrap; gap: 8px; }
.sub-tag { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.08); color: #fff; text-decoration: none; font-size: calc(12px + 3px * var(--peso, .5)); font-weight: 500; transition: .12s; }
.sub-tag:hover { background: rgba(82,121,42,.25); border-color: #52792a; }
.sub-tag small { font-size: 11px; color: rgba(255,255,255,.45); }
.sub-tag.sm { font-size: 12px; padding: 4px 10px; }
.ah-subs { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 0; }
/* campo de etiquetas */
.tags-campo { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; background: rgba(255,255,255,.06); border: 1px solid transparent; border-radius: 10px; padding: 6px 8px; cursor: text; min-height: 42px; }
.tags-campo:focus-within { border-color: #52792a; }
.tag-chip { display: inline-flex; align-items: center; gap: 4px; background: rgba(82,121,42,.25); border: 1px solid rgba(82,121,42,.5); color: #d5efc0; font-size: 12.5px; padding: 3px 6px 3px 10px; border-radius: 999px; }
.tag-chip button { background: transparent; border: 0; color: inherit; font-size: 15px; line-height: 1; cursor: pointer; padding: 0 2px; opacity: .7; }
.tag-chip button:hover { opacity: 1; }
.tags-input { flex: 1; min-width: 140px; background: transparent !important; border: 0 !important; outline: 0; color: #fff; font: inherit; font-size: 13.5px; padding: 4px !important; }

/* ===================================================================
   1.40 — Mis artistas: tarjetas con banner, foto y miniaturas de álbumes
   =================================================================== */
.ar-head { align-items: flex-end; }
.ar-head .eyebrow { margin: 0 0 4px; }
.ar-head-acc { display: flex; gap: 8px; align-items: center; }
.ar-head-acc .btn svg { vertical-align: -3px; margin-right: 4px; }
.ar-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; margin-top: 18px; }
.ar-card { background: #191919; border: 1px solid #2c2c2c; border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; transition: transform .15s, border-color .15s; }
.ar-card:hover { transform: translateY(-2px); border-color: #3b3b3b; }
.ar-banner { position: relative; display: block; height: 96px; background: linear-gradient(135deg, var(--c, #333), #111); }
.ar-banner::before { content: ''; position: absolute; inset: 0; background-image: var(--img, none); background-size: cover; background-position: center 30%; filter: blur(3px) saturate(1.1); opacity: .9; transform: scale(1.06); }
.ar-banner::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.05) 0%, rgba(25,25,25,.35) 60%, #191919 100%); }
.ar-banner { height: 110px; }
.ar-banner .ar-avatar { position: absolute; left: 18px; bottom: -28px; width: 76px; height: 76px; border-radius: 50%; object-fit: cover; border: 4px solid #191919; background: #2a2a2a; z-index: 1; box-shadow: 0 4px 14px rgba(0,0,0,.4); }
.ar-banner .ar-avatar.ph { display: grid; place-items: center; font-size: 28px; font-weight: 700; color: rgba(255,255,255,.8); }
.ar-body { padding: 36px 18px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.ar-nombre { font-size: 17px; font-weight: 700; color: #fff; text-decoration: none; }
.ar-nombre:hover { text-decoration: underline; }
.ar-stats { display: flex; gap: 14px; margin: 0; font-size: 12.5px; color: rgba(255,255,255,.55); }
.ar-stats b { color: #fff; font-weight: 600; }
.ar-albums { display: flex; gap: 6px; margin-top: 4px; }
.ar-mini { width: 44px; height: 44px; border-radius: 8px; overflow: hidden; background: #262626; display: grid; place-items: center; color: rgba(255,255,255,.5); font-size: 15px; font-weight: 600; text-decoration: none; flex: none; transition: transform .12s; }
.ar-mini:hover { transform: scale(1.08); }
.ar-mini img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ar-mini.borrador { opacity: .55; outline: 1px dashed rgba(255,176,32,.6); }
.ar-mini.mas { font-size: 12px; color: rgba(255,255,255,.7); background: rgba(255,255,255,.08); }
.ar-sin { margin: 4px 0; font-size: 12.5px; }
.ar-acc { display: flex; gap: 6px; margin-top: auto; padding-top: 10px; border-top: 1px solid rgba(255,255,255,.07); }

/* ===================================================================
   1.41 — Nombre del artista enlazado a su perfil en toda la plataforma
   =================================================================== */
.artist-link, .card .a, .trow-meta a, .pop-meta a, .p-meta a, .q-meta a, .qi-tit a, .ac-menu-cab a { color: inherit; text-decoration: none; cursor: pointer; }
.artist-link:hover, .card .a:hover, .trow-meta a:hover, .pop-meta a:hover, .p-meta a:hover, .q-meta a:hover, .qi-tit a:hover, .ac-menu-cab a:hover { color: #fff; text-decoration: underline; }
.trow-meta .artist-link { font-size: 12.5px; display: inline-block; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; vertical-align: bottom; }
.pop-meta .artist-link { font-size: 12.5px; color: rgba(255,255,255,.55); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.p-meta #p-artist a { color: var(--dim); }
.p-meta #p-artist a:hover { color: #fff; }
.q-meta span a { color: inherit; }
/* la foto del artista en su página: se ve grande y a la izquierda del nombre (no la absoluta de «Mis artistas») */
.ar-page .ar-head .ar-avatar { position: static; width: 168px; height: 168px; border: 4px solid rgba(0,0,0,.25); box-shadow: 0 12px 40px rgba(0,0,0,.5); }
.ar-page .ar-head.con-portada .ar-avatar { width: 140px; height: 140px; }
.ar-page .ar-head .ar-avatar.ph { display: flex; align-items: center; justify-content: center; font-size: 62px; }
@media (max-width: 640px) { .ar-page .ar-head .ar-avatar, .ar-page .ar-head.con-portada .ar-avatar { width: 96px; height: 96px; } .ar-page .ar-head .ar-avatar.ph { font-size: 40px; } }

/* 1.42 — cola YouTube → MP3 */
.ytdl-estado { margin-top: 18px; padding: 12px 14px; border: 1px solid rgba(255,255,255,.08); border-radius: 12px; background: #0c0c0c; }
.ytdl-lista { display: flex; flex-direction: column; gap: 4px; margin-top: 8px; max-height: 260px; overflow: auto; }
.ytdl-row { display: flex; align-items: center; gap: 10px; font-size: 13px; padding: 4px 2px; }
.ytdl-row strong { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 45%; }
.ytdl-row .dim { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ytdl-dot { width: 8px; height: 8px; border-radius: 50%; background: #666; flex: none; }
.ytdl-row.lista .ytdl-dot { background: #7bb84a; }
.ytdl-row.procesando .ytdl-dot { background: #f2c14e; animation: ytdlPulse 1s infinite alternate; }
.ytdl-row.error .ytdl-dot { background: #e0524f; }
@keyframes ytdlPulse { from { opacity: .4; } to { opacity: 1; } }
.stat small { display: block; font-size: 10.5px; color: rgba(255,255,255,.45); word-break: break-all; }

/* 1.42.2 — página del artista: «Ver todos» expande el carrusel a rejilla */
.carr-todos { display: inline-flex; align-items: center; height: 30px; padding: 0 12px; margin-right: 6px; border-radius: 999px; border: 1px solid rgba(255,255,255,.18); background: transparent; color: rgba(255,255,255,.75); font: inherit; font-size: 12.5px; font-weight: 600; cursor: pointer; }
.carr-todos:hover { border-color: #fff; color: #fff; }
.carr-todos .ct-menos, .ar-sec.expandido .carr-todos .ct-mas { display: none; }
.ar-sec.expandido .carr-todos .ct-menos { display: inline; }
.ar-sec.expandido .carr-todos { background: #fff; color: #111; border-color: #fff; }
.ar-sec.expandido .carr-prev, .ar-sec.expandido .carr-next { display: none; }
.ar-sec.expandido .carrusel { grid-auto-flow: row; grid-template-columns: repeat(auto-fill, minmax(172px, 1fr)); grid-auto-columns: auto; overflow: visible; scroll-snap-type: none; padding-bottom: 0; row-gap: 22px; }
.ar-sec .sec-n { font-size: 13px; font-weight: 500; margin-left: 6px; }
@media (max-width: 700px) { .ar-sec.expandido .carrusel { grid-template-columns: repeat(2, 1fr); } }
/* 1.42.3 — aire entre el encabezado de cada sección del artista y las tarjetas */
.ar-sec .sec-head { margin: 36px 0 18px; align-items: center; }
.ar-sec .sec-head .sec-title { display: flex; align-items: baseline; gap: 10px; line-height: 1.2; }
.ar-sec .sec-n { margin-left: 0; }
.ar-sec .carr-nav { align-items: center; gap: 6px; }
.ar-sec .carr-todos { margin-right: 4px; }
.ar-sec .carrusel { padding-top: 4px; }
/* 1.42.5 — menú ⋯ de canción: siempre por encima de la cola y del reproductor */
.ctxmenu { z-index: 400; }
.ctxmenu[hidden] { display: none !important; }
/* 1.42.6 — pantalla grande: la cola se abre bajo los botones de cola/cerrar; su X propia sobra (quedaban dos X) */
.fs-overlay .fs-cerrar, .fs-overlay .fs-cola-btn { z-index: 6; }
.fs-cola { z-index: 5; }
.fs-cola-head { padding-right: 150px; min-height: 66px; display: flex; align-items: center; }
.fs-cola-head .fs-cola-x { display: none; }

/* 1.43 — PWA */
.pwa-pill { position: fixed; left: 50%; bottom: calc(96px + env(safe-area-inset-bottom)); transform: translate(-50%, 24px); opacity: 0; z-index: 350; display: flex; align-items: center; gap: 4px; padding: 4px 4px 4px 6px; border-radius: 999px; background: #1c1c1c; border: 1px solid rgba(255,255,255,.14); box-shadow: 0 10px 30px rgba(0,0,0,.5); transition: transform .3s, opacity .3s; }
.pwa-pill.on { transform: translate(-50%, 0); opacity: 1; }
.pwa-pill-go { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; border: 0; background: #92bd5e; color: #101410; font: inherit; font-size: 13.5px; font-weight: 700; cursor: pointer; }
.pwa-pill-x { width: 34px; height: 34px; border-radius: 50%; border: 0; background: transparent; color: rgba(255,255,255,.65); font-size: 20px; cursor: pointer; }
.pwa-pill-x:hover { background: rgba(255,255,255,.1); color: #fff; }
.pwa-ios { position: fixed; inset: auto 0 0 0; z-index: 350; padding: 0 12px calc(12px + env(safe-area-inset-bottom)); }
.pwa-ios-card { position: relative; background: #1c1c1c; border: 1px solid rgba(255,255,255,.14); border-radius: 18px; padding: 16px 44px 14px 16px; box-shadow: 0 10px 30px rgba(0,0,0,.5); animation: pwaUp .3s ease-out; }
.pwa-ios-card strong { display: block; font-size: 15px; margin-bottom: 4px; }
.pwa-ios-card p { margin: 0; font-size: 13.5px; color: rgba(255,255,255,.8); line-height: 1.45; }
.pwa-ios-card .pwa-ios-nota { margin-top: 8px; color: #f2c14e; }
.pwa-ios-x { position: absolute; top: 8px; right: 8px; width: 32px; height: 32px; border-radius: 50%; border: 0; background: rgba(255,255,255,.08); color: #fff; font-size: 20px; cursor: pointer; }
@keyframes pwaUp { from { transform: translateY(20px); opacity: 0; } to { transform: none; opacity: 1; } }
html.pwa .pwa-link, html.pwa .pwa-pill { display: none !important; }
html.pwa .topbar { padding-top: calc(env(safe-area-inset-top) + 6px); }
html.pwa .player { padding-bottom: calc(env(safe-area-inset-bottom) + 6px); }
/* 1.44 — aviso de álbum aún en YouTube */
.aviso-yt { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin: 0 0 14px; padding: 10px 14px; border-radius: 12px; background: rgba(242,193,78,.1); border: 1px solid rgba(242,193,78,.35); font-size: 13.5px; color: #f2e3b8; }
.aviso-yt b { color: #fff; }
