:root{--bg:#07090c;--panel:#0d1117;--panel2:#121822;--text:#f7f8fa;--muted:#8f98a6;--line:#202733;--red:#ff214f;--red2:#c91139;--radius:18px;--safe:env(safe-area-inset-bottom,0px)}
*{box-sizing:border-box}html{background:var(--bg);color-scheme:dark}body{margin:0;background:radial-gradient(circle at 68% 0,#151b25 0,#090c10 31%,#07090c 68%);color:var(--text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;min-height:100vh}button,input{font:inherit}.app-shell{width:min(1500px,100%);margin:auto;padding:0 26px 110px}.topbar{height:86px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid rgba(255,255,255,.06)}.brand{text-decoration:none;color:#fff;display:flex;gap:16px;align-items:baseline;font-weight:950;letter-spacing:-.04em}.brand-name{font-size:24px}.brand-play{font-size:30px;color:var(--red);font-style:italic}.powered{font-size:10px;color:var(--muted);font-weight:800;letter-spacing:.08em;margin-left:2px}.icon-btn,.mini-btn{width:46px;height:46px;border:1px solid var(--line);background:#0c1117;color:#fff;border-radius:50%;cursor:pointer;font-size:25px}.layout{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:22px;padding-top:22px}.main-column{min-width:0}.player-wrap{position:relative;background:#000;aspect-ratio:16/9;border:1px solid #1a2029;border-radius:20px;overflow:hidden}.yt-player,.yt-player iframe{width:100%;height:100%;display:block}.player-loading{position:absolute;inset:0;display:grid;place-items:center;color:var(--muted);background:linear-gradient(135deg,#0d1117,#060709);font-weight:800;letter-spacing:.05em}.now-playing{display:grid;grid-template-columns:72px minmax(0,1fr) auto;gap:16px;align-items:center;background:linear-gradient(180deg,#10151c,#0c1015);border:1px solid var(--line);border-radius:0 0 var(--radius) var(--radius);padding:16px 18px;margin-top:-1px}.now-cover{width:72px;height:72px;object-fit:cover;border-radius:12px;background:#141922}.now-copy{min-width:0}.eyebrow{display:block;font-size:10px;font-weight:900;letter-spacing:.18em;color:#7f8997;margin-bottom:6px}.now-copy h1,.section-head h2,.upnext-head h2,.search-head h2{margin:0;letter-spacing:-.03em}.now-copy h1{font-size:27px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.now-copy p{margin:5px 0 0;color:var(--muted)}.now-actions{display:flex;gap:9px}.primary-btn,.ghost-btn{min-height:44px;border-radius:12px;padding:0 16px;font-weight:900;letter-spacing:.03em;cursor:pointer}.primary-btn{background:var(--red);color:white;border:0}.ghost-btn{background:#141a22;color:white;border:1px solid #28303c}.vibes-section,.essentials-section{margin-top:28px}.section-head,.upnext-head,.search-head{display:flex;justify-content:space-between;gap:16px;align-items:end;margin-bottom:13px}.section-head h2,.upnext-head h2,.search-head h2{font-size:20px}.muted,.queue-note,.search-status{color:var(--muted);font-size:13px}.vibe-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.vibe-card{min-height:104px;text-align:left;padding:16px;border:1px solid var(--line);border-radius:16px;background:linear-gradient(145deg,#121821,#0c1016);color:#fff;cursor:pointer;transition:.18s ease}.vibe-card strong{font-size:14px;display:block}.vibe-card span{display:block;color:var(--muted);font-size:12px;margin-top:8px;line-height:1.3}.vibe-card.active{border-color:rgba(255,33,79,.75);box-shadow:inset 0 0 0 1px rgba(255,33,79,.28);background:linear-gradient(145deg,rgba(255,33,79,.14),#0b0e13)}@media(hover:hover){.vibe-card:hover,.queue-item:hover,.essential:hover{transform:translateY(-2px);border-color:#364050}.primary-btn:hover{background:#ff3c64}.ghost-btn:hover{background:#1a212b}}
.essentials{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.essential{border:1px solid var(--line);background:#0d1218;border-radius:14px;padding:8px;text-align:left;color:#fff;cursor:pointer;transition:.18s ease;min-width:0}.essential img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:10px;background:#171d26}.essential strong,.essential span{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.essential strong{font-size:12px;margin-top:8px}.essential span{font-size:10px;color:var(--muted);margin-top:3px}.up-next-panel{align-self:start;position:sticky;top:16px;border:1px solid var(--line);background:rgba(10,13,18,.92);backdrop-filter:blur(18px);border-radius:20px;padding:18px}.queue-count{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:#151b23;color:var(--muted);font-size:12px;font-weight:900}.queue{list-style:none;padding:0;margin:0;display:grid;gap:8px}.queue-item{display:grid;grid-template-columns:42px 48px minmax(0,1fr) 26px;align-items:center;gap:9px;width:100%;padding:8px;border:1px solid transparent;border-radius:12px;background:transparent;color:#fff;text-align:left;cursor:pointer;transition:.15s ease}.queue-index{font-size:11px;color:#66707d;text-align:center}.queue-thumb{width:48px;height:48px;object-fit:cover;border-radius:8px;background:#171c24}.queue-copy{min-width:0}.queue-copy strong,.queue-copy span{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.queue-copy strong{font-size:13px}.queue-copy span{font-size:11px;color:var(--muted);margin-top:4px}.queue-play{color:var(--muted);font-size:20px}.queue-note{margin:15px 4px 2px;line-height:1.45}.search-sheet{position:fixed;inset:0;z-index:90;background:rgba(2,4,7,.78);backdrop-filter:blur(14px);padding:18px;overflow:auto}.search-sheet[hidden]{display:none}.search-panel{width:min(760px,100%);margin:8vh auto;background:#0c1117;border:1px solid #29313d;border-radius:22px;padding:20px}.search-form{display:grid;grid-template-columns:1fr auto;gap:10px}.search-form input{min-height:48px;border-radius:12px;border:1px solid #2a3340;background:#080b10;color:#fff;padding:0 15px;font-size:16px;outline:none}.search-form input:focus{border-color:var(--red)}.search-status{margin:12px 2px}.search-results{display:grid;gap:8px}.search-result{display:grid;grid-template-columns:80px minmax(0,1fr) auto;gap:12px;align-items:center;padding:9px;border:1px solid var(--line);background:#0b0f14;border-radius:14px;color:#fff;cursor:pointer;text-align:left}.search-result img{width:80px;height:50px;object-fit:cover;border-radius:8px}.search-result strong,.search-result span{display:block}.search-result span{font-size:12px;color:var(--muted);margin-top:4px}.mini-player{position:fixed;z-index:70;left:20px;right:20px;bottom:calc(16px + var(--safe));margin:auto;width:min(760px,calc(100% - 40px));display:grid;grid-template-columns:48px minmax(0,1fr) 44px 44px;gap:10px;align-items:center;padding:10px;background:rgba(12,16,22,.96);border:1px solid #2a323e;border-radius:18px;backdrop-filter:blur(18px);box-shadow:0 16px 40px rgba(0,0,0,.35)}.mini-player[hidden]{display:none}.mini-player img{width:48px;height:48px;object-fit:cover;border-radius:10px}.mini-copy{min-width:0}.mini-copy strong,.mini-copy span{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mini-copy span{font-size:11px;color:var(--muted);margin-top:3px}.mini-btn{width:42px;height:42px;font-size:18px}.error-toast{position:fixed;z-index:120;top:16px;left:50%;transform:translateX(-50%);background:#191e26;border:1px solid #3b4654;color:#fff;padding:10px 14px;border-radius:12px;font-size:13px}
@media(max-width:1080px){.layout{grid-template-columns:1fr}.up-next-panel{position:static}.essentials{grid-template-columns:repeat(4,minmax(0,1fr))}.vibe-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:720px){.powered{display:none}.app-shell{padding:0 12px 104px}.topbar{height:68px}.brand-name{font-size:18px}.brand-play{font-size:23px}.layout{padding-top:12px;gap:14px}.player-wrap{border-radius:14px}.now-playing{grid-template-columns:58px minmax(0,1fr);padding:12px;border-radius:0 0 14px 14px}.now-cover{width:58px;height:58px}.now-copy h1{font-size:20px}.now-actions{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr}.vibes-section,.essentials-section{margin-top:22px}.section-head{align-items:start}.muted{max-width:150px;text-align:right}.vibe-grid{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:4px}.vibe-card{min-width:180px;scroll-snap-align:start}.essentials{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.up-next-panel{padding:14px;border-radius:16px}.queue-item{grid-template-columns:30px 46px minmax(0,1fr) 22px;padding:7px 2px}.search-panel{margin:2vh auto;padding:15px}.search-form{grid-template-columns:1fr}.search-result{grid-template-columns:70px minmax(0,1fr)}.search-result .primary-btn{grid-column:1/-1}.mini-player{left:10px;right:10px;bottom:calc(10px + var(--safe));width:calc(100% - 20px)}}
@media(max-width:410px){.essentials{grid-template-columns:repeat(2,minmax(0,1fr))}.now-actions{grid-template-columns:1fr}.muted{display:none}}
/* PLAY v2 dynamic queue */
@media(min-width:1081px){.up-next-panel{max-height:calc(100vh - 32px);overflow:auto;scrollbar-width:thin}.queue{gap:5px}.queue-item{padding:6px}.queue-thumb{width:44px;height:44px}.queue-item{grid-template-columns:32px 44px minmax(0,1fr) 22px}}

/* PLAY v3 moods */
.vibe-card{min-height:92px}.vibe-card strong{font-size:15px}.vibe-card.active strong{letter-spacing:.02em}
@media(max-width:720px){.vibe-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));overflow:visible}.vibe-card{min-width:0;min-height:88px;padding:13px}.vibe-card span{font-size:10px}}


/* ===== PLAY v3.1 FINAL VISUAL PASS — 2026-09-28 ===== */
/* Visual-only refinement. Dynamic engine and 10-track queue are preserved. */
.layout{padding-top:30px;align-items:start}
.now-playing{padding:13px 15px;gap:13px}
.now-cover{width:64px;height:64px}
.now-copy h1{font-size:24px}
.now-actions{gap:7px}
.now-actions .primary-btn,.now-actions .ghost-btn{min-height:38px;padding:0 13px;border-radius:10px;font-size:11px;letter-spacing:.055em}
.vibes-section{margin-top:22px}
.vibe-grid{gap:8px}
.vibe-card{min-height:72px;padding:11px 13px;border-radius:13px}
.vibe-card strong{font-size:12px;letter-spacing:.045em}
.vibe-card span{font-size:10.5px;margin-top:5px}
.up-next-panel{padding:15px;border-radius:17px}
.upnext-head{margin-bottom:7px}
.queue{gap:3px}
.queue li.queue-extra{display:none}
.queue.is-expanded li.queue-extra{display:list-item}
.queue-item{grid-template-columns:27px 38px minmax(0,1fr) 18px;gap:7px;padding:5px 3px;border-radius:10px}
.queue-thumb{width:38px;height:38px;border-radius:7px}
.queue-copy strong{font-size:12px}
.queue-copy span{font-size:10px;margin-top:2px}
.queue-play{font-size:17px}
.queue-toggle{width:100%;min-height:36px;margin:8px 0 0;border:1px solid #242d38;border-radius:10px;background:#0c1117;color:#c4ccd6;font-size:10px;font-weight:900;letter-spacing:.08em;cursor:pointer}
.queue-toggle[hidden]{display:none}
.queue-note{margin:10px 3px 1px;font-size:10.5px;line-height:1.35}
.essentials-below-fold{margin-top:64px}
.essentials-below-fold .section-head{margin-bottom:14px}
@media(min-width:1081px){
  .up-next-panel{max-height:none;overflow:visible;top:14px}
  .essentials-below-fold{margin-top:72px}
}
@media(max-width:1080px){
  .layout{gap:16px;padding-top:24px}
  .up-next-panel{order:2}
  .essentials-below-fold{margin-top:54px}
}
@media(max-width:720px){
  .app-shell{padding-left:10px;padding-right:10px}
  .layout{padding-top:18px;gap:12px}
  .now-playing{grid-template-columns:52px minmax(0,1fr);padding:10px 11px;gap:10px}
  .now-cover{width:52px;height:52px;border-radius:9px}
  .now-copy h1{font-size:18px}
  .now-copy p{font-size:12px;margin-top:3px}
  .now-actions{gap:6px}
  .now-actions .primary-btn,.now-actions .ghost-btn{min-height:35px;padding:0 10px;font-size:10px}
  .vibes-section{margin-top:18px}
  .vibes-section .section-head{margin-bottom:9px}
  .vibe-grid{gap:6px}
  .vibe-card{min-height:62px;padding:9px 8px;border-radius:11px}
  .vibe-card strong{font-size:10.5px}
  .vibe-card span{font-size:8.5px;line-height:1.2;margin-top:4px}
  .up-next-panel{padding:11px;border-radius:14px}
  .upnext-head{margin-bottom:5px}
  .queue{gap:2px}
  .queue-item{grid-template-columns:23px 36px minmax(0,1fr) 17px;gap:6px;padding:4px 2px}
  .queue-thumb{width:36px;height:36px}
  .queue-copy strong{font-size:11.5px}
  .queue-copy span{font-size:9.5px}
  .queue-toggle{min-height:34px;margin-top:7px;font-size:9.5px}
  .queue-note{font-size:9.5px;margin-top:8px}
  .essentials-below-fold{margin-top:52px}
  .essentials-below-fold .section-head{margin-bottom:10px}
}
@media(max-width:410px){
  .vibe-card span{display:none}
  .vibe-card{min-height:48px;display:grid;place-items:center;text-align:center;padding:7px 5px}
  .now-actions{grid-template-columns:1fr 1fr}
  .essentials-below-fold{margin-top:46px}
}

/* Match approved session flow: mood first, compact actions immediately below. */
.now-playing{grid-template-columns:64px minmax(0,1fr)}
.session-actions{margin-top:8px;display:grid;grid-template-columns:minmax(0,1.35fr) minmax(112px,.65fr);gap:8px}
.session-actions .primary-btn,.session-actions .ghost-btn{width:100%}
@media(max-width:720px){
  .now-playing{grid-template-columns:52px minmax(0,1fr)}
  .session-actions{grid-column:auto;margin-top:7px;grid-template-columns:minmax(0,1.4fr) minmax(96px,.6fr);gap:6px}
}
@media(max-width:410px){.session-actions{grid-template-columns:minmax(0,1.35fr) minmax(88px,.65fr)}}

/* ===== PLAY v4 APPROVED PASS — 2026-09-29 ===== */
:root{--active-red:#ff315d;--active-deep:#7d0c2b}
.vibes-section{margin-top:16px}
.vibes-section .section-head{margin-bottom:7px;align-items:center}
.vibes-section .section-head .eyebrow{margin-bottom:3px}
.vibes-section .section-head h2{font-size:18px}
.vibe-grid{gap:7px}
.vibe-card{min-height:60px;padding:9px 11px}
.vibe-card.active{border-color:rgba(255,64,103,.92);background:linear-gradient(135deg,rgba(255,49,93,.34),rgba(125,12,43,.34) 55%,#0b0e13);box-shadow:inset 0 0 0 1px rgba(255,80,118,.24),0 0 22px rgba(255,33,79,.10)}
.mood-retap{margin:7px 2px 0;color:#7f8997;font-size:10.5px;line-height:1.3}
.session-actions{display:flex;justify-content:flex-start;gap:6px;margin-top:7px}
.session-actions .primary-btn,.session-actions .ghost-btn{width:auto!important;min-width:94px;min-height:32px!important;padding:0 11px!important;font-size:9.5px!important;border-radius:9px!important}
.weekly-feature{margin-bottom:12px;padding:11px;border:1px solid #242c37;border-radius:13px;background:linear-gradient(145deg,#111721,#0b0f14)}
.weekly-label{font-size:9px;font-weight:950;letter-spacing:.17em;color:#ff315d;margin:0 0 8px}
.weekly-track{width:100%;display:grid;grid-template-columns:58px minmax(0,1fr) auto;align-items:center;gap:9px;padding:0;border:0;background:transparent;color:#fff;text-align:left;cursor:pointer}
.weekly-track img{width:58px;height:58px;object-fit:cover;border-radius:9px;background:#171d26}
.weekly-copy{min-width:0}.weekly-copy strong,.weekly-copy span{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.weekly-copy strong{font-size:13px}.weekly-copy span{font-size:10.5px;color:var(--muted);margin-top:4px}.weekly-play{font-size:8.5px;font-weight:950;letter-spacing:.08em;color:#ff5577}
.weekly-follow{display:block;margin-top:8px;text-align:right;color:#7f8997;text-decoration:none;font-size:8.5px;font-weight:900;letter-spacing:.08em}
@media(min-width:1081px){
  .layout{grid-template-columns:minmax(0,1fr) 390px}
  .up-next-panel{max-height:calc(100vh - 28px);overflow:auto;scrollbar-width:thin}
  .queue li.queue-extra{display:list-item}
  .queue li:nth-child(n+11){display:none}
  .queue.is-expanded li:nth-child(n+11){display:list-item}
  .queue-item{grid-template-columns:26px 54px minmax(0,1fr) 18px;gap:8px;padding:5px 3px}
  .queue-thumb{width:54px;height:54px;border-radius:8px}
  .queue-copy strong{font-size:12.5px}.queue-copy span{font-size:10.5px}
  .queue-note{margin-top:8px}
}
@media(max-width:1080px){.weekly-feature{display:none}}
@media(max-width:720px){
  .vibes-section{margin-top:12px}
  .vibes-section .section-head{margin-bottom:6px}
  .vibes-section .section-head h2{font-size:16px}
  .vibe-card{min-height:52px;padding:8px 6px}
  .mood-retap{margin-top:5px;font-size:9.5px}
  .session-actions{margin-top:5px;gap:5px}
  .session-actions .primary-btn,.session-actions .ghost-btn{min-width:82px;min-height:30px!important;padding:0 9px!important;font-size:8.8px!important}
  .up-next-panel{width:min(94%,520px);margin:0 auto;padding:10px 10px 9px}
  .queue{gap:1px}
  .queue-item{grid-template-columns:22px 42px minmax(0,1fr) 16px;gap:7px;padding:4px 2px}
  .queue-thumb{width:42px;height:42px}
  .queue-copy strong{font-size:12px}.queue-copy span{font-size:10px}
  .queue-toggle{margin-top:5px;min-height:31px}
  .queue-note{margin-top:6px}
}

/* ===== PLAY v4.3 FLUID FINAL PASS — 2026-09-30 ===== */
/* Fluid viewport sizing while preserving the approved dark/red PLAY identity. */
:root{--shell-x:clamp(10px,2vw,34px);--panel-gap:clamp(12px,1.45vw,26px)}
.app-shell{width:min(1680px,100%);padding-left:var(--shell-x);padding-right:var(--shell-x)}
.layout{grid-template-columns:minmax(0,1fr) clamp(390px,27vw,448px);gap:var(--panel-gap);padding-top:clamp(18px,2vw,32px)}
.player-wrap{border-radius:clamp(14px,1.2vw,22px)}
.now-playing{grid-template-columns:clamp(58px,4.5vw,74px) minmax(0,1fr);padding:clamp(11px,1vw,16px) clamp(12px,1.15vw,18px);gap:clamp(10px,1vw,16px)}
.now-cover{width:clamp(58px,4.5vw,74px);height:clamp(58px,4.5vw,74px)}
.now-copy h1{font-size:clamp(20px,1.75vw,29px)}
.vibes-section{margin-top:clamp(12px,1.25vw,19px)}
.vibe-grid{gap:clamp(6px,.65vw,10px)}
.vibe-card{min-height:clamp(54px,4.4vw,70px);padding:clamp(8px,.75vw,12px) clamp(8px,.9vw,14px)}
.vibe-card strong{font-size:clamp(10.5px,.8vw,13px)}
.vibe-card span{font-size:clamp(8.8px,.69vw,11px)}
.session-actions .primary-btn,.session-actions .ghost-btn{min-height:clamp(30px,2.2vw,35px)!important;font-size:clamp(8.8px,.65vw,10px)!important}
.up-next-panel{padding:clamp(12px,1.15vw,18px);border-radius:clamp(14px,1.15vw,20px)}
.weekly-track{grid-template-columns:clamp(58px,4.25vw,68px) minmax(0,1fr) auto}
.weekly-track img{width:clamp(58px,4.25vw,68px);height:clamp(58px,4.25vw,68px)}
.queue{gap:clamp(2px,.25vw,5px)}
.queue-item{grid-template-columns:26px clamp(54px,4vw,64px) minmax(0,1fr) 20px;gap:clamp(7px,.6vw,10px);padding:clamp(4px,.38vw,6px) 3px}
.queue-thumb{width:clamp(54px,4vw,64px);height:clamp(54px,4vw,64px);border-radius:9px}
.queue-copy strong{font-size:clamp(12px,.8vw,13.5px)}
.queue-copy span{font-size:clamp(10px,.68vw,11.5px)}
.essentials-below-fold{margin-top:clamp(44px,4vw,72px)}
.essentials{grid-template-columns:repeat(auto-fit,minmax(138px,1fr));gap:clamp(8px,.8vw,13px)}
.essential strong{font-size:clamp(11.5px,.75vw,13px)}
.essential span{font-size:clamp(9.5px,.65vw,11px)}

/* Search: compact result action, larger art, readable 1–2 line title. */
.search-panel{width:min(820px,100%);padding:clamp(15px,1.5vw,24px)}
.search-results{gap:9px}
.search-result{grid-template-columns:clamp(92px,9vw,122px) minmax(0,1fr) auto;gap:clamp(10px,1vw,15px);padding:9px 10px;border-radius:14px}
.search-result img{width:clamp(92px,9vw,122px);height:clamp(58px,5.6vw,76px);border-radius:9px}
.search-result strong{font-size:clamp(13px,1vw,15px);line-height:1.28;white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.search-result .search-meta{font-size:clamp(10.5px,.78vw,12px);color:var(--muted);margin-top:5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.search-play{display:inline-grid;place-items:center;min-width:62px;min-height:32px;padding:0 12px;border-radius:9px;background:var(--red);color:#fff;font-size:9.5px;font-weight:950;letter-spacing:.07em}
.search-result:hover .search-play{background:#ff3c64}

@media(min-width:1081px){
  .up-next-panel{max-height:calc(100vh - 24px);overflow:auto;top:12px}
  .queue li.queue-extra{display:list-item}
  .queue li:nth-child(n+11){display:none}
  .queue.is-expanded li:nth-child(n+11){display:list-item}
}
@media(max-width:1080px){
  .layout{grid-template-columns:1fr;gap:clamp(12px,2vw,18px)}
  .up-next-panel{position:static;max-height:none;overflow:visible;width:min(100%,760px);margin-inline:auto}
  .essentials{grid-template-columns:repeat(4,minmax(0,1fr))}
}
@media(max-width:720px){
  .app-shell{padding-left:clamp(8px,2.6vw,12px);padding-right:clamp(8px,2.6vw,12px);padding-bottom:96px}
  .topbar{height:clamp(62px,16vw,68px)}
  .layout{padding-top:clamp(10px,3vw,16px);gap:10px}
  .player-wrap{border-radius:13px}
  .now-playing{grid-template-columns:clamp(50px,14vw,58px) minmax(0,1fr);padding:9px 10px;gap:9px}
  .now-cover{width:clamp(50px,14vw,58px);height:clamp(50px,14vw,58px)}
  .now-copy h1{font-size:clamp(17px,5vw,20px)}
  .vibes-section{margin-top:11px}
  .vibes-section .section-head{margin-bottom:5px}
  .vibe-grid{gap:5px}
  .vibe-card{min-height:clamp(48px,14vw,56px);padding:7px 5px}
  .vibe-card strong{font-size:clamp(9.5px,2.8vw,11px)}
  .vibe-card span{font-size:clamp(7.8px,2.2vw,9px);margin-top:3px}
  .mood-retap{margin-top:4px;font-size:9px}
  .session-actions{margin-top:5px}
  .up-next-panel{width:100%;padding:10px 9px 8px;margin-top:0}
  .upnext-head{margin-bottom:4px}
  .queue{gap:1px}
  .queue-item{grid-template-columns:22px clamp(54px,16vw,62px) minmax(0,1fr) 18px;gap:8px;padding:4px 2px}
  .queue-thumb{width:clamp(54px,16vw,62px);height:clamp(54px,16vw,62px)}
  .queue-copy strong{font-size:clamp(12px,3.4vw,13px)}
  .queue-copy span{font-size:clamp(9.5px,2.7vw,10.5px)}
  .queue-toggle{margin-top:4px;min-height:31px}
  .queue-note{margin:5px 2px 0}
  .essentials-below-fold{margin-top:clamp(34px,9vw,46px)}
  .essentials{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
  .search-sheet{padding:8px}
  .search-panel{margin:1.5vh auto;padding:13px;border-radius:17px}
  .search-form{grid-template-columns:minmax(0,1fr) auto;gap:7px}
  .search-form input{min-height:44px;padding:0 12px}
  .search-form .primary-btn{min-height:44px;padding:0 13px}
  .search-result{grid-template-columns:86px minmax(0,1fr) auto;gap:9px;padding:8px}
  .search-result img{width:86px;height:56px}
  .search-play{min-width:52px;min-height:30px;padding:0 9px;font-size:8.8px}
}
@media(max-width:470px){
  .search-result{grid-template-columns:82px minmax(0,1fr) auto}
  .search-result img{width:82px;height:54px}
  .search-play{min-width:48px;padding:0 7px}
}
@media(max-width:390px){
  .powered{display:none}
  .vibe-card span{display:none}
  .vibe-card{min-height:45px;display:grid;place-items:center;text-align:center}
  .essentials{grid-template-columns:repeat(2,minmax(0,1fr))}
  .search-form{grid-template-columns:1fr}
  .search-form .primary-btn{width:100%}
  .search-result{grid-template-columns:76px minmax(0,1fr) auto;gap:7px}
  .search-result img{width:76px;height:50px}
}


/* ===== PLAY v4.4 FULL-VIEWPORT + PLAYER CONTROLS — 2026-09-30 ===== */
/* The viewport drives PLAY: no desktop max-width shell. */
.app-shell{width:100%;max-width:none;margin:0;padding-left:clamp(12px,1.35vw,28px);padding-right:clamp(12px,1.35vw,28px)}
@media(min-width:1081px){
  .layout{grid-template-columns:minmax(0,1fr) clamp(390px,25vw,470px);gap:clamp(14px,1.25vw,26px)}
}
.player-controls{position:absolute;z-index:8;inset:0;display:flex;align-items:center;justify-content:center;gap:clamp(18px,3vw,48px);pointer-events:none;opacity:0;transition:opacity .18s ease;background:linear-gradient(90deg,transparent 22%,rgba(0,0,0,.08) 50%,transparent 78%)}
.player-wrap:hover .player-controls,.player-wrap:focus-within .player-controls,.player-controls.is-visible{opacity:1}
.player-control{pointer-events:auto;display:grid;place-items:center;border:1px solid rgba(255,255,255,.24);background:rgba(8,11,16,.64);color:#fff;border-radius:50%;cursor:pointer;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);box-shadow:0 8px 24px rgba(0,0,0,.24)}
.player-control-side{width:clamp(46px,4vw,62px);height:clamp(46px,4vw,62px);font-size:clamp(15px,1.3vw,20px)}
.player-control-main{width:clamp(66px,5.5vw,88px);height:clamp(66px,5.5vw,88px);font-size:clamp(24px,2vw,32px);border-color:rgba(255,33,79,.78);box-shadow:0 0 0 2px rgba(255,33,79,.16),0 10px 28px rgba(0,0,0,.28)}
.player-control:focus-visible,.mini-btn:focus-visible{outline:2px solid var(--red);outline-offset:3px}
.mini-player{grid-template-columns:48px minmax(0,1fr) 42px 46px 42px;width:min(820px,calc(100% - 40px))}
.mini-btn-main{border-color:rgba(255,33,79,.72);box-shadow:inset 0 0 0 1px rgba(255,33,79,.14)}
@media(max-width:1080px){.app-shell{padding-left:clamp(9px,2vw,18px);padding-right:clamp(9px,2vw,18px)}}
@media(max-width:720px){
  .app-shell{padding-left:clamp(5px,1.7vw,8px);padding-right:clamp(5px,1.7vw,8px)}
  .player-controls{gap:clamp(14px,6vw,28px)}
  .player-control-side{width:48px;height:48px;font-size:15px}
  .player-control-main{width:68px;height:68px;font-size:25px}
  .mini-player{left:6px;right:6px;width:calc(100% - 12px);grid-template-columns:44px minmax(0,1fr) 38px 42px 38px;gap:6px;padding:8px}
  .mini-player img{width:44px;height:44px}.mini-btn{width:38px;height:38px}.mini-btn-main{width:42px;height:42px}
}
@media(max-width:390px){.mini-copy span{display:none}.mini-player{grid-template-columns:40px minmax(0,1fr) 36px 40px 36px}.mini-player img{width:40px;height:40px}.mini-btn{width:36px;height:36px}.mini-btn-main{width:40px;height:40px}}
@media(hover:none){.player-controls{opacity:1;background:none}}

/* ===== PLAY v4.5 CLEAN DESKTOP STAGE — 2026-09-30 ===== */
/* Keep the shell full-viewport, but stop the YouTube stage from dominating wide monitors. */
@media(min-width:1081px){
  :root{--play-stage-width:min(100%,clamp(980px,55vw,1160px))}
  .layout{grid-template-columns:minmax(0,1fr) clamp(420px,25vw,500px);gap:clamp(18px,1.35vw,28px)}
  .player-wrap,.now-playing,.vibes-section{width:var(--play-stage-width);margin-left:auto;margin-right:auto}
  .player-wrap{border:0;border-radius:14px 14px 0 0;box-shadow:none}
  .now-playing{margin-top:0;border:0;border-top:1px solid rgba(255,255,255,.045);border-radius:0 0 14px 14px;background:linear-gradient(180deg,rgba(15,20,27,.92),rgba(10,14,19,.92));padding-top:12px;padding-bottom:12px}
  .up-next-panel{border-color:rgba(255,255,255,.075);border-radius:14px;background:rgba(9,12,17,.82);box-shadow:none}
  .player-controls{background:radial-gradient(circle at center,rgba(0,0,0,.16),transparent 38%)}
}
@media(min-width:1800px){
  :root{--play-stage-width:min(100%,clamp(1040px,55vw,1180px))}
}

/* ===== PLAY v4.6 SPACING SYSTEM — 2026-09-30 ===== */
/* One spacing rhythm across desktop/tablet/mobile. No layout redesign. */
:root{
  --play-page-x:clamp(12px,1.15vw,24px);
  --play-top-gap:clamp(14px,1vw,20px);
  --play-column-gap:clamp(14px,1.05vw,20px);
  --play-section-gap:clamp(10px,.8vw,14px);
  --play-tight-gap:clamp(5px,.45vw,8px);
}
.app-shell{padding-left:var(--play-page-x);padding-right:var(--play-page-x)}
.topbar{height:clamp(70px,5vw,78px)}
.layout{padding-top:var(--play-top-gap);gap:var(--play-column-gap)}
.now-playing{padding:10px 13px;gap:11px}
.now-cover{width:60px;height:60px}
.now-copy .eyebrow{margin-bottom:4px}
.now-copy h1{font-size:clamp(20px,1.5vw,26px)}
.now-copy p{margin-top:3px}
.vibes-section{margin-top:var(--play-section-gap)}
.vibes-section .section-head{margin-bottom:var(--play-tight-gap)}
.vibe-grid{gap:var(--play-tight-gap)}
.mood-retap{margin-top:4px}
.session-actions{margin-top:5px}
.up-next-panel{padding:14px}
.weekly-feature{margin-bottom:10px;padding:10px}
.upnext-head{margin-bottom:6px}
.queue{gap:2px}
.queue-item{padding-top:4px;padding-bottom:4px}
.queue-note{margin-top:6px}
.essentials-below-fold{margin-top:clamp(34px,2.6vw,48px)}

@media(min-width:1081px){
  .layout{gap:var(--play-column-gap)}
  .player-wrap,.now-playing,.vibes-section{margin-left:0;margin-right:auto}
  .up-next-panel{top:var(--play-top-gap);max-height:calc(100vh - (var(--play-top-gap) * 2))}
}

@media(max-width:1080px){
  :root{--play-page-x:clamp(9px,2vw,16px);--play-top-gap:clamp(10px,1.8vw,15px);--play-section-gap:10px}
  .topbar{height:66px}
  .layout{gap:12px}
  .now-playing{padding:9px 11px}
  .up-next-panel{padding:11px}
}

@media(max-width:720px){
  :root{--play-page-x:clamp(5px,1.7vw,8px);--play-top-gap:8px;--play-section-gap:9px;--play-tight-gap:5px}
  .topbar{height:62px}
  .layout{padding-top:8px;gap:9px}
  .now-playing{padding:8px 9px;gap:8px}
  .now-cover{width:52px;height:52px}
  .now-copy h1{font-size:clamp(17px,4.8vw,20px)}
  .vibes-section{margin-top:9px}
  .up-next-panel{padding:9px 8px 8px}
  .upnext-head{margin-bottom:3px}
  .queue{gap:0}
  .queue-item{padding-top:3px;padding-bottom:3px}
  .essentials-below-fold{margin-top:30px}
}

/* ===== PLAY v4.6 COMPLIANT PLAYER CONTROL DECK — 2026-09-30 ===== */
/* Custom controls live directly below the YouTube player, never over the iframe. */
.player-controls{
  position:relative;
  z-index:2;
  inset:auto;
  width:100%;
  min-height:50px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:clamp(14px,2vw,26px);
  padding:6px 10px;
  margin:0;
  pointer-events:auto;
  opacity:1;
  background:linear-gradient(180deg,rgba(12,16,22,.98),rgba(10,14,19,.98));
  border:0;
  border-top:1px solid rgba(255,255,255,.045);
  border-bottom:1px solid rgba(255,255,255,.045);
  transition:none;
}
.player-wrap:hover .player-controls,.player-wrap:focus-within .player-controls,.player-controls.is-visible{opacity:1}
.player-control{
  width:38px;
  height:38px;
  border:0;
  background:transparent;
  box-shadow:none;
  backdrop-filter:none;
  -webkit-backdrop-filter:none;
  color:#f4f6f8;
  opacity:.88;
  transition:background .16s ease,opacity .16s ease,transform .16s ease;
}
.player-control-side{width:38px;height:38px;font-size:13px}
.player-control-main{width:42px;height:42px;font-size:20px;border:1px solid rgba(255,33,79,.58);background:rgba(255,33,79,.08);box-shadow:none}
@media(hover:hover){.player-control:hover{background:rgba(255,255,255,.06);opacity:1;transform:translateY(-1px)}.player-control-main:hover{background:rgba(255,33,79,.16)}}
@media(hover:none){.player-controls{opacity:1;background:linear-gradient(180deg,rgba(12,16,22,.98),rgba(10,14,19,.98))}}
@media(min-width:1081px){
  .player-wrap,.player-controls,.now-playing,.vibes-section{width:var(--play-stage-width);margin-left:0;margin-right:auto}
  .player-wrap{border-radius:14px 14px 0 0}
  .now-playing{border-radius:0 0 14px 14px}
}
@media(max-width:720px){
  .player-controls{min-height:46px;padding:4px 8px;gap:clamp(16px,8vw,30px)}
  .player-control-side{width:36px;height:36px;font-size:12px}
  .player-control-main{width:40px;height:40px;font-size:19px}
}
.player-wrap{border-radius:14px 14px 0 0}
.now-playing{border-radius:0 0 14px 14px}

/* ===== PLAY v4.7 YOUTUBE-REFERENCE DESKTOP COMPOSITION — 2026-09-30 ===== */
/* Keep PLAY full-viewport, but compose the desktop stage like a video platform:
   one continuous player + queue unit, with a small responsive gutter. */
@media(min-width:1081px){
  :root{
    --play-column-gap:clamp(16px,1.05vw,22px);
    --play-queue-width:clamp(410px,29vw,500px);
  }
  .layout{
    grid-template-columns:minmax(0,1fr) var(--play-queue-width);
    column-gap:var(--play-column-gap);
    row-gap:0;
    width:100%;
  }
  .main-column{width:100%;min-width:0}
  .player-wrap,
  .player-controls,
  .now-playing,
  .vibes-section{
    width:100%;
    max-width:none;
    margin-left:0;
    margin-right:0;
  }
  .up-next-panel{
    width:100%;
    margin:0;
    align-self:start;
  }
}

/* On very wide monitors, let both columns grow naturally instead of creating
   a dead zone between them. The queue stays readable while the player gets
   the additional room. */
@media(min-width:1800px){
  :root{--play-queue-width:clamp(440px,28vw,520px)}
}

/* PLAY v4.8 — 2026-10-01 final design pass */
@media(min-width:1081px){.up-next-panel{max-height:none!important;overflow:visible!important;position:static!important}.layout{align-items:start}}
.now-playing{display:none!important}

/* ===== PLAY v4.9.2 FINAL — visible compact mood bar ===== */
@media(min-width:1081px){
  .vibes-section{
    margin-top:6px!important;
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    align-items:center;
    gap:8px;
  }
  .vibes-section .section-head,
  .vibes-section .mood-retap{display:none!important}
  .vibe-grid{
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:6px!important;
    min-width:0;
  }
  .vibe-card{
    min-height:38px!important;
    height:38px;
    padding:0 12px!important;
    display:flex!important;
    align-items:center;
    justify-content:center;
    text-align:center;
    border-radius:10px!important;
    background:linear-gradient(180deg,#111720,#0d1218)!important;
    border-color:#29313c!important;
  }
  .vibe-card strong{font-size:10.5px!important;letter-spacing:.08em}
  .vibe-card span{display:none!important}
  .vibe-card.active{
    color:#fff;
    border-color:rgba(255,49,93,.95)!important;
    background:linear-gradient(180deg,rgba(255,49,93,.28),rgba(112,11,40,.24))!important;
    box-shadow:inset 0 0 0 1px rgba(255,75,112,.18),0 0 14px rgba(255,33,79,.08)!important;
  }
  .session-actions{
    margin-top:0!important;
    display:flex!important;
    gap:6px!important;
    white-space:nowrap;
  }
  .session-actions .primary-btn,
  .session-actions .ghost-btn{
    min-height:38px!important;
    height:38px;
    min-width:96px!important;
    padding:0 12px!important;
    border-radius:10px!important;
    font-size:9px!important;
  }
}

/* ===== PLAY v4.9.3 FINAL — stable desktop stage, no width-driven player responsive ===== */
@media(min-width:1081px){
  /* Desktop player height is no longer derived from 16:9 width.
     This keeps player + controls + moods inside the first viewport. */
  .player-wrap{
    aspect-ratio:auto!important;
    height:clamp(500px,calc(100vh - 205px),680px)!important;
    min-height:0!important;
  }
  .yt-player,.yt-player iframe{
    width:100%!important;
    height:100%!important;
  }
  .main-column{min-height:0}
}


/* ===== PLAY v5.0 TEST — MOOD-FIRST + DISCOVERY — 2026-10-02 ===== */
:root{--flow:#2f9bff;--actitud:#25d47a}
.player-controls{display:none!important}
.vibes-section{display:block!important;margin-top:12px!important;width:100%!important}
.mood-heading{text-align:center;margin:0 0 12px}.mood-heading .eyebrow{margin-bottom:5px}.mood-heading h2{margin:0;font-size:clamp(30px,3.2vw,48px);letter-spacing:-.045em;line-height:.95}.mood-heading h2 span{color:var(--red)}.mood-heading p{margin:8px 0 0;color:var(--muted);font-size:12px;letter-spacing:.08em}
.vibe-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important;overflow:visible!important}
.vibe-card{min-width:0!important;height:auto!important;min-height:76px!important;padding:0 18px!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:12px;text-align:center!important;border-radius:16px!important;background:linear-gradient(180deg,#111823,#0b1017)!important;border:1px solid #2a3441!important;box-shadow:none!important}
.vibe-card .vibe-icon{font-size:24px;line-height:1}.vibe-card strong{font-size:clamp(16px,1.4vw,20px)!important;letter-spacing:.02em!important}.vibe-card span:not(.vibe-icon){display:none!important}
.vibe-party.active{border-color:var(--red)!important;background:linear-gradient(145deg,rgba(255,33,79,.34),rgba(104,10,38,.26))!important;box-shadow:0 0 24px rgba(255,33,79,.16),inset 0 0 0 1px rgba(255,82,117,.22)!important}
.vibe-flow.active{border-color:var(--flow)!important;background:linear-gradient(145deg,rgba(47,155,255,.27),rgba(8,46,90,.25))!important;box-shadow:0 0 24px rgba(47,155,255,.12)!important}
.vibe-actitud.active{border-color:var(--actitud)!important;background:linear-gradient(145deg,rgba(37,212,122,.24),rgba(8,75,43,.22))!important;box-shadow:0 0 24px rgba(37,212,122,.10)!important}
.mood-lower{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:10px}.mood-status{margin:0;color:var(--muted);font-size:14px}.mood-status strong{color:var(--red);letter-spacing:.03em}.session-actions{display:flex!important;gap:8px!important;margin:0!important}.session-actions .primary-btn,.session-actions .ghost-btn{height:40px!important;min-height:40px!important;min-width:0!important;padding:0 16px!important;border-radius:11px!important;font-size:10px!important;letter-spacing:.055em!important}
.queue-toggle{display:block;width:100%;margin-top:8px;border:0;border-top:1px solid rgba(255,255,255,.07);background:transparent;color:var(--red);font-weight:900;letter-spacing:.04em;padding:12px 0 2px;cursor:pointer}.queue-toggle[hidden]{display:none}.queue-extra{display:none}.queue.is-expanded .queue-extra{display:list-item}.queue-note{display:none}
.discovery-section{margin-top:34px;padding:0 0 12px}.discovery-head{margin-bottom:12px}.discovery-head .eyebrow{display:none}.discovery-head h2{margin:0;font-size:28px;letter-spacing:-.035em}.discovery-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.discovery-card{position:relative;min-height:160px;border:1px solid #26303c;border-radius:18px;padding:18px;text-align:left;color:#fff;cursor:pointer;overflow:hidden;background:linear-gradient(145deg,#141a24,#090d13)}.discovery-card:before{content:"";position:absolute;inset:0;opacity:.75;pointer-events:none}.discovery-new:before{background:radial-gradient(circle at 18% 18%,rgba(255,33,79,.56),transparent 46%)}.discovery-bachata:before{background:radial-gradient(circle at 78% 22%,rgba(44,124,255,.45),transparent 48%)}.discovery-urbano:before{background:radial-gradient(circle at 68% 70%,rgba(129,54,255,.42),transparent 50%)}.discovery-tropical:before{background:radial-gradient(circle at 72% 20%,rgba(255,126,35,.50),transparent 48%)}.discovery-card>*{position:relative;z-index:1;display:block}.discovery-kicker{font-size:9px;letter-spacing:.13em;color:#c8d0dc;font-weight:800}.discovery-card strong{font-size:21px;margin-top:62px}.discovery-card>span:last-child{font-size:11px;color:#c3cad4;margin-top:4px}
.search-panel{width:min(920px,100%);border-color:#3a3140;box-shadow:0 24px 80px rgba(0,0,0,.55),0 0 36px rgba(255,33,79,.08)}.search-head{align-items:center}.search-form input{min-height:54px}.search-form .primary-btn{min-width:150px;font-size:13px;letter-spacing:.05em}.search-result{grid-template-columns:96px minmax(0,1fr) auto;min-height:82px;padding:10px 12px;border-color:#252e3a}.search-result img{width:96px;height:60px}.search-result strong{font-size:15px}.search-play{display:inline-flex;align-items:center;justify-content:center;min-width:132px;height:44px;border:1px solid var(--red);border-radius:999px;color:#fff;font-size:11px;font-weight:950;letter-spacing:.045em;background:rgba(255,33,79,.08)}.search-more{display:block;margin:18px auto 0;border:1px solid #35404d;background:#111720;color:#fff;border-radius:999px;min-height:42px;padding:0 24px;font-weight:900;font-size:11px;letter-spacing:.05em;cursor:pointer}.search-more[hidden]{display:none}
@media(min-width:1081px){.player-wrap{height:clamp(420px,calc(100vh - 300px),560px)!important}.layout{grid-template-columns:minmax(0,1fr) clamp(390px,28vw,480px)}.up-next-panel{padding:14px 16px}.queue-item{padding-top:6px;padding-bottom:6px}.main-column{align-self:start}}
@media(max-width:1080px){.discovery-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){
  .topbar{height:58px}.layout{padding-top:7px}.player-wrap{aspect-ratio:16/9!important;height:auto!important;border-radius:14px!important}
  .vibes-section{margin-top:12px!important}.mood-heading{text-align:left;margin-bottom:10px}.mood-heading h2{font-size:clamp(30px,9vw,38px)}.mood-heading p{display:none}
  .vibe-grid{gap:6px!important}.vibe-card{min-height:68px!important;padding:0 8px!important;gap:6px;border-radius:14px!important}.vibe-card .vibe-icon{font-size:17px}.vibe-card strong{font-size:13px!important}
  .mood-lower{display:block;margin-top:8px}.mood-status{font-size:12px;margin:0 0 9px}.session-actions{justify-content:space-between!important}.session-actions .primary-btn,.session-actions .ghost-btn{height:38px!important;min-height:38px!important;padding:0 13px!important;font-size:9px!important}.session-actions .ghost-btn{flex:0 1 auto}.session-actions .primary-btn{flex:0 0 112px}
  .up-next-panel{margin-top:2px}.upnext-head h2{font-size:28px}.queue-item{grid-template-columns:24px 56px minmax(0,1fr) 18px;padding:7px 2px}.queue-thumb{width:56px;height:56px}.queue-copy strong{font-size:13px}.queue-copy span{font-size:11px}
  .discovery-section{margin-top:14px}.discovery-head h2{font-size:23px}.discovery-cards{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:8px;padding-bottom:5px}.discovery-card{flex:0 0 44vw;min-height:138px;padding:14px;scroll-snap-align:start}.discovery-card strong{font-size:17px;margin-top:48px}.discovery-card>span:last-child{font-size:10px}
  .search-sheet{padding:8px}.search-panel{margin:3vh auto;padding:14px;border-radius:18px}.search-form{grid-template-columns:minmax(0,1fr) auto}.search-form .primary-btn{min-width:105px;padding:0 13px}.search-result{grid-template-columns:64px minmax(0,1fr) auto;gap:9px;min-height:70px;padding:8px}.search-result img{width:64px;height:48px}.search-result strong{font-size:12px}.search-play{min-width:78px;height:38px;font-size:9px;padding:0 10px}.search-meta{font-size:10px!important}
}
@media(max-width:430px){.brand-name{font-size:17px}.brand-play{font-size:22px}.discovery-card{flex-basis:47vw}.search-form{grid-template-columns:1fr}.search-form .primary-btn{width:100%}.search-result{grid-template-columns:58px minmax(0,1fr) auto}.search-result img{width:58px;height:44px}.search-play{min-width:68px;font-size:8px}.mood-status span{font-size:11px}}


/* ===== PLAY v5.1 — DISCOVERY PLAYLIST EXPERIENCE ===== */
.discovery-desktop{display:none}.discovery-mobile{display:block}
@media(min-width:1081px){
  .discovery-desktop{display:block;margin-top:20px!important;padding-bottom:6px}
  .discovery-mobile{display:none!important}
  .main-column .discovery-section{width:100%}
}
.discovery-head{display:flex;align-items:end;justify-content:space-between;gap:16px}
.discovery-card{isolation:isolate;background:#0b0f14!important;min-height:148px!important;padding:16px!important;border-color:rgba(255,255,255,.10)!important}
.discovery-card:before{content:""!important;position:absolute!important;inset:0!important;background-image:linear-gradient(180deg,rgba(5,7,10,.06) 0%,rgba(5,7,10,.18) 35%,rgba(5,7,10,.94) 100%),var(--discovery-art)!important;background-size:cover!important;background-position:center!important;opacity:1!important;z-index:-2!important}
.discovery-card:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,0,0,.08),transparent 65%);z-index:-1;pointer-events:none}
.discovery-card strong{margin-top:58px!important;font-size:20px!important;line-height:1.02}.discovery-card>span:last-of-type:not(.discovery-arrow){font-size:11px!important;color:#d2d7df!important}.discovery-kicker{color:#e1e5ea!important}.discovery-arrow{position:absolute!important;right:13px;bottom:13px;width:30px;height:30px;border-radius:50%;border:1px solid rgba(255,255,255,.65);display:grid!important;place-items:center;font-size:22px;line-height:1;margin:0!important;color:#fff;background:rgba(5,7,10,.35)}
@media(hover:hover){.discovery-card:hover{transform:translateY(-2px);border-color:rgba(255,255,255,.28)!important}.discovery-card:hover:before{filter:saturate(1.12) brightness(1.05)}}

/* Playlist detail view */
.playlist-view{padding:22px 0 26px}.playlist-view[hidden]{display:none}.playlist-topline{margin-bottom:12px}.playlist-back{min-height:42px;padding:0 15px;border:1px solid #2b3440;border-radius:999px;background:#0d1218;color:#fff;font-size:11px;font-weight:900;letter-spacing:.04em;cursor:pointer}.playlist-hero{position:relative;min-height:360px;border:1px solid #27313d;border-radius:22px;overflow:hidden;background:#0a0d12 center/cover no-repeat;margin-bottom:14px}.playlist-hero-shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(4,6,9,.92) 0%,rgba(4,6,9,.64) 42%,rgba(4,6,9,.22) 75%),linear-gradient(0deg,rgba(4,6,9,.70),transparent 60%)}.playlist-hero-copy{position:absolute;left:34px;bottom:30px;z-index:2;max-width:620px}.playlist-label{font-size:10px;letter-spacing:.16em;color:#c7ced8;font-weight:900}.playlist-hero h1{font-size:clamp(48px,6vw,82px);letter-spacing:-.055em;line-height:.86;margin:8px 0 12px}.playlist-hero p{margin:0;color:#d2d8e0;font-size:16px}.playlist-count{display:block;margin-top:12px;color:#9ba5b3;font-size:12px;font-weight:800;letter-spacing:.08em}.playlist-play{margin-top:18px;min-width:220px;height:46px}.playlist-list-wrap{border:1px solid #202833;border-radius:18px;background:rgba(9,12,17,.72);overflow:hidden}.playlist-list{list-style:none;margin:0;padding:6px 12px}.playlist-row{display:grid;grid-template-columns:34px 58px minmax(0,1fr) auto 24px;gap:12px;align-items:center;padding:9px 8px;border-bottom:1px solid rgba(255,255,255,.055);cursor:pointer;color:#fff}.playlist-row:last-child{border-bottom:0}.playlist-row-index{font-size:12px;color:#6f7987;text-align:center}.playlist-row img{width:58px;height:58px;object-fit:cover;border-radius:9px;background:#161c24}.playlist-row-copy{min-width:0}.playlist-row-copy strong,.playlist-row-copy span{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.playlist-row-copy strong{font-size:14px}.playlist-row-copy span{font-size:11px;color:#8f99a8;margin-top:4px}.playlist-row-time{font-size:11px;color:#8f99a8}.playlist-row-more{font-size:17px;color:#8f99a8}.playlist-related{margin-top:26px}.playlist-related-head h2{margin:0;font-size:24px;letter-spacing:-.035em}.playlist-related-head p{margin:5px 0 12px;color:#8f99a8;font-size:12px}.playlist-related-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;max-width:760px}.playlist-related-card{position:relative;min-height:150px;border:1px solid #29323e;border-radius:18px;overflow:hidden;background:center/cover no-repeat;color:#fff;text-align:left;padding:16px;cursor:pointer}.playlist-related-card:before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(5,7,10,.08),rgba(5,7,10,.88))}.playlist-related-card>*{position:relative;z-index:1;display:block}.playlist-related-card strong{font-size:19px;margin-top:68px}.playlist-related-card span{font-size:11px;color:#d0d6df;margin-top:4px}

@media(max-width:1080px){
  .discovery-desktop{display:none!important}.discovery-mobile{display:block!important}
}
@media(max-width:720px){
  .session-actions{justify-content:center!important;gap:10px!important}
  .session-actions .primary-btn,.session-actions .ghost-btn{height:34px!important;min-height:34px!important;padding:0 12px!important;font-size:8.8px!important;flex:0 0 auto!important}
  .session-actions .ghost-btn{min-width:132px!important}.session-actions .primary-btn{min-width:96px!important}
  .discovery-mobile{margin-top:13px!important}.discovery-cards{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;overflow:visible!important;padding-bottom:0!important}.discovery-card{min-width:0!important;min-height:132px!important;padding:12px!important}.discovery-card strong{font-size:16px!important;margin-top:48px!important}.discovery-card>span:last-of-type:not(.discovery-arrow){font-size:9.5px!important;white-space:normal}.discovery-arrow{width:27px;height:27px;right:10px;bottom:10px;font-size:18px}
  .playlist-view{padding:10px 0 18px}.playlist-topline{margin-bottom:9px}.playlist-back{min-height:38px;font-size:10px}.playlist-hero{min-height:300px;border-radius:17px;margin-bottom:10px}.playlist-hero-copy{left:18px;right:16px;bottom:18px}.playlist-hero h1{font-size:clamp(44px,14vw,66px)}.playlist-hero p{font-size:13px}.playlist-count{font-size:10px;margin-top:9px}.playlist-play{height:42px;min-width:190px;margin-top:14px;font-size:10px}.playlist-list{padding:4px 8px}.playlist-row{grid-template-columns:25px 50px minmax(0,1fr) 20px;gap:9px;padding:8px 2px}.playlist-row img{width:50px;height:50px}.playlist-row-copy strong{font-size:12px}.playlist-row-copy span{font-size:10px}.playlist-row-time{display:none}.playlist-row-more{font-size:15px}.playlist-related{margin-top:18px}.playlist-related-head h2{font-size:22px}.playlist-related-grid{gap:8px}.playlist-related-card{min-height:130px;border-radius:15px;padding:12px}.playlist-related-card strong{font-size:16px;margin-top:58px}.playlist-related-card span{font-size:9.5px}
}

/* ===== PLAY v5.2 — DESKTOP MEDIA FRAME + DISCOVERY AUTOPLAY + QUEUE TOGGLE ===== */
/* Keep the desktop stage compact, but preserve a true 16:9 YouTube viewport.
   The space outside the iframe becomes an ambient current-track backdrop instead of black pillar bars. */
@media(min-width:1081px){
  .player-wrap{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    isolation:isolate;
    background:#05070a!important;
  }
  .player-wrap::before{
    content:"";
    position:absolute;
    inset:-34px;
    z-index:0;
    background-image:linear-gradient(90deg,rgba(4,6,9,.58),rgba(4,6,9,.22) 35%,rgba(4,6,9,.22) 65%,rgba(4,6,9,.58)),var(--player-art);
    background-position:center;
    background-size:cover;
    filter:blur(24px) saturate(1.14) brightness(.58);
    transform:scale(1.08);
    opacity:.72;
    pointer-events:none;
  }
  #ytPlayer{
    position:relative!important;
    z-index:1!important;
    height:100%!important;
    width:auto!important;
    max-width:100%!important;
    aspect-ratio:16/9!important;
    display:block!important;
    margin:0 auto!important;
    background:#000!important;
    flex:0 0 auto!important;
  }
  .player-loading{z-index:3!important}

  /* Seven items collapsed on desktop, remaining queue only after VER MÁS. */
  .queue li.queue-extra{display:none!important}
  .queue.is-expanded li.queue-extra{display:list-item!important}
}

/* Mobile/tablet retain the normal full-width responsive 16:9 player. */
@media(max-width:1080px){
  .player-wrap::before{display:none!important}
  #ytPlayer{width:100%!important;height:100%!important;max-width:none!important;aspect-ratio:auto!important}
}


/* ===== PLAY v5.3 — TRUE 16:9 DESKTOP + COMPACT CHROME — 2026-10-02 ===== */
/* Desktop: the player itself owns the 16:9 rectangle. No ambient side-fill,
   no fixed-height stage, and no pillar space created by the page layout. */
@media(min-width:1081px){
  .topbar{
    height:58px!important;
  }
  .brand{
    gap:11px!important;
  }
  .brand-name{
    font-size:20px!important;
  }
  .brand-play{
    font-size:25px!important;
  }
  .powered{
    font-size:8.5px!important;
    letter-spacing:.065em!important;
  }
  .icon-btn{
    width:40px!important;
    height:40px!important;
    font-size:21px!important;
  }
  .layout{
    padding-top:12px!important;
    grid-template-columns:minmax(0,1fr) clamp(400px,27vw,470px)!important;
    gap:clamp(14px,1.1vw,22px)!important;
  }
  .player-wrap{
    width:100%!important;
    height:auto!important;
    min-height:0!important;
    aspect-ratio:16/9!important;
    display:block!important;
    background:#000!important;
    border:1px solid #1a2029!important;
    border-radius:14px!important;
    overflow:hidden!important;
  }
  .player-wrap::before{
    content:none!important;
    display:none!important;
  }
  #ytPlayer,
  .yt-player,
  #ytPlayer iframe,
  .yt-player iframe{
    position:relative!important;
    width:100%!important;
    height:100%!important;
    max-width:none!important;
    aspect-ratio:auto!important;
    margin:0!important;
    display:block!important;
    background:#000!important;
  }
  .vibes-section{
    margin-top:8px!important;
  }
  .mood-heading{
    margin-bottom:9px!important;
  }
  .mood-heading h2{
    font-size:clamp(29px,2.8vw,42px)!important;
  }
  .mood-heading p{
    margin-top:6px!important;
  }
  .discovery-desktop{
    margin-top:14px!important;
  }
}

/* Mobile/tablet: keep the approved responsive player, only tighten chrome. */
@media(max-width:1080px){
  .topbar{
    height:56px!important;
  }
  .brand{
    gap:9px!important;
  }
  .layout{
    padding-top:6px!important;
  }
  .vibes-section{
    margin-top:8px!important;
  }
  .mood-heading{
    margin-bottom:8px!important;
  }
}
@media(max-width:720px){
  .topbar{
    height:54px!important;
  }
  .brand-name{
    font-size:16px!important;
  }
  .brand-play{
    font-size:21px!important;
  }
  .icon-btn{
    width:40px!important;
    height:40px!important;
    font-size:21px!important;
  }
  .mood-heading h2{
    font-size:clamp(28px,8.4vw,36px)!important;
  }
  .discovery-mobile{
    margin-top:10px!important;
  }
}

/* ===== PLAY v5.4 — DESKTOP FIRST-VIEW COMPACT PLAYER — 2026-10-02 ===== */
/* Goal: on desktop, keep the true 16:9 YouTube frame, then ELIGE TU MOOD + mood buttons
   visible together in the first viewport. Do not alter the approved mobile player behavior. */
@media(min-width:1081px){
  .topbar{
    height:50px!important;
  }
  .brand{
    gap:9px!important;
  }
  .brand-name{
    font-size:18px!important;
  }
  .brand-play{
    font-size:23px!important;
  }
  .powered{
    font-size:8px!important;
    letter-spacing:.055em!important;
  }
  .icon-btn{
    width:36px!important;
    height:36px!important;
    font-size:19px!important;
  }
  .layout{
    padding-top:8px!important;
    grid-template-columns:minmax(0,1fr) clamp(410px,27vw,480px)!important;
    gap:clamp(14px,1vw,20px)!important;
  }
  .main-column{
    min-width:0;
  }
  .player-wrap,
  .vibes-section{
    width:min(100%,980px)!important;
    margin-left:auto!important;
    margin-right:auto!important;
  }
  .player-wrap{
    height:auto!important;
    aspect-ratio:16/9!important;
    min-height:0!important;
    background:#000!important;
    border-radius:12px!important;
  }
  #ytPlayer,
  .yt-player,
  #ytPlayer iframe,
  .yt-player iframe{
    width:100%!important;
    height:100%!important;
    display:block!important;
  }
  .vibes-section{
    margin-top:6px!important;
  }
  .mood-heading{
    margin:0 0 7px!important;
  }
  .mood-heading h2{
    font-size:clamp(27px,2.35vw,36px)!important;
    line-height:.96!important;
  }
  .mood-heading p{
    margin-top:4px!important;
    font-size:10px!important;
  }
  .vibe-grid{
    gap:8px!important;
  }
  .vibe-card{
    min-height:62px!important;
    border-radius:13px!important;
  }
  .vibe-card strong{
    font-size:clamp(14px,1.05vw,17px)!important;
  }
  .vibe-card .vibe-icon{
    font-size:19px!important;
  }
  .mood-lower{
    margin-top:7px!important;
    min-height:34px;
  }
  .mood-status{
    font-size:12px!important;
  }
  .session-actions .primary-btn,
  .session-actions .ghost-btn{
    height:34px!important;
    min-height:34px!important;
    padding:0 12px!important;
    font-size:8.8px!important;
  }
  .discovery-desktop{
    margin-top:10px!important;
  }
}

/* Shorter desktop/laptop displays: reduce the player width, preserving exact 16:9,
   so video + mood controls remain together in the first view. */
@media(min-width:1081px) and (max-height:900px){
  .player-wrap,
  .vibes-section{
    width:min(100%,920px)!important;
  }
}
@media(min-width:1081px) and (max-height:800px){
  .player-wrap,
  .vibes-section{
    width:min(100%,800px)!important;
  }
  .mood-heading h2{
    font-size:30px!important;
  }
  .vibe-card{
    min-height:56px!important;
  }
  .mood-heading p{
    display:none!important;
  }
}

/* ===== PLAY v5.5 — DESKTOP RECOMPOSE + PLAYLIST CONTEXT + EXPANDED DISCOVERY — 2026-10-02 ===== */
/* Desktop: player + mood remain the primary first-view experience. Below them,
   UP NEXT moves left and DISCOVERY sits beside it instead of living as a right sidebar. */
@media(min-width:1081px){
  .layout{
    display:grid!important;
    grid-template-columns:minmax(0,1.22fr) minmax(360px,.78fr)!important;
    grid-template-rows:auto auto auto!important;
    column-gap:18px!important;
    row-gap:12px!important;
    align-items:start!important;
    padding-top:8px!important;
  }
  .main-column{display:contents!important}
  .player-wrap{
    grid-column:1/-1!important;
    grid-row:1!important;
    width:min(100%,900px)!important;
    justify-self:center!important;
    margin:0!important;
    aspect-ratio:16/9!important;
  }
  .vibes-section{
    grid-column:1/-1!important;
    grid-row:2!important;
    width:min(100%,900px)!important;
    justify-self:center!important;
    margin:4px 0 0!important;
  }
  .up-next-panel{
    grid-column:1!important;
    grid-row:3!important;
    position:static!important;
    top:auto!important;
    align-self:start!important;
    max-height:none!important;
    overflow:visible!important;
    margin:0!important;
    padding:15px 16px!important;
  }
  .discovery-desktop{
    grid-column:2!important;
    grid-row:3!important;
    display:block!important;
    align-self:start!important;
    margin:0!important;
    padding:0!important;
    width:100%!important;
  }
  .discovery-desktop .discovery-head{margin-bottom:9px!important}
  .discovery-desktop .discovery-head h2{font-size:24px!important}
  .discovery-desktop .discovery-cards{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:9px!important;
  }
  .discovery-desktop .discovery-card{
    min-height:132px!important;
    padding:12px!important;
    border-radius:15px!important;
  }
  .discovery-desktop .discovery-card strong{margin-top:45px!important;font-size:16px!important}
  .discovery-desktop .discovery-card>span:last-of-type:not(.discovery-arrow){font-size:9.5px!important}
  .weekly-feature{margin-bottom:12px!important}
  .queue{gap:4px!important}
  .queue-item{padding:5px 4px!important}
  .queue-thumb{width:42px!important;height:42px!important}
  .playlist-list-wrap{max-width:1080px;margin-left:auto;margin-right:auto}
  .playlist-list{padding:4px 10px!important}
  .playlist-row{grid-template-columns:32px 52px minmax(0,1fr) auto 22px!important;gap:10px!important;padding:7px 7px!important}
  .playlist-row img{width:52px!important;height:52px!important}
  .playlist-related{max-width:1080px;margin:22px auto 0!important}
  .playlist-related-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;max-width:none!important;gap:10px!important}
  .playlist-related-card{min-height:138px!important;border-radius:16px!important;padding:13px!important}
  .playlist-related-card strong{font-size:16px!important;margin-top:54px!important}
  .playlist-related-card span{font-size:9.5px!important}
}
@media(min-width:1081px) and (max-height:900px){
  .player-wrap,.vibes-section{width:min(100%,830px)!important}
}
@media(min-width:1081px) and (max-height:800px){
  .player-wrap,.vibes-section{width:min(100%,740px)!important}
}

/* Playlist detail keeps a full-width banner, with a tighter centered song list. */
.playlist-view{padding-top:16px!important}
.playlist-hero{width:100%;margin-left:auto;margin-right:auto}
.playlist-row.active{background:linear-gradient(90deg,rgba(255,33,79,.14),rgba(255,33,79,.035));border-radius:11px;box-shadow:inset 3px 0 0 var(--red)}
.playlist-row.active .playlist-row-index,.playlist-row.active .playlist-row-more{color:var(--red)}
.playlist-related-kicker{font-size:8px!important;letter-spacing:.12em;color:#e1e6ed!important;font-weight:900}
.playlist-top-action{display:flex;justify-content:center;padding:22px 0 8px}
.playlist-to-top{min-height:40px;padding:0 20px;border:1px solid #2e3845;border-radius:999px;background:#0d1218;color:#fff;font-size:10px;font-weight:950;letter-spacing:.08em;cursor:pointer}
@media(hover:hover){.playlist-to-top:hover{border-color:var(--red);color:var(--red)}}

/* Related playlists are four visible choices: two context-related + Corridos + Reparto Cubano. */
.playlist-related-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;max-width:1080px}
.related-corridos{background-color:#15100c!important}
.related-reparto{background-color:#10151c!important}

/* Mobile keeps the approved main experience. The playlist footer becomes 2x2. */
@media(max-width:1080px){
  .main-column{display:block!important}
  .layout{display:grid!important;grid-template-columns:1fr!important;grid-template-rows:auto!important}
  .playlist-related-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;max-width:none!important}
}
@media(max-width:720px){
  .playlist-list-wrap{margin-left:0;margin-right:0}
  .playlist-related-grid{gap:8px!important}
  .playlist-related-card{min-height:124px!important}
  .playlist-top-action{padding-top:18px}
  .playlist-to-top{min-height:38px;font-size:9px}
}


/* ===== PLAY v5.6 — DESKTOP RESTORE: PLAYER LEFT / UP NEXT RIGHT / DISCOVERY BELOW — 2026-10-02 ===== */
/* Desktop only. Mobile/tablet rules are intentionally left untouched. */
@media(min-width:1081px){
  .layout{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) clamp(390px,27vw,470px)!important;
    grid-template-rows:auto auto auto!important;
    column-gap:clamp(16px,1.35vw,26px)!important;
    row-gap:10px!important;
    align-items:start!important;
    padding-top:8px!important;
  }
  .main-column{display:contents!important}
  .player-wrap{
    grid-column:1!important;
    grid-row:1!important;
    width:min(100%,900px)!important;
    justify-self:center!important;
    margin:0!important;
    aspect-ratio:16/9!important;
  }
  .vibes-section{
    grid-column:1!important;
    grid-row:2!important;
    width:min(100%,900px)!important;
    justify-self:center!important;
    margin:4px 0 0!important;
  }
  .up-next-panel{
    grid-column:2!important;
    grid-row:1 / span 2!important;
    position:sticky!important;
    top:8px!important;
    align-self:start!important;
    max-height:calc(100vh - 16px)!important;
    overflow:auto!important;
    margin:0!important;
    padding:14px 15px!important;
  }
  .discovery-desktop{
    grid-column:1/-1!important;
    grid-row:3!important;
    display:block!important;
    width:100%!important;
    margin:6px 0 0!important;
    padding:0!important;
  }
  .discovery-desktop .discovery-head{margin-bottom:9px!important}
  .discovery-desktop .discovery-head h2{font-size:24px!important}
  .discovery-desktop .discovery-cards{
    display:grid!important;
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:10px!important;
  }
  .discovery-desktop .discovery-card{
    min-height:136px!important;
    padding:12px!important;
    border-radius:15px!important;
  }
  .discovery-desktop .discovery-card strong{margin-top:47px!important;font-size:16px!important}
  .discovery-desktop .discovery-card>span:last-of-type:not(.discovery-arrow){font-size:9.5px!important}
}
@media(min-width:1081px) and (max-height:900px){
  .player-wrap,.vibes-section{width:min(100%,830px)!important}
}
@media(min-width:1081px) and (max-height:800px){
  .player-wrap,.vibes-section{width:min(100%,740px)!important}
}


/* ===== PLAY v5.8 — approved 2026-10-03 refinements, no redesign ===== */
.top-actions{display:flex;align-items:center;gap:8px}
.random-btn{min-height:40px;padding:0 12px;border:1px solid #2a3340;border-radius:999px;background:#0c1117;color:#fff;font-size:14px;font-weight:900;letter-spacing:.05em;cursor:pointer}.random-btn span{font-size:9px;margin-left:4px}.random-btn:hover{border-color:rgba(255,33,79,.7)}
.upnext-head h2{font-size:18px!important}
.playlist-back{border-color:rgba(255,33,79,.62)!important;background:rgba(255,33,79,.055)!important;font-weight:950!important}.playlist-back::first-letter{color:var(--red)}
.playlist-row.active{background:linear-gradient(90deg,rgba(255,33,79,.20),rgba(255,33,79,.055))!important;box-shadow:inset 4px 0 0 var(--red)!important}
.related-trapusa{background-color:#11131a!important}
@media(max-width:720px){.random-btn{min-height:36px;padding:0 9px}.random-btn span{font-size:8px}.upnext-head h2{font-size:25px!important}.player-wrap{width:102.5%!important;max-width:none!important;margin-left:-1.25%!important}.playlist-back{color:#fff!important}}

/* ===== PLAY v5.8.1 — CANONICAL DESKTOP LAYER — 2026-10-03 ===== */
/* Desktop-only stabilization. Mobile/tablet (<=1080px) is intentionally untouched. */
@media(min-width:1081px){
  .app-shell{width:min(100%,1600px);margin:0 auto}
  .topbar{display:flex;align-items:center;justify-content:space-between}
  .top-actions{display:flex!important;align-items:center!important;gap:8px!important}
  #randomBtn.random-btn{display:inline-flex!important;align-items:center!important;justify-content:center!important;visibility:visible!important;opacity:1!important}

  .layout{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) clamp(390px,27vw,470px)!important;
    grid-template-rows:auto auto auto!important;
    column-gap:clamp(16px,1.35vw,26px)!important;
    row-gap:10px!important;
    align-items:start!important;
    padding-top:8px!important;
  }
  .main-column{display:contents!important}
  .player-wrap{
    grid-column:1!important;grid-row:1!important;
    width:min(100%,900px)!important;height:auto!important;
    justify-self:center!important;margin:0!important;
    aspect-ratio:16/9!important;overflow:hidden!important;
  }
  .player-wrap iframe,.yt-player,.yt-player iframe{width:100%!important;height:100%!important;aspect-ratio:16/9!important}
  .vibes-section{
    grid-column:1!important;grid-row:2!important;
    width:min(100%,900px)!important;justify-self:center!important;
    margin:4px 0 0!important;
  }
  .up-next-panel{
    grid-column:2!important;grid-row:1 / span 2!important;
    position:sticky!important;top:8px!important;align-self:start!important;
    max-height:calc(100vh - 16px)!important;overflow:auto!important;
    margin:0!important;padding:14px 15px!important;
  }
  .upnext-head .eyebrow{display:none!important}
  .upnext-head h2{font-size:18px!important}
  .discovery-desktop{
    grid-column:1/-1!important;grid-row:3!important;
    display:block!important;width:100%!important;
    margin:6px 0 0!important;padding:0!important;
  }
  .discovery-mobile{display:none!important}
  .discovery-desktop .discovery-head{margin-bottom:9px!important}
  .discovery-desktop .discovery-head h2{font-size:24px!important}
  .discovery-desktop .discovery-cards{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:10px!important}
  .discovery-desktop .discovery-card{min-height:136px!important;padding:12px!important;border-radius:15px!important}
  .discovery-desktop .discovery-card strong{margin-top:47px!important;font-size:16px!important}
  .discovery-desktop .discovery-card>span:last-of-type:not(.discovery-arrow){font-size:9.5px!important}
}
@media(min-width:1081px) and (max-height:900px){
  .player-wrap,.vibes-section{width:min(100%,830px)!important}
}
@media(min-width:1081px) and (max-height:800px){
  .player-wrap,.vibes-section{width:min(100%,740px)!important}
}

/* ===== PLAY v5.8.2 — FINAL MOOD-FIRST MOBILE POLISH — 2026-10-03 ===== */
@media(max-width:720px){
.vibes-section{margin-top:18px!important}
.mood-heading{text-align:center!important;margin-bottom:10px!important}
.mood-heading h2{text-align:center!important}
.mood-status{font-size:11px!important;opacity:.78}
.mood-status strong{font-weight:850}
.session-actions{opacity:.88}
.session-actions .ghost-btn{background:#10161d!important;border-color:#242d38!important}
.session-actions .primary-btn{filter:saturate(.88);box-shadow:none!important}
.upnext-head h2{font-size:21px!important;letter-spacing:-.025em!important}
}
.brand{cursor:default!important;user-select:none}


/* ===== PLAY v5.9 — DESKTOP LOCK + MOOD-FIRST — 2026-10-03 ===== */
@media(min-width:1081px){
  .layout{grid-template-columns:minmax(0,1fr) clamp(390px,27vw,470px)!important;column-gap:clamp(16px,1vw,20px)!important;align-items:start!important}
  .main-column{display:block!important;grid-column:1!important;grid-row:1!important;min-width:0!important}
  .player-wrap{width:min(100%,960px)!important;margin:0 auto!important;aspect-ratio:16/9!important}
  .vibes-section{width:min(100%,960px)!important;margin:4px auto 0!important}
  .up-next-panel{grid-column:2!important;grid-row:1!important;align-self:start!important;position:sticky!important;top:8px!important;margin:0!important}
  .discovery-desktop{display:block!important;width:100%!important;margin:8px 0 0!important}
}
@media(min-width:1081px) and (max-height:900px){.player-wrap,.vibes-section{width:min(100%,880px)!important}}
@media(min-width:1081px) and (max-height:800px){.player-wrap,.vibes-section{width:min(100%,785px)!important}}

/* ===== PLAY v6.0 — 8 PLAYLISTS + GLOBAL NAV + DESKTOP CONSOLE — 2026-10-03 ===== */
/* Search + Random are global controls: the sticky header remains available while navigating PLAY. */
.topbar{position:sticky!important;top:0!important;z-index:120!important;background:rgba(7,9,12,.92)!important;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)}
.top-to-top{min-height:40px;padding:0 12px;border:1px solid #2a3340;border-radius:999px;background:#0c1117;color:#fff;font-size:9px;font-weight:950;letter-spacing:.07em;cursor:pointer}
@media(hover:hover){.top-to-top:hover{border-color:var(--red);color:var(--red)}}
.discovery-trapusa{background-color:#11131a!important}.discovery-corridos{background-color:#17110c!important}.discovery-urbanousa{background-color:#11151b!important}
@media(min-width:1081px){
  /* Bring the right rail closer and give Tema de la Semana / Up Next more presence. */
  .layout{grid-template-columns:minmax(0,1fr) clamp(410px,28vw,490px)!important;column-gap:10px!important}
  .main-column{min-width:0!important}
  .player-wrap,.vibes-section,.discovery-desktop{width:min(100%,960px)!important;margin-left:auto!important;margin-right:auto!important}
  .up-next-panel{padding:17px 17px!important}
  .weekly-label{font-size:11px!important;letter-spacing:.15em!important}
  .weekly-track{padding:11px 0!important}
  .weekly-copy strong{font-size:15px!important}.weekly-copy span{font-size:11px!important}
  .upnext-head h2{font-size:21px!important}
  /* Discovery is a closed 4 x 2 block aligned to the player width. */
  .discovery-desktop{margin-top:10px!important}
  .discovery-desktop .discovery-cards{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:9px!important}
  .discovery-desktop .discovery-card{min-height:128px!important}
  .top-to-top{display:inline-flex;align-items:center;justify-content:center}
}
@media(max-width:1080px){
  /* Keep all 8 playlists visible in the existing mobile 2-column system. */
  .top-to-top{display:none!important}
  #randomBtn.random-btn,#searchOpen{display:inline-flex!important;visibility:visible!important;opacity:1!important}
}


/* ===== PLAY v6.1 — FINAL MICRO PASS + CURATED POOLS — 2026-10-03 ===== */
/* Desktop console: the left stage owns the whole first grid track so the visual
   gap to Up Next is the actual grid gap, not leftover centering space. */
@media(min-width:1081px){
  .layout{
    --play-left-max:960px;
    grid-template-columns:minmax(0,var(--play-left-max)) clamp(410px,28vw,490px)!important;
    justify-content:center!important;
    column-gap:18px!important;
  }
  .main-column{width:100%!important;min-width:0!important}
  .player-wrap,.vibes-section,.discovery-desktop{width:100%!important;max-width:none!important;margin-left:0!important;margin-right:0!important}
}
@media(min-width:1081px) and (max-height:900px){.layout{--play-left-max:880px}}
@media(min-width:1081px) and (max-height:800px){.layout{--play-left-max:785px}}

/* Eleven items are available on expanded desktop; mobile intentionally remains capped at ten. */
.queue li[hidden]{display:none!important}

/* Mobile-only micro corrections: restore compact mood title, preserve a small
   breathing gap below the player, and optically center Search + Random contents. */
@media(max-width:720px){
  .vibes-section{margin-top:14px!important}
  .mood-heading{width:100%!important;text-align:center!important;margin-bottom:10px!important}
  .mood-heading h2{font-size:clamp(22px,6.4vw,26px)!important;line-height:1!important;text-align:center!important}
  #searchOpen.icon-btn{display:inline-grid!important;place-items:center!important;padding:0!important;line-height:1!important;text-align:center!important}
  #randomBtn.random-btn{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:4px!important;padding-left:9px!important;padding-right:9px!important;line-height:1!important;text-align:center!important}
  #randomBtn.random-btn .random-icon{display:inline-flex!important;align-items:center!important;justify-content:center!important;line-height:1!important;margin:0!important}
  #randomBtn.random-btn span{margin-left:0!important;line-height:1!important}
}

/* v6.1 control alignment hardening */
#randomBtn.random-btn{gap:4px!important}
#randomBtn.random-btn .random-icon{font-size:14px!important;margin:0!important;line-height:1!important}
#randomBtn.random-btn .random-label{font-size:9px!important;margin:0!important;line-height:1!important}
#queue li[hidden]{display:none!important}


/* v6.2 — desktop three-column composition + compact moods + contextual controls */
.floating-to-top{position:fixed;z-index:72;right:20px;bottom:92px;min-height:38px;padding:0 13px;border:1px solid #2a3340;border-radius:999px;background:rgba(12,17,23,.94);backdrop-filter:blur(16px);color:#fff;font-size:9px;font-weight:950;letter-spacing:.07em;cursor:pointer;box-shadow:0 14px 34px rgba(0,0,0,.28)}
.floating-to-top[hidden]{display:none!important}
.mini-progress{grid-column:2/-1;display:grid;grid-template-columns:34px minmax(0,1fr) 34px;align-items:center;gap:7px;margin-top:-2px}
.mini-time{font-size:9px;color:#8f98a7;font-variant-numeric:tabular-nums;text-align:center}
#miniSeek{width:100%;height:16px;margin:0;accent-color:var(--red);cursor:pointer}
#miniSeek::-webkit-slider-runnable-track{height:4px;border-radius:999px;background:#cfd3da}
#miniSeek::-webkit-slider-thumb{margin-top:-5px;width:14px;height:14px;border-radius:50%;background:var(--red);border:0;-webkit-appearance:none}
#miniSeek{-webkit-appearance:none;background:transparent}
.search-play{color:#fff!important;font-weight:950!important;letter-spacing:.055em!important;-webkit-font-smoothing:antialiased;text-rendering:geometricPrecision;background:rgba(255,33,79,.06)!important;border-color:rgba(255,33,79,.9)!important;box-shadow:none!important}
.search-result:focus-visible .search-play,.search-result:hover .search-play{background:rgba(255,33,79,.15)!important;color:#fff!important}
@media(min-width:1081px){
  .layout{display:grid!important;grid-template-columns:clamp(230px,16vw,275px) minmax(560px,1fr) clamp(365px,25vw,445px)!important;grid-template-areas:'discover player upnext' 'mood mood upnext'!important;column-gap:12px!important;row-gap:12px!important;align-items:start!important;max-width:1680px!important;margin:0 auto!important;padding-top:8px!important}
  .main-column{display:contents!important}
  .player-wrap{grid-area:player!important;width:100%!important;max-width:none!important;margin:0!important;height:clamp(440px,calc(100vh - 215px),590px)!important}
  .discovery-desktop{grid-area:discover!important;display:block!important;width:100%!important;max-width:none!important;margin:0!important;padding:12px!important;border:1px solid var(--line);background:rgba(10,13,18,.82);border-radius:18px}
  .discovery-desktop .discovery-head{margin:0 0 9px!important}
  .discovery-desktop .discovery-head h2{font-size:23px!important}
  .discovery-desktop .discovery-cards{display:grid!important;grid-template-columns:1fr!important;gap:7px!important;overflow:visible!important}
  .discovery-desktop .discovery-card{min-height:67px!important;height:67px!important;padding:8px 38px 8px 10px!important;border-radius:12px!important}
  .discovery-desktop .discovery-card:before{opacity:.55!important}
  .discovery-desktop .discovery-card .discovery-kicker{font-size:7px!important}
  .discovery-desktop .discovery-card strong{margin-top:17px!important;font-size:14px!important;line-height:1.05!important}
  .discovery-desktop .discovery-card>span:last-of-type:not(.discovery-arrow){font-size:8.5px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
  .discovery-desktop .discovery-arrow{width:25px!important;height:25px!important;right:8px!important;bottom:8px!important;font-size:16px!important}
  .up-next-panel{grid-area:upnext!important;grid-column:auto!important;grid-row:1 / span 2!important;position:sticky!important;top:8px!important;margin:0!important;padding:15px 16px!important}
  .vibes-section{grid-area:mood!important;width:100%!important;max-width:none!important;margin:0!important;padding:13px 18px 14px!important;border:1px solid var(--line);background:rgba(10,13,18,.72);border-radius:18px}
  .mood-heading{margin-bottom:9px!important;text-align:center!important}
  .mood-heading h2{font-size:clamp(28px,2.15vw,36px)!important}
  .mood-heading p{font-size:8px!important}
  .vibe-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:9px!important;width:min(720px,100%)!important;margin:0 auto!important;overflow:visible!important}
  .vibe-card{min-width:0!important;min-height:54px!important;height:54px!important;padding:0 14px!important;border-radius:13px!important;gap:7px!important}
  .vibe-card .vibe-icon{font-size:15px!important}
  .vibe-card strong{font-size:13px!important}
  .mood-lower{width:min(720px,100%)!important;margin:8px auto 0!important;display:flex!important;flex-direction:column!important;align-items:center!important;gap:7px!important}
  .mood-status{margin:0!important;font-size:10px!important;text-align:center!important}
  .session-actions{display:flex!important;justify-content:center!important;gap:8px!important;width:auto!important}
  .session-actions .ghost-btn,.session-actions .primary-btn{height:36px!important;min-height:36px!important;padding:0 16px!important;font-size:9px!important;border-radius:10px!important}
  .session-actions .ghost-btn{min-width:150px!important}
  .session-actions .primary-btn{min-width:92px!important}
  .mini-player{left:20px!important;right:20px!important;width:min(680px,calc(100% - 40px))!important;grid-template-columns:44px minmax(0,1fr) 38px 44px 38px!important;gap:8px!important;padding:8px 10px 7px!important;border-radius:15px!important}
  .mini-player img{width:44px!important;height:44px!important;border-radius:8px!important}
  .mini-btn{width:36px!important;height:36px!important}.mini-btn-main{width:42px!important;height:42px!important}
  .top-to-top{display:none!important}
}
@media(max-width:1080px){.floating-to-top{display:none!important}}
@media(max-width:720px){
  .vibe-card{min-height:62px!important;height:62px!important;padding:0 7px!important}
  .vibes-section{margin-top:14px!important}
  .mini-progress{grid-column:1/-1;grid-template-columns:31px minmax(0,1fr) 31px;margin-top:0}
  .mini-time{font-size:8px}
  .search-play{min-width:76px!important;height:36px!important;font-size:9px!important;padding:0 9px!important}
}
@media(max-width:430px){.search-play{min-width:72px!important;font-size:8.7px!important}}


/* ===== PLAY v6.2.2 — center-stage mood flow + wider desktop canvas ===== */
@media(min-width:1081px){
  /* Discovery and Up Next are true side columns. The center column owns player + mood,
     so expanding either side can never push ELIGE TU MOOD downward. */
  .app-shell{padding-left:clamp(12px,1vw,20px)!important;padding-right:clamp(12px,1vw,20px)!important}
  .layout{
    display:grid!important;
    grid-template-columns:clamp(238px,15vw,268px) minmax(640px,1fr) clamp(350px,22vw,410px)!important;
    grid-template-areas:'discover center upnext'!important;
    column-gap:14px!important;
    row-gap:0!important;
    align-items:start!important;
    max-width:1760px!important;
    margin:0 auto!important;
    padding-top:8px!important;
  }
  .discovery-desktop{grid-area:discover!important;align-self:start!important}
  .main-column{
    grid-area:center!important;
    display:flex!important;
    flex-direction:column!important;
    min-width:0!important;
    width:100%!important;
    gap:12px!important;
  }
  .player-wrap{
    width:100%!important;
    max-width:none!important;
    margin:0!important;
    height:auto!important;
    aspect-ratio:16/9!important;
  }
  .vibes-section{
    width:100%!important;
    max-width:none!important;
    margin:0!important;
    padding:12px 16px 13px!important;
    border:1px solid var(--line)!important;
    background:rgba(10,13,18,.72)!important;
    border-radius:18px!important;
  }
  .mood-heading{margin-bottom:8px!important;text-align:center!important}
  .mood-heading h2{font-size:clamp(27px,1.85vw,34px)!important}
  .mood-heading p{font-size:8px!important}
  .vibe-grid{width:min(680px,88%)!important;margin:0 auto!important;gap:8px!important}
  .vibe-card{height:50px!important;min-height:50px!important;padding:0 12px!important;border-radius:12px!important}
  .mood-lower{width:min(680px,88%)!important;margin:7px auto 0!important;gap:6px!important}
  .session-actions .ghost-btn,.session-actions .primary-btn{height:34px!important;min-height:34px!important}
  .up-next-panel{
    grid-area:upnext!important;
    grid-column:auto!important;
    grid-row:auto!important;
    position:sticky!important;
    top:8px!important;
    align-self:start!important;
  }
  /* The right-edge duplicate is intentionally retired. The playlist's centered TO TOP remains. */
  .floating-to-top{display:none!important}
}

/* ===== PLAY v6.2.3 TEST — viewport-fill / open desktop stage ===== */
/* Visual experiment only. No algorithm/API behavior changes. */
@media(min-width:1081px){
  /* Use the actual desktop viewport instead of leaving a large black frame around PLAY. */
  .app-shell{
    width:min(98.5vw,1920px)!important;
    max-width:none!important;
    margin:0 auto!important;
    padding-left:clamp(8px,.7vw,14px)!important;
    padding-right:clamp(8px,.7vw,14px)!important;
    padding-bottom:88px!important;
  }
  .topbar{height:64px!important}

  /* Compact rails + flexible center = a noticeably larger media player. */
  .layout{
    width:100%!important;
    max-width:none!important;
    margin:0!important;
    padding-top:7px!important;
    grid-template-columns:clamp(215px,13vw,245px) minmax(720px,1fr) clamp(320px,20vw,365px)!important;
    column-gap:12px!important;
    align-items:start!important;
  }
  .main-column{gap:8px!important}
  .player-wrap{
    width:100%!important;
    max-width:none!important;
    aspect-ratio:16/9!important;
    border-radius:14px!important;
    border-color:rgba(255,255,255,.08)!important;
  }

  /* Discovery keeps its cards, but loses the large outer box. */
  .discovery-desktop{
    padding:2px 0 0!important;
    border:0!important;
    background:transparent!important;
    border-radius:0!important;
  }
  .discovery-desktop .discovery-head{margin:0 0 8px!important;padding:0 4px!important}
  .discovery-desktop .discovery-head h2{font-size:22px!important}
  .discovery-desktop .discovery-cards{gap:6px!important}
  .discovery-desktop .discovery-card{
    height:65px!important;
    min-height:65px!important;
    border-radius:10px!important;
    border-color:rgba(255,255,255,.075)!important;
  }

  /* Mood visually belongs to the player instead of reading as another boxed module. */
  .vibes-section{
    width:100%!important;
    margin:0!important;
    padding:7px 8px 9px!important;
    border:0!important;
    border-top:1px solid rgba(255,255,255,.055)!important;
    background:transparent!important;
    border-radius:0!important;
  }
  .mood-heading{margin-bottom:7px!important}
  .mood-heading h2{font-size:clamp(27px,1.8vw,34px)!important}
  .vibe-grid{width:min(720px,92%)!important}
  .mood-lower{width:min(720px,92%)!important;margin-top:6px!important}

  /* Right rail remains defined, but lighter and a little tighter. */
  .up-next-panel{
    padding:13px 14px!important;
    border-radius:14px!important;
    border-color:rgba(255,255,255,.075)!important;
    background:rgba(9,12,17,.56)!important;
  }
  .weekly-feature{padding:12px!important;border-radius:12px!important}
}

@media(min-width:1500px){
  .layout{
    grid-template-columns:clamp(220px,12.5vw,242px) minmax(820px,1fr) clamp(325px,19vw,355px)!important;
  }
}

@media(min-width:1900px){
  .app-shell{width:min(98vw,2100px)!important}
  .layout{
    grid-template-columns:245px minmax(1000px,1fr) 375px!important;
    column-gap:14px!important;
  }
}

/* ===== PLAY v6.2.4 TEST — balanced viewport fill ===== */
/* Keeps the open v6.2.3 canvas, but slightly reduces the center stage and gives both rails more breathing room. */
@media(min-width:1081px){
  .layout{
    grid-template-columns:clamp(235px,14.5vw,275px) minmax(680px,1fr) clamp(345px,21.5vw,395px)!important;
    column-gap:13px!important;
  }
  .discovery-desktop .discovery-card{
    padding-left:11px!important;
    padding-right:39px!important;
  }
  .up-next-panel{padding-left:15px!important;padding-right:15px!important}
  .main-column{gap:7px!important}
  .player-wrap{border-radius:14px!important}
  .vibes-section{padding-top:6px!important}
}
@media(min-width:1500px){
  .layout{
    grid-template-columns:clamp(245px,14vw,275px) minmax(760px,1fr) clamp(355px,21vw,390px)!important;
  }
}
@media(min-width:1900px){
  .app-shell{width:min(98vw,2100px)!important}
  .layout{
    grid-template-columns:270px minmax(930px,1fr) 405px!important;
    column-gap:14px!important;
  }
}


/* ===== PLAY v6.2.5 TEST — smaller player + wider discovery rail + refined play button ===== */
@media(min-width:1081px){
  /* Widen the left discovery rail and slightly rebalance the right rail. */
  .layout{
    grid-template-columns:clamp(270px,16.5vw,320px) minmax(560px,1fr) clamp(340px,20.5vw,390px)!important;
    column-gap:14px!important;
  }

  /* Center stage stays open, but the player/mood block scales down for a cleaner balance. */
  .main-column{
    align-items:center!important;
  }
  .player-wrap,
  .vibes-section{
    width:min(100%,clamp(720px,52vw,920px))!important;
    margin-left:auto!important;
    margin-right:auto!important;
  }
  .player-wrap{
    aspect-ratio:16/9!important;
  }

  /* Discovery column: slightly larger and more readable in its vertical form. */
  .discovery-desktop .discovery-head{margin-bottom:9px!important;padding-left:2px!important}
  .discovery-desktop .discovery-head h2{font-size:24px!important}
  .discovery-desktop .discovery-cards{gap:8px!important}
  .discovery-desktop .discovery-card{
    height:72px!important;
    min-height:72px!important;
    padding:9px 52px 9px 12px!important;
    border-radius:12px!important;
  }
  .discovery-desktop .discovery-card strong{
    margin-top:18px!important;
    font-size:15px!important;
    line-height:1.02!important;
  }
  .discovery-desktop .discovery-card>span:last-of-type:not(.discovery-arrow){
    font-size:9.2px!important;
  }

  /* Make the side play button look intentional and premium. */
  .discovery-desktop .discovery-arrow{
    right:10px!important;
    bottom:auto!important;
    top:50%!important;
    transform:translateY(-50%)!important;
    width:34px!important;
    height:34px!important;
    border-radius:11px!important;
    border:1px solid rgba(255,255,255,.14)!important;
    background:linear-gradient(180deg,rgba(255,255,255,.10),rgba(255,255,255,.03))!important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.08),0 8px 20px rgba(0,0,0,.28)!important;
    color:transparent!important;
    font-size:0!important;
    display:grid!important;
    place-items:center!important;
  }
  .discovery-desktop .discovery-arrow::before{
    content:"▶";
    color:#fff;
    font-size:11px;
    line-height:1;
    transform:translateX(1px);
    text-shadow:0 1px 0 rgba(0,0,0,.25);
  }
  .discovery-desktop .discovery-card:hover .discovery-arrow,
  .discovery-desktop .discovery-card:focus-visible .discovery-arrow{
    border-color:rgba(255,86,125,.55)!important;
    background:linear-gradient(180deg,rgba(255,33,79,.16),rgba(255,33,79,.05))!important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.10),0 10px 24px rgba(0,0,0,.34),0 0 0 1px rgba(255,33,79,.10)!important;
  }
}

@media(min-width:1500px){
  .layout{
    grid-template-columns:clamp(285px,16vw,325px) minmax(600px,1fr) clamp(350px,20.5vw,395px)!important;
  }
  .player-wrap,
  .vibes-section{
    width:min(100%,clamp(760px,50vw,960px))!important;
  }
}

@media(min-width:1900px){
  .layout{
    grid-template-columns:320px minmax(680px,1fr) 410px!important;
  }
  .player-wrap,
  .vibes-section{
    width:min(100%,980px)!important;
  }
}


/* ===== PLAY v6.2.6 TEST — wider center stage + fuller side rails ===== */
@media(min-width:1081px){
  /* Use more of the viewport and let all three columns grow together. */
  .layout{
    grid-template-columns:clamp(300px,18vw,360px) minmax(640px,1fr) clamp(370px,22vw,430px)!important;
    column-gap:16px!important;
  }

  /* Make the player/mood stage about 20% wider than v6.2.5. */
  .player-wrap,
  .vibes-section{
    width:min(100%,clamp(860px,62vw,1120px))!important;
    margin-left:auto!important;
    margin-right:auto!important;
  }

  /* Fill the leftover space by letting the side rails breathe more. */
  .discovery-desktop{padding-top:4px!important}
  .discovery-desktop .discovery-head{margin-bottom:10px!important;padding-left:2px!important}
  .discovery-desktop .discovery-head h2{font-size:25px!important}
  .discovery-desktop .discovery-cards{gap:9px!important}
  .discovery-desktop .discovery-card{
    height:76px!important;
    min-height:76px!important;
    padding:10px 56px 10px 14px!important;
    border-radius:13px!important;
  }
  .discovery-desktop .discovery-card strong{
    margin-top:19px!important;
    font-size:15.5px!important;
    line-height:1.03!important;
  }
  .discovery-desktop .discovery-card>span:last-of-type:not(.discovery-arrow){
    font-size:9.6px!important;
  }
  .discovery-desktop .discovery-arrow{
    width:36px!important;
    height:36px!important;
    border-radius:12px!important;
    right:12px!important;
  }
  .discovery-desktop .discovery-arrow::before{font-size:11.5px!important}

  .up-next-panel{
    padding:16px 17px!important;
    border-radius:16px!important;
  }
  .upnext-head h2{font-size:21px!important}
  .queue-item{
    grid-template-columns:28px 56px minmax(0,1fr) 18px!important;
    gap:9px!important;
    padding:6px 4px!important;
  }
  .queue-thumb{width:56px!important;height:56px!important}
  .queue-copy strong{font-size:13px!important}
  .queue-copy span{font-size:10.8px!important}

  /* Keep mood centered and balanced under the now wider player. */
  .mood-heading{margin-bottom:8px!important}
  .vibe-grid{width:min(760px,88%)!important;gap:10px!important}
  .mood-lower{width:min(760px,88%)!important;margin-top:7px!important}
}

@media(min-width:1500px){
  .layout{
    grid-template-columns:clamp(315px,18vw,370px) minmax(740px,1fr) clamp(390px,22vw,445px)!important;
  }
  .player-wrap,
  .vibes-section{
    width:min(100%,clamp(940px,60vw,1180px))!important;
  }
}

@media(min-width:1900px){
  .layout{
    grid-template-columns:340px minmax(860px,1fr) 455px!important;
    column-gap:18px!important;
  }
  .player-wrap,
  .vibes-section{
    width:min(100%,1220px)!important;
  }
}


/* ===== PLAY v6.2.7 TEST — premium Up Next + richer Mood section ===== */
@media(min-width:1081px){
  /* Premium right rail */
  .up-next-panel{
    padding:18px 18px 16px!important;
    border-radius:20px!important;
    border:1px solid rgba(255,255,255,.09)!important;
    background:
      radial-gradient(circle at 100% 0, rgba(255,33,79,.08) 0, rgba(255,33,79,0) 34%),
      linear-gradient(180deg, rgba(16,20,27,.95), rgba(8,11,16,.94))!important;
    box-shadow:0 14px 34px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.03)!important;
  }
  .weekly-feature{
    padding:14px!important;
    border-radius:14px!important;
    background:linear-gradient(180deg, rgba(255,255,255,.025), rgba(255,255,255,.01))!important;
    border:1px solid rgba(255,255,255,.06)!important;
  }
  .weekly-feature .eyebrow{font-size:10px!important;letter-spacing:.16em!important}
  .upnext-head{margin-bottom:10px!important}
  .upnext-head h2{
    font-size:34px!important;
    line-height:.95!important;
    letter-spacing:-.04em!important;
  }
  .queue-count{
    width:36px!important;height:36px!important;
    background:linear-gradient(180deg,#1a2230,#101621)!important;
    border:1px solid rgba(255,255,255,.06)!important;
    color:#dbe2ed!important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.04)!important;
  }
  .queue{gap:9px!important}
  .queue-item{
    padding:8px 8px!important;
    border-radius:14px!important;
    border:1px solid rgba(255,255,255,.04)!important;
    background:linear-gradient(180deg, rgba(255,255,255,.018), rgba(255,255,255,.008))!important;
  }
  .queue-item:hover,
  .queue-item:focus-visible{
    border-color:rgba(255,255,255,.10)!important;
    background:linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.012))!important;
    transform:translateY(-1px)!important;
  }
  .queue-index{font-size:11px!important;color:#8390a1!important;font-weight:800!important}
  .queue-thumb{border-radius:10px!important;box-shadow:0 6px 16px rgba(0,0,0,.2)!important}
  .queue-copy strong{font-size:13.5px!important;letter-spacing:-.01em!important}
  .queue-copy span{font-size:11px!important;color:#98a4b5!important}
  .queue-play{color:#8e99a8!important}
  .up-next-panel .link-btn{
    margin-top:8px!important;
    min-height:36px!important;
    font-size:10px!important;
    letter-spacing:.08em!important;
  }

  /* Mood section gets more presence and a more premium stage feel */
  .vibes-section{
    padding:12px 16px 16px!important;
    border-radius:20px!important;
    border:1px solid rgba(255,255,255,.065)!important;
    background:
      radial-gradient(circle at 50% 0, rgba(255,33,79,.06) 0, rgba(255,33,79,0) 35%),
      linear-gradient(180deg, rgba(12,16,22,.76), rgba(9,12,17,.52))!important;
    box-shadow:0 10px 26px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.03)!important;
  }
  .mood-heading{margin-bottom:12px!important}
  .mood-heading h2{
    font-size:clamp(36px,2.75vw,46px)!important;
    line-height:.94!important;
    letter-spacing:-.05em!important;
  }
  .mood-heading p{
    font-size:9.5px!important;
    letter-spacing:.12em!important;
    color:#8f9bad!important;
    margin-top:7px!important;
  }
  .vibe-grid{
    width:min(820px,92%)!important;
    gap:12px!important;
  }
  .vibe-card{
    height:58px!important;
    min-height:58px!important;
    border-radius:14px!important;
    border:1px solid rgba(255,255,255,.08)!important;
    background:linear-gradient(180deg, rgba(19,26,37,.96), rgba(11,16,23,.96))!important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.03)!important;
  }
  .vibe-card strong{font-size:14px!important;letter-spacing:.04em!important}
  .vibe-card.active{
    border-color:rgba(49,215,120,.72)!important;
    background:linear-gradient(180deg, rgba(31,88,58,.48), rgba(13,34,23,.92))!important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.05), 0 0 0 1px rgba(49,215,120,.08)!important;
  }
  .mood-lower{
    width:min(820px,92%)!important;
    margin-top:10px!important;
    gap:9px!important;
  }
  .mood-status{
    font-size:12px!important;
    color:#9aa5b5!important;
    letter-spacing:.01em!important;
  }
  .mood-status strong{
    color:var(--red)!important;
    font-size:12.5px!important;
    letter-spacing:.05em!important;
  }
  .session-actions{gap:10px!important}
  .session-actions .ghost-btn,
  .session-actions .primary-btn{
    height:38px!important;
    min-height:38px!important;
    border-radius:12px!important;
    font-size:9.5px!important;
    letter-spacing:.07em!important;
    padding:0 18px!important;
  }
  .session-actions .ghost-btn{
    min-width:162px!important;
    background:linear-gradient(180deg, rgba(21,28,39,.98), rgba(13,18,26,.98))!important;
    border-color:rgba(255,255,255,.08)!important;
  }
  .session-actions .primary-btn{
    min-width:100px!important;
    box-shadow:0 10px 20px rgba(255,33,79,.18)!important;
  }
}


/* ===== PLAY v6.2.8 TEST — playlist shuffle + premium restore + balanced rails ===== */
@media(min-width:1081px){
  .layout{
    grid-template-columns:clamp(308px,18.2vw,366px) minmax(640px,1fr) clamp(308px,18.2vw,366px)!important;
    align-items:stretch!important;
    column-gap:16px!important;
  }
  .discovery-desktop,
  .up-next-panel{
    height:100%!important;
    min-height:100%!important;
    align-self:stretch!important;
  }
  .discovery-desktop{display:flex!important;flex-direction:column!important;padding:8px 12px 12px!important}
  .discovery-desktop .discovery-cards{flex:1 1 auto!important;gap:9px!important}
  .discovery-desktop .discovery-card{
    width:102%!important;
    margin-left:-1%!important;
    margin-right:-1%!important;
    min-height:76px!important;
    height:76px!important;
  }
  .up-next-panel{display:flex!important;flex-direction:column!important}
  .queue{flex:1 1 auto!important;align-content:start!important}

  /* Restore the richer left-to-right gradients on mood buttons. */
  .vibe-card.active{background:linear-gradient(90deg,rgba(28,34,46,.96),rgba(13,18,26,.96))!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.05),0 0 0 1px rgba(255,255,255,.03)!important}
  .vibe-party.active{
    border-color:rgba(255,61,106,.88)!important;
    background:linear-gradient(90deg,rgba(255,33,79,.34) 0%,rgba(118,11,42,.22) 58%,rgba(15,20,28,.96) 100%)!important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.05),0 10px 22px rgba(255,33,79,.12)!important;
  }
  .vibe-flow.active{
    border-color:rgba(72,170,255,.82)!important;
    background:linear-gradient(90deg,rgba(47,155,255,.30) 0%,rgba(16,64,118,.22) 58%,rgba(15,20,28,.96) 100%)!important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.05),0 10px 22px rgba(47,155,255,.10)!important;
  }
  .vibe-actitud.active{
    border-color:rgba(49,215,120,.84)!important;
    background:linear-gradient(90deg,rgba(37,212,122,.28) 0%,rgba(10,76,45,.20) 58%,rgba(15,20,28,.96) 100%)!important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.05),0 10px 22px rgba(37,212,122,.10)!important;
  }

  /* Discovery play badges: more premium and clearly a play action. */
  .discovery-arrow{
    font-size:0!important;
    display:grid!important;
    place-items:center!important;
    background:
      linear-gradient(180deg,rgba(255,255,255,.12),rgba(255,255,255,.04)),
      linear-gradient(135deg,rgba(255,33,79,.20),rgba(255,33,79,.04))!important;
    border:1px solid rgba(255,255,255,.16)!important;
    box-shadow:0 10px 18px rgba(0,0,0,.16), inset 0 1px 0 rgba(255,255,255,.08)!important;
  }
  .discovery-arrow::before{
    content:'▶';
    font-size:12px!important;
    line-height:1!important;
    color:#fff!important;
    transform:translateX(1px);
  }

  /* Playlist detail actions: back CTA stays visible + add shuffle. */
  .playlist-topline{
    position:sticky!important;
    top:8px!important;
    z-index:18!important;
    margin-bottom:14px!important;
  }
  .playlist-back{
    min-height:46px!important;
    padding:0 18px!important;
    border:1px solid rgba(255,52,97,.75)!important;
    background:linear-gradient(180deg,rgba(23,18,23,.98),rgba(13,14,18,.96))!important;
    box-shadow:0 12px 24px rgba(255,33,79,.10), inset 0 1px 0 rgba(255,255,255,.04)!important;
  }
  .playlist-hero-actions{display:flex!important;flex-wrap:wrap!important;gap:10px!important;margin-top:18px!important}
  .playlist-play,.playlist-shuffle{margin-top:0!important}
  .playlist-shuffle{
    min-width:138px!important;
    height:46px!important;
    border-radius:12px!important;
    font-size:10px!important;
    letter-spacing:.08em!important;
    background:linear-gradient(180deg,rgba(21,28,39,.98),rgba(13,18,26,.98))!important;
    border:1px solid rgba(255,255,255,.08)!important;
    color:#fff!important;
  }
}
@media(max-width:720px){
  .playlist-hero-actions{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important;margin-top:14px!important}
  .playlist-shuffle,.playlist-play{min-width:0!important;width:100%!important;height:42px!important}
}


/* ===== PLAY v6.3.0 TEST — premium mobile + active playlist cue + stronger desktop mood hover ===== */

/* Playlist identity accents. Shared by desktop and mobile without changing layout. */
.discovery-new{--playlist-accent:255,49,93}
.discovery-bachata{--playlist-accent:255,93,158}
.discovery-urbano{--playlist-accent:139,92,246}
.discovery-tropical{--playlist-accent:255,159,67}
.discovery-trapusa{--playlist-accent:255,78,78}
.discovery-tipico{--playlist-accent:56,217,169}
.discovery-corridos{--playlist-accent:224,174,67}
.discovery-urbanousa{--playlist-accent:77,163,255}

.discovery-card{
  transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease,filter .18s ease!important;
}
.discovery-card.is-active-playlist{
  border-color:rgba(var(--playlist-accent),.64)!important;
  box-shadow:
    inset 4px 0 0 rgba(var(--playlist-accent),.92),
    0 0 0 1px rgba(var(--playlist-accent),.08),
    0 10px 24px rgba(0,0,0,.16)!important;
}
.discovery-card.is-active-playlist:after{
  background:
    linear-gradient(90deg,rgba(var(--playlist-accent),.24) 0%,rgba(var(--playlist-accent),.08) 34%,rgba(0,0,0,0) 66%),
    linear-gradient(90deg,rgba(0,0,0,.05),transparent 65%)!important;
}
.discovery-card.is-active-playlist .discovery-kicker{
  color:rgb(var(--playlist-accent))!important;
}
.discovery-card.is-active-playlist .discovery-kicker:after{
  content:" · TOCANDO";
  color:rgb(var(--playlist-accent));
  font-size:.86em;
  letter-spacing:.10em;
  font-weight:950;
}
.discovery-card.is-active-playlist .discovery-arrow{
  border-color:rgba(var(--playlist-accent),.72)!important;
  background:
    linear-gradient(180deg,rgba(var(--playlist-accent),.24),rgba(var(--playlist-accent),.10)),
    linear-gradient(180deg,rgba(255,255,255,.10),rgba(255,255,255,.02))!important;
  box-shadow:0 8px 18px rgba(var(--playlist-accent),.12),inset 0 1px 0 rgba(255,255,255,.08)!important;
}

/* Desktop only: mood buttons react harder on hover and preview their own identity color. */
@media(min-width:1081px) and (hover:hover){
  .vibe-card{
    transition:
      transform .16s ease,
      border-color .16s ease,
      box-shadow .16s ease,
      background .16s ease,
      filter .16s ease!important;
    will-change:transform;
  }
  .vibe-party:not(.active):hover{
    transform:translateY(-3px) scale(1.018)!important;
    border-color:rgba(255,61,106,.78)!important;
    background:linear-gradient(90deg,rgba(255,33,79,.27) 0%,rgba(110,11,40,.18) 58%,rgba(15,20,28,.98) 100%)!important;
    box-shadow:0 10px 28px rgba(255,33,79,.17),inset 0 1px 0 rgba(255,255,255,.06)!important;
  }
  .vibe-flow:not(.active):hover{
    transform:translateY(-3px) scale(1.018)!important;
    border-color:rgba(72,170,255,.76)!important;
    background:linear-gradient(90deg,rgba(47,155,255,.25) 0%,rgba(16,64,118,.17) 58%,rgba(15,20,28,.98) 100%)!important;
    box-shadow:0 10px 28px rgba(47,155,255,.15),inset 0 1px 0 rgba(255,255,255,.06)!important;
  }
  .vibe-actitud:not(.active):hover{
    transform:translateY(-3px) scale(1.018)!important;
    border-color:rgba(49,215,120,.76)!important;
    background:linear-gradient(90deg,rgba(37,212,122,.24) 0%,rgba(10,76,45,.16) 58%,rgba(15,20,28,.98) 100%)!important;
    box-shadow:0 10px 28px rgba(37,212,122,.14),inset 0 1px 0 rgba(255,255,255,.06)!important;
  }
  .vibe-card.active:hover{
    transform:translateY(-2px) scale(1.012)!important;
    filter:brightness(1.08) saturate(1.08)!important;
  }
}

/* Mobile: keep the approved vertical structure; only upgrade the finish. */
@media(max-width:720px){
  .vibes-section{
    border:1px solid rgba(255,255,255,.065)!important;
    border-radius:17px!important;
    background:
      radial-gradient(circle at 50% 0,rgba(255,33,79,.055),rgba(255,33,79,0) 34%),
      linear-gradient(180deg,rgba(13,18,25,.78),rgba(8,11,16,.58))!important;
    box-shadow:0 10px 24px rgba(0,0,0,.14),inset 0 1px 0 rgba(255,255,255,.025)!important;
    padding:12px 10px 11px!important;
  }
  .vibe-card{
    border-color:rgba(255,255,255,.085)!important;
    background:linear-gradient(180deg,rgba(19,26,37,.96),rgba(11,16,23,.96))!important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.025)!important;
  }
  .vibe-party.active{
    border-color:rgba(255,61,106,.82)!important;
    background:linear-gradient(90deg,rgba(255,33,79,.34) 0%,rgba(118,11,42,.21) 58%,rgba(15,20,28,.96) 100%)!important;
    box-shadow:0 8px 20px rgba(255,33,79,.11),inset 0 1px 0 rgba(255,255,255,.05)!important;
  }
  .vibe-flow.active{
    border-color:rgba(72,170,255,.80)!important;
    background:linear-gradient(90deg,rgba(47,155,255,.30) 0%,rgba(16,64,118,.20) 58%,rgba(15,20,28,.96) 100%)!important;
    box-shadow:0 8px 20px rgba(47,155,255,.10),inset 0 1px 0 rgba(255,255,255,.05)!important;
  }
  .vibe-actitud.active{
    border-color:rgba(49,215,120,.80)!important;
    background:linear-gradient(90deg,rgba(37,212,122,.28) 0%,rgba(10,76,45,.19) 58%,rgba(15,20,28,.96) 100%)!important;
    box-shadow:0 8px 20px rgba(37,212,122,.09),inset 0 1px 0 rgba(255,255,255,.05)!important;
  }

  .discovery-mobile{
    padding:10px!important;
    border:1px solid rgba(255,255,255,.06)!important;
    border-radius:17px!important;
    background:linear-gradient(180deg,rgba(12,16,22,.72),rgba(8,11,16,.52))!important;
    box-shadow:0 10px 24px rgba(0,0,0,.14),inset 0 1px 0 rgba(255,255,255,.025)!important;
  }
  .discovery-mobile .discovery-head{
    margin:0 1px 10px!important;
  }
  .discovery-mobile .discovery-card{
    border-color:rgba(255,255,255,.09)!important;
    border-radius:14px!important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.025)!important;
  }
  .discovery-mobile .discovery-arrow{
    font-size:0!important;
    display:grid!important;
    place-items:center!important;
    width:29px!important;
    height:29px!important;
    border-radius:10px!important;
    border:1px solid rgba(255,255,255,.17)!important;
    background:
      linear-gradient(180deg,rgba(255,255,255,.11),rgba(255,255,255,.035)),
      linear-gradient(135deg,rgba(255,33,79,.16),rgba(255,33,79,.035))!important;
    box-shadow:0 7px 16px rgba(0,0,0,.16),inset 0 1px 0 rgba(255,255,255,.07)!important;
  }
  .discovery-mobile .discovery-arrow:before{
    content:"▶";
    font-size:10.5px!important;
    line-height:1!important;
    color:#fff!important;
    transform:translateX(1px);
  }
  .discovery-mobile .discovery-card.is-active-playlist{
    border-color:rgba(var(--playlist-accent),.60)!important;
    box-shadow:
      inset 3px 0 0 rgba(var(--playlist-accent),.94),
      0 0 0 1px rgba(var(--playlist-accent),.06),
      0 8px 18px rgba(0,0,0,.14)!important;
  }

  .up-next-panel{
    border:1px solid rgba(255,255,255,.075)!important;
    border-radius:17px!important;
    background:
      radial-gradient(circle at 100% 0,rgba(255,33,79,.055),rgba(255,33,79,0) 32%),
      linear-gradient(180deg,rgba(15,19,26,.90),rgba(8,11,16,.84))!important;
    box-shadow:0 12px 26px rgba(0,0,0,.17),inset 0 1px 0 rgba(255,255,255,.025)!important;
    padding:13px 12px 11px!important;
  }
  .weekly-feature{
    border:1px solid rgba(255,255,255,.06)!important;
    border-radius:13px!important;
    background:linear-gradient(180deg,rgba(255,255,255,.024),rgba(255,255,255,.008))!important;
  }
  .queue{
    gap:5px!important;
  }
  .queue-item{
    border:1px solid rgba(255,255,255,.035)!important;
    border-radius:12px!important;
    background:linear-gradient(180deg,rgba(255,255,255,.014),rgba(255,255,255,.005))!important;
    padding-left:5px!important;
    padding-right:5px!important;
  }
  .queue-thumb{
    border-radius:9px!important;
    box-shadow:0 5px 13px rgba(0,0,0,.16)!important;
  }
  .queue-count{
    border:1px solid rgba(255,255,255,.055)!important;
    background:linear-gradient(180deg,#19212d,#10161f)!important;
    color:#d9e0ea!important;
  }
}

/* ===== PLAY v6.3.1 TEST — queue 7 + hybrid 40/50 + interaction microfixes ===== */

/* Playlist detail return CTA must sit below the sticky site header on every viewport. */
.playlist-view{scroll-margin-top:76px!important}
.playlist-topline{
  display:flex!important;
  align-items:center!important;
  min-height:46px!important;
  position:sticky!important;
  top:68px!important;
  z-index:118!important;
  pointer-events:none;
}
.playlist-back{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  visibility:visible!important;
  opacity:1!important;
  pointer-events:auto;
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
}

/* Softer active-playlist cue: still obvious, less alert-like. */
.discovery-card.is-active-playlist{
  border-color:rgba(var(--playlist-accent),.46)!important;
  box-shadow:
    inset 3px 0 0 rgba(var(--playlist-accent),.72),
    0 0 0 1px rgba(var(--playlist-accent),.045),
    0 9px 21px rgba(0,0,0,.14)!important;
}
.discovery-card.is-active-playlist:after{
  background:
    linear-gradient(90deg,rgba(var(--playlist-accent),.15) 0%,rgba(var(--playlist-accent),.05) 34%,rgba(0,0,0,0) 66%),
    linear-gradient(90deg,rgba(0,0,0,.04),transparent 65%)!important;
}

/* RANDOM is a playback context, separate from PARTY/FLOW/ACTITUD. */
.random-btn.active{
  border-color:rgba(255,33,79,.66)!important;
  background:linear-gradient(180deg,rgba(255,33,79,.20),rgba(74,10,29,.16))!important;
  box-shadow:0 8px 22px rgba(255,33,79,.14),inset 0 1px 0 rgba(255,255,255,.07)!important;
}

@media(min-width:1081px){
  /* Slightly tighter Discover spacing while preserving the approved card size. */
  .discovery-desktop .discovery-cards{gap:8px!important}
  .discovery-desktop .discovery-card{
    padding-right:52px!important;
  }
  .discovery-desktop .discovery-arrow{right:9px!important}

  /* Seven visible songs before VER MÁS. Fade hints that the queue continues. */
  .up-next-panel .queue{position:relative!important}
  .up-next-panel .queue:not(.is-expanded)::after{
    content:"";
    position:absolute;
    left:0;right:0;bottom:0;
    height:30px;
    pointer-events:none;
    background:linear-gradient(180deg,rgba(9,12,17,0),rgba(9,12,17,.72));
    border-radius:0 0 10px 10px;
  }
}

/* Stronger but still premium desktop interactions. */
@media(min-width:1081px) and (hover:hover){
  .discovery-desktop .discovery-card:hover,
  .discovery-desktop .discovery-card:focus-visible{
    transform:translateY(-3px) scale(1.012)!important;
    border-color:rgba(var(--playlist-accent),.68)!important;
    box-shadow:
      0 13px 28px rgba(0,0,0,.24),
      0 0 20px rgba(var(--playlist-accent),.10),
      inset 0 1px 0 rgba(255,255,255,.055)!important;
    filter:brightness(1.07) saturate(1.12)!important;
  }
  .discovery-desktop .discovery-card:hover:before,
  .discovery-desktop .discovery-card:focus-visible:before{
    filter:saturate(1.24) brightness(1.09)!important;
  }
  .discovery-desktop .discovery-card:hover .discovery-arrow,
  .discovery-desktop .discovery-card:focus-visible .discovery-arrow{
    transform:translateY(-50%) scale(1.09)!important;
    border-color:rgba(var(--playlist-accent),.82)!important;
    background:
      linear-gradient(180deg,rgba(var(--playlist-accent),.31),rgba(var(--playlist-accent),.12)),
      linear-gradient(180deg,rgba(255,255,255,.12),rgba(255,255,255,.03))!important;
    box-shadow:0 10px 22px rgba(var(--playlist-accent),.16),inset 0 1px 0 rgba(255,255,255,.10)!important;
  }

  #moreLikeThis,#skipBtn,.playlist-shuffle,.random-btn,.queue-toggle{
    transition:transform .15s ease,filter .15s ease,border-color .15s ease,box-shadow .15s ease,background .15s ease!important;
    will-change:transform;
  }
  #moreLikeThis:hover{
    transform:translateY(-2px) scale(1.018)!important;
    border-color:rgba(255,255,255,.21)!important;
    background:linear-gradient(180deg,rgba(33,43,58,.99),rgba(17,23,33,.99))!important;
    box-shadow:0 10px 24px rgba(0,0,0,.24),0 0 18px rgba(72,170,255,.08)!important;
  }
  #skipBtn:hover{
    transform:translateY(-2px) scale(1.02)!important;
    filter:brightness(1.10) saturate(1.08)!important;
    box-shadow:0 11px 25px rgba(255,33,79,.27)!important;
  }
  .playlist-shuffle:hover{
    transform:translateY(-2px) scale(1.025)!important;
    border-color:rgba(255,33,79,.52)!important;
    background:linear-gradient(180deg,rgba(41,31,42,.99),rgba(19,18,26,.99))!important;
    box-shadow:0 10px 24px rgba(255,33,79,.13),inset 0 1px 0 rgba(255,255,255,.08)!important;
  }
  .random-btn:hover{
    transform:translateY(-2px) scale(1.025)!important;
    border-color:rgba(255,33,79,.50)!important;
    box-shadow:0 10px 24px rgba(255,33,79,.12)!important;
  }
  .queue-toggle:hover{
    transform:translateY(-1px)!important;
    color:#ff587c!important;
    text-shadow:0 0 18px rgba(255,33,79,.22)!important;
  }
}

@media(max-width:720px){
  .playlist-view{scroll-margin-top:64px!important}
  .playlist-topline{
    min-height:42px!important;
    top:64px!important;
    margin-bottom:8px!important;
  }
  .playlist-back{
    min-height:36px!important;
    padding:0 13px!important;
    font-size:9.5px!important;
  }

  /* Keep mobile structure; make SHUFFLE smaller and vertically aligned with Play. */
  .playlist-hero-actions{
    display:flex!important;
    align-items:center!important;
    gap:7px!important;
  }
  .playlist-play{
    flex:1 1 auto!important;
    min-width:0!important;
    width:auto!important;
    height:40px!important;
    font-size:9.5px!important;
    padding:0 10px!important;
  }
  .playlist-shuffle{
    flex:0 0 104px!important;
    min-width:104px!important;
    width:104px!important;
    height:40px!important;
    padding:0 9px!important;
    font-size:9px!important;
    letter-spacing:.065em!important;
  }

  /* Tap feedback instead of desktop hover. */
  .discovery-mobile .discovery-card:active,
  #moreLikeThis:active,#skipBtn:active,.playlist-shuffle:active,.random-btn:active{
    transform:scale(.985)!important;
    filter:brightness(1.08)!important;
  }
}

@media(max-width:720px){
  .discovery-mobile .discovery-card.is-active-playlist{
    border-color:rgba(var(--playlist-accent),.46)!important;
    box-shadow:
      inset 3px 0 0 rgba(var(--playlist-accent),.72),
      0 0 0 1px rgba(var(--playlist-accent),.045),
      0 8px 18px rgba(0,0,0,.13)!important;
  }
}


/* ===== PLAY v6.3.2 TEST — spacing, action balance, mood entrance + resilient search ===== */

/* Search fallback recommendations stay inside PLAY instead of exposing technical errors. */
.search-result.is-recommendation{
  border-color:rgba(255,33,79,.28)!important;
  background:linear-gradient(180deg,rgba(255,33,79,.075),rgba(12,16,22,.98))!important;
  box-shadow:inset 3px 0 0 rgba(255,33,79,.72),0 9px 22px rgba(0,0,0,.14)!important;
}
.search-result.is-recommendation .search-meta{color:#ff6d8d!important}

/* ELIGE TU MOOD: one-time premium entrance, no layout redesign. */
.mood-heading.mood-entrance-ready{
  opacity:0;
  transform:translateY(10px);
}
.mood-heading.mood-entrance-ready.is-revealed{
  animation:moodHeadingEnter .58s cubic-bezier(.2,.82,.2,1) both;
}
.mood-heading.mood-entrance-ready h2{letter-spacing:.015em!important}
.mood-heading.mood-entrance-ready.is-revealed h2{
  animation:moodHeadingTrack .64s cubic-bezier(.2,.82,.2,1) both;
}
.mood-heading.mood-entrance-ready.is-revealed p{
  animation:moodSubEnter .52s .08s ease both;
}
@keyframes moodHeadingEnter{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}
@keyframes moodHeadingTrack{from{letter-spacing:.045em}to{letter-spacing:-.035em}}
@keyframes moodSubEnter{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){
  .mood-heading.mood-entrance-ready,.mood-heading.mood-entrance-ready.is-revealed,
  .mood-heading.mood-entrance-ready.is-revealed h2,.mood-heading.mood-entrance-ready.is-revealed p{
    opacity:1!important;transform:none!important;animation:none!important;
  }
}

@media(min-width:1081px){
  /* DESCUBRE: 1–2% more usable width and slightly less black spacing. */
  .discovery-desktop .discovery-cards{gap:7px!important}
  .discovery-desktop .discovery-card{
    width:103%!important;
    margin-left:-1.5%!important;
    margin-right:-1.5%!important;
    padding-left:14px!important;
    padding-right:54px!important;
  }
  .discovery-desktop .discovery-card strong{margin-top:17px!important}
  .discovery-desktop .discovery-card>span:last-of-type:not(.discovery-arrow){
    max-width:calc(100% - 2px)!important;
    line-height:1.12!important;
    margin-top:3px!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
  }

  /* UP NEXT: wider song cards and VER MÁS directly after the seventh item. */
  .up-next-panel .queue{
    flex:0 0 auto!important;
    width:102%!important;
    margin-left:-1%!important;
    margin-right:-1%!important;
  }
  .up-next-panel .queue-item{width:100%!important}
  .up-next-panel .queue-toggle{
    margin-top:10px!important;
    flex:0 0 auto!important;
  }
  .up-next-panel .queue-note{flex:0 0 auto!important}

  /* REPRODUCIR PLAYLIST now reacts with the same energy as SHUFFLE. */
  .playlist-play{
    transition:transform .15s ease,filter .15s ease,box-shadow .15s ease,background-position .24s ease!important;
    background:linear-gradient(100deg,#ff214f 0%,#ff315d 48%,#ff214f 100%)!important;
    background-size:180% 100%!important;
    background-position:0 0!important;
    will-change:transform;
  }
}

@media(min-width:1081px) and (hover:hover){
  .playlist-play:hover,.playlist-play:focus-visible{
    transform:translateY(-2px) scale(1.022)!important;
    filter:brightness(1.075) saturate(1.08)!important;
    background-position:100% 0!important;
    box-shadow:0 13px 30px rgba(255,33,79,.30),0 0 20px rgba(255,33,79,.12)!important;
  }
  .playlist-play:active{transform:translateY(0) scale(.992)!important}
}

@media(max-width:720px){
  /* Mobile playlist actions: one centered row, roughly 60/40, identical height. */
  .playlist-hero-actions{
    display:grid!important;
    grid-template-columns:minmax(0,1.56fr) minmax(0,1fr)!important;
    align-items:center!important;
    gap:8px!important;
    width:100%!important;
  }
  .playlist-play,.playlist-shuffle{
    width:100%!important;
    min-width:0!important;
    height:42px!important;
    min-height:42px!important;
    margin:0!important;
    align-self:center!important;
  }
  .playlist-play{padding:0 10px!important;font-size:9.4px!important}
  .playlist-shuffle{padding:0 8px!important;font-size:9.1px!important;letter-spacing:.065em!important}
  .playlist-play:active,.playlist-shuffle:active{transform:scale(.985)!important;filter:brightness(1.09)!important}
}
\n\n/* ===== PLAY v6.3.3 TEST — final pacing + UP NEXT + visible mood sequence ===== */\n@media(min-width:1081px){\n  /* DESCUBRE: final 1% pacing reduction only. */\n  .discovery-desktop .discovery-cards{gap:6px!important}\n  /* UP NEXT: +1% usable width and +1% breathing room per song. */\n  .up-next-panel .queue{width:103%!important;margin-left:-1.5%!important;margin-right:-1.5%!important}\n  .up-next-panel .queue-item{padding-top:calc(7px + 1%)!important;padding-bottom:calc(7px + 1%)!important}\n}\n\n/* Mood entrance: heading first, then PARTY / FLOW / ACTITUD in a short premium stagger. */\n.mood-heading.mood-entrance-ready + .vibe-grid .vibe-card{opacity:0;transform:translateY(7px) scale(.985)}\n.mood-heading.mood-entrance-ready.is-revealed + .vibe-grid .vibe-card{animation:moodCardEnter .42s cubic-bezier(.2,.82,.2,1) both}\n.mood-heading.mood-entrance-ready.is-revealed + .vibe-grid .vibe-card:nth-child(1){animation-delay:.10s}\n.mood-heading.mood-entrance-ready.is-revealed + .vibe-grid .vibe-card:nth-child(2){animation-delay:.17s}\n.mood-heading.mood-entrance-ready.is-revealed + .vibe-grid .vibe-card:nth-child(3){animation-delay:.24s}\n@keyframes moodCardEnter{from{opacity:0;transform:translateY(7px) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}\n@media(prefers-reduced-motion:reduce){.mood-heading.mood-entrance-ready + .vibe-grid .vibe-card{opacity:1!important;transform:none!important;animation:none!important}}\n

/* ===== PLAY v6.3.4 TEST — discovery final gap + artwork fallback + weekly +2% ===== */
@media(min-width:1081px){
  /* DESCUBRE: one final, very small pacing reduction. */
  .discovery-desktop .discovery-cards{gap:5.9px!important}

  /* TEMA DE LA SEMANA: +2% presence while preserving the right-rail structure. */
  .weekly-feature{
    width:102%!important;
    margin-left:-1%!important;
    margin-right:-1%!important;
    padding:14.3px!important;
  }
  .weekly-track{gap:9.2px!important}
  .weekly-track img{width:calc(clamp(58px,4.25vw,68px) * 1.02)!important;height:calc(clamp(58px,4.25vw,68px) * 1.02)!important}
  .weekly-label{font-size:calc(11px * 1.02)!important}
  .weekly-copy strong{font-size:calc(13px * 1.02)!important}
  .weekly-copy span{font-size:calc(10.5px * 1.02)!important}
  .weekly-play{font-size:calc(8.5px * 1.02)!important}
}

/* ===== PLAY v6.3.5 TEST — closing pass: tighter Discover + larger weekly feature ===== */
@media(min-width:1081px){
  /* DESCUBRE: close the approved inter-card gap by an additional 2%. */
  .discovery-desktop .discovery-cards{gap:5.78px!important}

  /* TEMA DE LA SEMANA: +4% more presence over v6.3.4, proportional and contained. */
  .weekly-feature{
    width:106.08%!important;
    margin-left:-3.04%!important;
    margin-right:-3.04%!important;
    padding:14.87px!important;
  }
  .weekly-track{gap:9.57px!important}
  .weekly-track img{width:calc(clamp(58px,4.25vw,68px) * 1.0608)!important;height:calc(clamp(58px,4.25vw,68px) * 1.0608)!important}
  .weekly-label{font-size:calc(11px * 1.0608)!important}
  .weekly-copy strong{font-size:calc(13px * 1.0608)!important}
  .weekly-copy span{font-size:calc(10.5px * 1.0608)!important}
  .weekly-play{font-size:calc(8.5px * 1.0608)!important}
}


/* ===== PLAY v6.3.7 TEST — tighter Discover + quicker PARTY Auto Mix fade ===== */
@media(min-width:1081px){
  /* DESCUBRE: another 2% reduction from the current inter-card gap. */
  .discovery-desktop .discovery-cards{gap:5.66px!important}
}


/* ===== MAMBO PLAY v6.4.0 — THEME SYSTEM + PWA READY ===== */
.top-actions{display:flex;align-items:center;gap:8px}.theme-toggle{font-size:18px;line-height:1}.theme-toggle span{display:block;transform:translateY(-1px)}
html[data-theme="light"]{color-scheme:light;--bg:#f6f7f9;--panel:#ffffff;--panel2:#f0f2f5;--text:#111318;--muted:#66707d;--line:#dfe3e8}
html[data-theme="light"] body{background:radial-gradient(circle at 68% 0,#fff 0,#f7f8fa 34%,#f2f4f7 72%);color:var(--text)}
html[data-theme="light"] .topbar{border-bottom-color:rgba(17,19,24,.08)}
html[data-theme="light"] .brand{color:#111318}
html[data-theme="light"] .icon-btn,html[data-theme="light"] .mini-btn{background:#fff;color:#111318;border-color:#d9dee5}
html[data-theme="light"] .up-next-panel{background:rgba(255,255,255,.94);border-color:#dde2e8;box-shadow:0 12px 34px rgba(21,28,38,.08)}
html[data-theme="light"] .weekly-feature{background:linear-gradient(145deg,#fff,#f4f6f8);border-color:#dfe3e8}
html[data-theme="light"] .weekly-track,html[data-theme="light"] .queue-item,html[data-theme="light"] .vibe-card,html[data-theme="light"] .essential,html[data-theme="light"] .search-result{color:#111318}
html[data-theme="light"] .queue-count{background:#edf0f4;color:#626c79}
html[data-theme="light"] .queue-toggle{background:#fff;color:#4f5966;border-color:#dfe3e8}
html[data-theme="light"] .search-sheet{background:rgba(235,239,244,.78)}
html[data-theme="light"] .search-panel{background:#fff;border-color:#d9dee5;box-shadow:0 24px 70px rgba(20,28,38,.16)}
html[data-theme="light"] .search-form input{background:#f7f8fa;color:#111318;border-color:#d9dee5}
html[data-theme="light"] .search-result{background:#fff;border-color:#e1e5ea}
html[data-theme="light"] .mini-player{background:rgba(255,255,255,.96);border-color:#d9dee5;box-shadow:0 16px 40px rgba(21,28,38,.14)}
html[data-theme="light"] .error-toast{background:#fff;color:#111318;border-color:#d9dee5}
html[data-theme="light"] .ghost-btn{background:#fff;color:#111318;border-color:#d9dee5}
html[data-theme="light"] .player-loading{background:linear-gradient(135deg,#f5f6f8,#e9edf1);color:#68727f}
html[data-theme="light"] .vibe-card{background:linear-gradient(145deg,#fff,#f0f2f5);border-color:#dfe3e8}
html[data-theme="light"] .vibe-card.active{background:linear-gradient(135deg,rgba(255,49,93,.16),rgba(255,255,255,.92));border-color:rgba(255,49,93,.62)}
html[data-theme="light"] .essential{background:#fff;border-color:#dfe3e8}
html[data-theme="light"] .discovery-card{box-shadow:inset 0 0 0 1px rgba(255,255,255,.16),0 8px 20px rgba(21,28,38,.08)}
@media(display-mode:standalone){body{overscroll-behavior-y:none}.topbar{padding-top:env(safe-area-inset-top,0px);height:calc(86px + env(safe-area-inset-top,0px))}}
@media(max-width:720px) and (display-mode:standalone){.topbar{height:calc(68px + env(safe-area-inset-top,0px))}}

/* ===== MAMBO PLAY v6.4.1 — TRUE LIGHT THEME PASS ===== */
html[data-theme="light"] .topbar{background:#17191e!important;border-bottom-color:#262b33!important}
html[data-theme="light"] .brand{color:#f7f8fa!important}
html[data-theme="light"] .powered{color:#929aa6!important}
html[data-theme="light"] .topbar .icon-btn{background:#fff!important;color:#17191e!important;border-color:#e2e5e9!important}
html[data-theme="light"] .random-btn{background:#0e131a!important;color:#fff!important;border-color:#2a313b!important}
html[data-theme="light"] .discovery-desktop{background:rgba(255,255,255,.88)!important;border-color:#dfe3e8!important;box-shadow:0 10px 28px rgba(21,28,38,.055)!important}
html[data-theme="light"] .discovery-head h2{color:#15181d!important}
html[data-theme="light"] .vibes-section{background:linear-gradient(180deg,#f7f8fa,#eef1f4)!important;border-color:#d9dee5!important;box-shadow:0 10px 28px rgba(21,28,38,.06)!important}
html[data-theme="light"] .mood-heading h2{color:#171a1f!important}
html[data-theme="light"] .mood-heading p,html[data-theme="light"] .mood-status,html[data-theme="light"] .mood-retap{color:#66707d!important}
html[data-theme="light"] .vibe-card{color:#15181d!important;background:linear-gradient(180deg,#fff,#f1f3f6)!important;border-color:#d7dce3!important;box-shadow:0 5px 14px rgba(21,28,38,.045),inset 0 1px 0 #fff!important}
html[data-theme="light"] .vibe-card span{color:#68727f!important}
html[data-theme="light"] .vibe-party{background:linear-gradient(90deg,rgba(255,33,79,.12),#fff 58%,#f1f3f6)!important}
html[data-theme="light"] .vibe-flow{background:linear-gradient(90deg,rgba(47,155,255,.12),#fff 58%,#f1f3f6)!important}
html[data-theme="light"] .vibe-actitud{background:linear-gradient(90deg,rgba(37,212,122,.11),#fff 58%,#f1f3f6)!important}
html[data-theme="light"] .vibe-party.active{background:linear-gradient(90deg,rgba(255,33,79,.25),rgba(255,255,255,.96) 72%)!important;border-color:rgba(255,33,79,.62)!important}
html[data-theme="light"] .vibe-flow.active{background:linear-gradient(90deg,rgba(47,155,255,.24),rgba(255,255,255,.96) 72%)!important;border-color:rgba(47,155,255,.60)!important}
html[data-theme="light"] .vibe-actitud.active{background:linear-gradient(90deg,rgba(37,212,122,.22),rgba(255,255,255,.96) 72%)!important;border-color:rgba(37,180,104,.58)!important}
html[data-theme="light"] .up-next-panel{background:#f7f8fa!important;border-color:#dce1e7!important;box-shadow:0 12px 34px rgba(21,28,38,.07)!important}
html[data-theme="light"] .upnext-head h2,html[data-theme="light"] .queue-copy strong,html[data-theme="light"] .weekly-copy strong{color:#171a1f!important}
html[data-theme="light"] .queue-copy span,html[data-theme="light"] .weekly-copy span,html[data-theme="light"] .queue-index,html[data-theme="light"] .queue-play{color:#68727f!important}
html[data-theme="light"] .queue-item{background:#fff!important;border-color:#e1e5ea!important;color:#171a1f!important;box-shadow:0 3px 10px rgba(21,28,38,.035)!important}
html[data-theme="light"] .weekly-feature{background:linear-gradient(145deg,#fff,#f2f4f7)!important;border-color:#dce1e7!important;box-shadow:0 5px 16px rgba(21,28,38,.04)!important}
html[data-theme="light"] .weekly-track{color:#171a1f!important}
html[data-theme="light"] .queue-toggle{background:#fff!important;color:#3e4651!important;border-color:#d9dee5!important}
html[data-theme="light"] #moreLikeThis{background:#fff!important;color:#20242a!important;border-color:#d7dce3!important}
@media(min-width:1081px) and (hover:hover){
 html[data-theme="light"] .vibe-party:not(.active):hover{background:linear-gradient(90deg,rgba(255,33,79,.20),#fff 70%)!important}
 html[data-theme="light"] .vibe-flow:not(.active):hover{background:linear-gradient(90deg,rgba(47,155,255,.19),#fff 70%)!important}
 html[data-theme="light"] .vibe-actitud:not(.active):hover{background:linear-gradient(90deg,rgba(37,212,122,.18),#fff 70%)!important}
}
@media(max-width:720px){
 html[data-theme="light"] .vibes-section{background:linear-gradient(180deg,#f8f9fb,#eef1f4)!important;border-color:#dce1e7!important;box-shadow:0 8px 22px rgba(21,28,38,.06)!important}
 html[data-theme="light"] .vibe-card{background:linear-gradient(180deg,#fff,#f1f3f6)!important;border-color:#d7dce3!important}
}

/* ===== MAMBO PLAY v6.4.2 — LIGHT THEME CONTRAST FIX ===== */
html[data-theme="light"] .vibes-section{background:#f4f5f7!important;border-color:#d9dee5!important}
html[data-theme="light"] .mood-heading h2{color:#111318!important}
html[data-theme="light"] .mood-heading p{color:#5f6874!important}
html[data-theme="light"] .vibe-card strong{color:#111318!important;text-shadow:none!important}
html[data-theme="light"] .vibe-party strong{color:#9f1735!important}
html[data-theme="light"] .vibe-flow strong{color:#155b9f!important}
html[data-theme="light"] .vibe-actitud strong{color:#176b45!important}
html[data-theme="light"] .vibe-party{background:linear-gradient(90deg,#ffe8ee 0%,#fff 62%,#f4f5f7 100%)!important;border-color:#efb2c0!important}
html[data-theme="light"] .vibe-flow{background:linear-gradient(90deg,#e7f3ff 0%,#fff 62%,#f4f5f7 100%)!important;border-color:#b8d9f7!important}
html[data-theme="light"] .vibe-actitud{background:linear-gradient(90deg,#e6f8ef 0%,#fff 62%,#f4f5f7 100%)!important;border-color:#b9e4cf!important}
html[data-theme="light"] .up-next-panel{background:#f4f5f7!important;border-color:#d9dee5!important;color:#111318!important}
html[data-theme="light"] .upnext-head h2{color:#111318!important;text-shadow:none!important}
html[data-theme="light"] .queue-count{background:#e5e9ee!important;color:#303844!important}
html[data-theme="light"] .queue-item{background:#fff!important;border-color:#e0e4e9!important;color:#111318!important}
html[data-theme="light"] .queue-item .queue-copy strong{color:#111318!important;opacity:1!important}
html[data-theme="light"] .queue-item .queue-copy span{color:#5f6874!important;opacity:1!important}
html[data-theme="light"] .queue-index,html[data-theme="light"] .queue-play{color:#5f6874!important;opacity:1!important}
html[data-theme="light"] .weekly-feature{background:#fff!important;border-color:#dce1e7!important;color:#111318!important}
html[data-theme="light"] .weekly-feature .weekly-label{color:#d7194b!important}
html[data-theme="light"] .weekly-feature .weekly-copy strong{color:#111318!important;opacity:1!important}
html[data-theme="light"] .weekly-feature .weekly-copy span{color:#5f6874!important;opacity:1!important}
html[data-theme="light"] .weekly-feature .weekly-play{color:#d7194b!important;opacity:1!important}
html[data-theme="light"] .queue-toggle{background:#fff!important;color:#303844!important;border-color:#d9dee5!important}
html[data-theme="light"] #moreLikeThis{background:#fff!important;color:#20242a!important;border-color:#d7dce3!important}
