:root{--mobile-nav-clearance:0px}
.mobile-dock{display:none}
@media(max-width:760px){
 :root{--mobile-nav-clearance:calc(88px + env(safe-area-inset-bottom,0px))}
 html{scroll-padding-bottom:calc(var(--mobile-nav-clearance) + 20px)}
 body{padding-bottom:var(--mobile-nav-clearance)}
 body.has-player{padding-bottom:calc(145px + var(--mobile-nav-clearance))}
 .mobile-dock{position:fixed;z-index:85;left:12px;right:12px;bottom:calc(10px + env(safe-area-inset-bottom,0px));display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;min-height:68px;padding:6px;border:1px solid #a5c7ef45;border-radius:23px;background:#111b30;box-shadow:0 12px 36px #02071366,inset 0 1px #ffffff24;isolation:isolate;overflow:hidden;-webkit-tap-highlight-color:transparent}
 @supports ((backdrop-filter:blur(18px)) or (-webkit-backdrop-filter:blur(18px))){.mobile-dock{background:linear-gradient(125deg,#132d40bd,#19203dce 58%,#28233cbd);backdrop-filter:blur(24px) saturate(140%);-webkit-backdrop-filter:blur(24px) saturate(140%)}}
 .mobile-dock::before{content:'';position:absolute;z-index:-1;inset:-70% -20%;pointer-events:none;background:radial-gradient(ellipse at 20% 70%,#71e8f52a,transparent 48%),radial-gradient(ellipse at 80% 30%,#b8a0ff33,transparent 45%);animation:dock-sheen 12s ease-in-out infinite alternate}
 .mobile-dock a{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-width:0;min-height:54px;padding:6px 2px;border:1px solid transparent;border-radius:17px;color:#d0d9ef;text-decoration:none;font-size:11px;line-height:1.2;font-weight:550;transition:background .18s,color .18s,border-color .18s}
 .mobile-dock a svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;flex:none}
 .mobile-dock a[aria-current=page]{color:#94f2ff;background:linear-gradient(135deg,#69e1f326,#b5a0ff1b);border-color:#9cebf532;box-shadow:inset 0 1px #e2f9ff14}
 .mobile-dock a[aria-current=page]::after{content:'';position:absolute;bottom:2px;width:17px;height:2px;border-radius:3px;background:linear-gradient(90deg,#8ae9f8,#c9b9ff)}
 .mobile-dock a:focus-visible{outline:2px solid #b8f5ff;outline-offset:-3px}
 .mobile-dock a:active{background:#b9d9ff22}
 .music-library.has-selection:not(.is-compact):not(.is-expanded) .ml-player{bottom:var(--mobile-nav-clearance);left:10px;right:10px;width:auto;padding-bottom:13px;border:1px solid #63769b78;border-radius:19px;background:linear-gradient(135deg,#132940eb,#211f3bed);backdrop-filter:blur(22px);-webkit-backdrop-filter:blur(22px)}
 #music-player{bottom:var(--mobile-nav-clearance)}
 .toast{bottom:calc(var(--mobile-nav-clearance) + 18px)}
 body.has-player .toast{bottom:calc(var(--mobile-nav-clearance) + 150px)}
 body:has(#view-account:not([hidden]) .music-library.has-selection:not(.is-compact)) .toast{bottom:calc(var(--mobile-nav-clearance) + 180px)}
 html[data-keyboard-open=true] .mobile-dock,html[data-keyboard-open=true] .music-library.has-selection:not(.is-compact):not(.is-expanded) .ml-player,html[data-keyboard-open=true] #music-player{display:none}
 html[data-keyboard-open=true]{--mobile-nav-clearance:0px}
 html[data-keyboard-open=true] body .toast{bottom:18px}
 @keyframes dock-sheen{from{transform:translate3d(-4%,3%,0)}to{transform:translate3d(4%,-3%,0)}}
}
@media(prefers-reduced-motion:reduce){.mobile-dock::before{animation:none}.mobile-dock a{transition:none}}
@media(prefers-reduced-transparency:reduce){.mobile-dock{background:#142239;backdrop-filter:none;-webkit-backdrop-filter:none}.mobile-dock::before{display:none}}
