/* The native app keeps its existing chrome. This opt-in is applied by mobile.js only in browsers. */
#eb-web-header-space,.eb-web-nav-selection{display:none}
@media(max-width:760px){
 html[data-eb-mobile-design]{--eb-nav-height:64px;--eb-nav-bottom:calc(env(safe-area-inset-bottom,0px) + max(6px,calc(12px - env(safe-area-inset-bottom,0px))));--nav-height:76px}
 html[data-eb-mobile-design] #eb-web-header-space{display:block;pointer-events:none}
 html[data-eb-mobile-design] body>.site-header{position:fixed!important;top:0!important;left:0;right:0;height:calc(86px + env(safe-area-inset-top,0px))!important;padding-top:env(safe-area-inset-top,0px);z-index:40!important;background:transparent!important;border:0!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;isolation:isolate;overflow:visible!important;transform:translateZ(0);backface-visibility:hidden}
 html[data-eb-mobile-design] body>.site-header::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:rgba(17,17,17,.68);border-bottom:1px solid rgba(255,255,255,.05);-webkit-backdrop-filter:blur(24px) saturate(140%);backdrop-filter:blur(24px) saturate(140%)}
 html[data-eb-mobile-design] .site-header .header-inner{position:relative;height:86px!important}
 html[data-eb-mobile-design] .site-header .mobile-language-switch{width:96px!important;min-width:96px!important;height:50px!important;padding:3px!important;gap:2px!important;top:18px!important}
 html[data-eb-mobile-design] .site-header .mobile-language-switch button{width:44px!important;height:44px!important;flex:0 0 44px;padding:0!important;min-width:44px!important;min-height:44px!important}
 html[data-eb-mobile-design] .site-header .header-actions>a[data-icon=search]{width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important}
 html[data-eb-mobile-design] .bottom-nav{left:16px!important;right:16px!important;bottom:var(--eb-nav-bottom)!important;height:var(--eb-nav-height)!important;padding:5px 4px!important;gap:0!important;max-width:none!important;border:1px solid rgba(255,255,255,.13)!important;border-radius:999px!important;background:linear-gradient(135deg,rgba(255,255,255,.07),rgba(255,255,255,.015) 60%),rgba(0,0,0,.26)!important;-webkit-backdrop-filter:blur(24px) saturate(145%)!important;backdrop-filter:blur(24px) saturate(145%)!important;box-shadow:0 6px 24px rgba(0,0,0,.22),inset 0 1px 0 rgba(255,255,255,.12)!important;overflow:visible!important;isolation:isolate;touch-action:none;transform-origin:center;transition:transform .28s cubic-bezier(.22,.75,.2,1),opacity .18s ease!important}
 html[data-eb-mobile-design] .bottom-nav>a{position:relative;height:54px!important;min-height:44px!important;gap:3px!important;z-index:1;border-radius:999px!important;color:#fff!important;transform:none;transition:color .15s ease,transform .24s cubic-bezier(.22,.75,.2,1)!important;-webkit-tap-highlight-color:transparent}
 html[data-eb-mobile-design] .bottom-nav>a>span:not([data-icon]){font-family:-apple-system,BlinkMacSystemFont,"Inter",sans-serif!important;font-size:11px!important;line-height:14px!important;font-weight:500!important;letter-spacing:0!important;text-transform:none!important}
 html[data-eb-mobile-design] .bottom-nav>a>[data-icon]{display:grid;place-items:center;height:25px;line-height:0}
 html[data-eb-mobile-design] .bottom-nav>a svg{width:24px!important;height:24px!important;stroke-width:1.7!important}
 html[data-eb-mobile-design] .bottom-nav>a [data-icon=music] svg{width:30px!important;height:30px!important;stroke-width:1.6!important}
 html[data-eb-mobile-design] .bottom-nav>a::before,html[data-eb-mobile-design] .bottom-nav>a::after{display:none!important}
 html[data-eb-mobile-design] .bottom-nav>a[aria-current=page]{color:#e89000!important}
 html[data-eb-mobile-design] .bottom-nav.eb-touching>a{color:#fff!important}
 html[data-eb-mobile-design] .bottom-nav.eb-touching>a.eb-drag-target{color:#e89000!important;transform:scale(1.1)!important}
 html[data-eb-mobile-design] .bottom-nav.eb-touching{transform:scale(1.025,1.045)}
 html[data-eb-mobile-design] .eb-web-nav-selection{display:block;position:absolute;left:0;top:4px;height:54px;width:calc((100% - 8px)/5 - 3px);z-index:0;pointer-events:none;border-radius:999px;background:linear-gradient(145deg,rgba(255,255,255,.14),rgba(255,255,255,.035)),rgba(255,255,255,.045);border:1px solid rgba(255,255,255,.3);box-shadow:inset 0 1px 1px rgba(255,255,255,.2),0 3px 9px rgba(0,0,0,.14);-webkit-backdrop-filter:blur(8px) saturate(125%);backdrop-filter:blur(8px) saturate(125%);transform:translateX(var(--eb-selection-x,4px));transition:transform .32s cubic-bezier(.22,.75,.2,1),opacity .18s,background .16s}
 html[data-eb-mobile-design] .bottom-nav.eb-touching .eb-web-nav-selection{transition:none;background:linear-gradient(145deg,rgba(255,255,255,.23),rgba(255,255,255,.07));border-color:rgba(255,255,255,.5);transform:translateX(var(--eb-selection-x,4px)) scale(1.055,1.035);box-shadow:inset 0 1px 1px rgba(255,255,255,.28),0 3px 12px rgba(0,0,0,.25)}
 html[data-eb-mobile-design] .bottom-nav-fade{display:block!important;position:fixed;left:0;right:0;bottom:0;height:calc(var(--eb-nav-height) + var(--eb-nav-bottom) + 24px)!important;pointer-events:none;z-index:29;background:linear-gradient(to bottom,transparent,rgba(17,17,17,.15) 35%,rgba(17,17,17,.7));-webkit-backdrop-filter:blur(12px)!important;backdrop-filter:blur(12px)!important;-webkit-mask-image:linear-gradient(to bottom,transparent,#000 80%);mask-image:linear-gradient(to bottom,transparent,#000 80%);transition:transform .28s cubic-bezier(.22,.75,.2,1),opacity .18s ease}
 /* Reserve the new menu footprint without restyling the player in this block. */
 html[data-eb-mobile-design] .mini-player{bottom:calc(var(--eb-nav-bottom) + var(--eb-nav-height) + 8px)!important}
 html[data-eb-mobile-design][data-eb-chrome-hidden] .bottom-nav,
 html[data-eb-mobile-design][data-eb-chrome-hidden] .bottom-nav-fade{transform:translateY(calc(100% + var(--eb-nav-bottom) + 32px))!important;opacity:0!important;pointer-events:none!important}
 html[data-eb-mobile-design] body.watch-immersive>.site-header{visibility:hidden;pointer-events:none}
 @media(max-width:390px){html[data-eb-mobile-design] .site-header .brand img{width:min(174px,calc(100vw - 232px))!important;height:auto!important}}
 @supports not ((-webkit-backdrop-filter:blur(1px)) or (backdrop-filter:blur(1px))){html[data-eb-mobile-design] .bottom-nav{background:#242420!important}html[data-eb-mobile-design] body>.site-header::before{background:#111}}
 @media(prefers-reduced-transparency:reduce){html[data-eb-mobile-design] .bottom-nav,html[data-eb-mobile-design] .eb-web-nav-selection{background:#242420!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}html[data-eb-mobile-design] .eb-web-nav-selection{background:#494944!important}html[data-eb-mobile-design] body>.site-header::before{background:#111;-webkit-backdrop-filter:none;backdrop-filter:none}html[data-eb-mobile-design] .bottom-nav-fade{-webkit-backdrop-filter:none!important;backdrop-filter:none!important}}
 @media(prefers-contrast:more){html[data-eb-mobile-design] .bottom-nav{background:rgba(18,18,18,.92)!important;border-color:#ffffff66!important}html[data-eb-mobile-design] .eb-web-nav-selection{border-color:#ffffff99!important}}
 @media(prefers-reduced-motion:reduce){html[data-eb-mobile-design] .bottom-nav,html[data-eb-mobile-design] .bottom-nav>a,html[data-eb-mobile-design] .eb-web-nav-selection,html[data-eb-mobile-design] .bottom-nav-fade{transition:none!important}html[data-eb-mobile-design] .bottom-nav.eb-touching,html[data-eb-mobile-design] .bottom-nav.eb-touching>a.eb-drag-target{transform:none!important}html[data-eb-mobile-design] .bottom-nav.eb-touching .eb-web-nav-selection{transform:translateX(var(--eb-selection-x,4px))!important}}
}

/* Match the app touch target without changing the heart glyph. */
@media(max-width:760px){
 html[data-eb-mobile-design] #musicResults .track-row>.favorite-button{width:44px!important;min-width:44px!important;height:44px!important;min-height:44px!important;flex-shrink:0}
}

@media(max-width:760px){
 html[data-eb-mobile-design] body>#content{background-color:#111;isolation:isolate}
}

/* Let the same glass surface bleed into Safari's exposed upper safe area.
   Only the decorative layer extends; controls and header geometry stay unchanged. */
@media(max-width:760px){
 html[data-eb-mobile-design]{background-color:#111}
 html[data-eb-mobile-design] body>.site-header::before{
  top:calc(-1 * env(safe-area-inset-top,0px));
  bottom:0;
 }
}
