:root{--app-height:100%;--app-top:0px;--safe-top:env(safe-area-inset-top,0px);--safe-bottom:env(safe-area-inset-bottom,0px);--safe-left:env(safe-area-inset-left,0px);--safe-right:env(safe-area-inset-right,0px);--frame-bottom:var(--safe-bottom);--viewport-safe-top:max(0px,calc(var(--safe-top) - var(--app-top)))}
.wp-screen,#am-admin-root{top:var(--app-top);bottom:auto;height:var(--app-height);min-height:0;box-sizing:border-box}
.wp-screen,#am-admin-root,#am-root{padding-left:var(--safe-left);padding-right:var(--safe-right)}
.app-keyboard{--frame-bottom:0px}
dialog{position:fixed;inset:auto 0 auto;top:calc(var(--app-top) + var(--viewport-safe-top) + 12px);margin:0 auto!important;max-height:calc(var(--app-height) - var(--viewport-safe-top) - var(--frame-bottom) - 24px);overflow:auto}
@media(max-width:1099px){
 html:has(body.p-mobile-frame){height:100%;min-height:0;overflow:hidden}
 body.p-mobile-frame{position:fixed;inset:var(--app-top) 0 auto;height:var(--app-height);min-height:0;display:flex;flex-direction:column;padding:var(--viewport-safe-top) 0 0;box-sizing:border-box;overflow:hidden}
 .app-keyboard body.p-mobile-frame{top:var(--app-top);bottom:auto;height:var(--app-height)}
 body.p-mobile-frame:not(:has(>.demo-ribbon)){padding-top:var(--viewport-safe-top)}
 body.p-mobile-frame>#app{flex:1 1 0;min-height:0;overflow:auto;margin:0!important;scroll-padding-bottom:20px;padding-left:var(--safe-left);padding-right:var(--safe-right);box-sizing:border-box}
 body.p-mobile-frame>.p-nav{position:relative;inset:auto;transform:none;flex:0 0 auto;box-sizing:border-box;width:100%;margin:0;border-radius:18px 18px 0 0;padding:8px calc(12px + var(--safe-right)) calc(8px + var(--frame-bottom)) calc(12px + var(--safe-left));min-height:0}
 body.p-mobile-frame>.p-nav button{min-height:44px}
 body.p-mobile-frame>.p-nav .p-add{margin-top:0}
 body.p-mobile-frame .shell,body.p-mobile-frame .p-shell{min-height:0;padding-bottom:20px}
 body.p-mobile-frame .team-content{padding-bottom:20px}
 body.p-mobile-frame>#app:has(>.workspace){overflow:hidden}
 body.p-mobile-frame .workspace{display:block;height:100%;min-height:0;margin:0;border-radius:0}
 body.p-mobile-frame .workspace-aside{display:none}
 body.p-mobile-frame .workspace-main{height:100%;min-height:0}
 body.p-mobile-frame .workspace-header{padding-top:12px}
 body.p-mobile-frame .workspace-body{min-height:0}
 body.p-mobile-frame .composer{padding-bottom:12px}
 body.p-mobile-frame:not(:has(>.p-nav)) .composer{padding-bottom:max(12px,var(--frame-bottom))}
 .app-keyboard body.p-mobile-frame:not(:has(>.p-nav)) .composer{padding-bottom:8px}
 .app-keyboard body.p-mobile-frame>.p-nav{padding-bottom:6px}
 .workspace-tabs{gap:22px;overflow-x:auto;white-space:nowrap;scrollbar-width:none}
}
#am-root{position:fixed;inset:auto 0 auto;top:var(--app-top);height:var(--app-height);min-height:0;max-height:none;box-sizing:border-box;padding:var(--viewport-safe-top) var(--safe-right) var(--frame-bottom) var(--safe-left);display:flex;flex-direction:column;overflow:hidden}
#am-root>header{flex:0 0 auto;height:auto;padding:10px 20px;min-height:52px;box-sizing:border-box}
#am-root>header button{min-height:44px}
#am-root>main{flex:1;min-height:0;overflow:auto;width:100%;max-width:580px;box-sizing:border-box;margin:0 auto;padding:6px 22px 12px;display:flex;flex-direction:column;gap:8px}
#am-root:has(.am-now)>main{overflow:auto;overscroll-behavior:contain}
#am-root .am-now{flex:1;min-height:0;display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto auto auto auto auto auto auto;align-items:center;gap:6px;text-align:center}
#am-root .am-now>.am-cover,#am-root .am-now>.am-art{height:100%;min-height:0;width:auto;max-width:100%;max-height:100%;aspect-ratio:1;object-fit:contain;justify-self:center;margin:0;border-radius:18px}
#am-root .am-picked{margin:0;font-size:10px;line-height:1.2}
#am-root .am-now h2{font-size:clamp(20px,5vw,29px);margin:0;line-height:1.15;max-height:2.3em;overflow:hidden}
#am-root .am-technical{font-size:10px;line-height:1.2;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#am-root .am-meta{font-size:11px;line-height:1.3;margin:0}
#am-root .am-seek{margin:0;display:block;height:24px}
#am-root .am-times{font-size:11px;line-height:1;margin:0}
#am-root .am-transport{margin:0;min-height:64px;gap:35px}
#am-root .am-play{width:64px;height:64px;min-height:64px}
#am-root .am-volume{margin:0;min-height:38px;gap:12px;font-size:11px}
#am-root .am-player-tools{flex:0 0 auto;display:flex;justify-content:center;gap:12px;margin:0}
#am-root .am-player-tools button{min-height:44px;width:auto;flex:1;max-width:200px;padding:6px 12px;font-size:11px}
#am-root .am-settings{position:absolute;z-index:5;bottom:max(12px,var(--frame-bottom));left:12px;right:12px;max-width:520px;margin:auto;max-height:70%;overflow:auto;box-shadow:0 0 0 100vmax #0008}
#am-root .am-settings>button{min-height:44px;width:100%;background:none;color:inherit}
#am-root .am-library-mini{flex:0 0 auto;position:relative;box-sizing:border-box}
#am-root input[type=range]::-webkit-slider-runnable-track{background:linear-gradient(to right,#f168a0 var(--fill,0%),#343b49 var(--fill,0%))}
#am-root input[type=range]::-webkit-slider-thumb{background:#f168a0}
@media(max-height:650px){#am-root>header{padding:4px 16px;min-height:48px}#am-root .am-now{gap:3px}#am-root .am-picked{display:none}#am-root .am-now{grid-template-rows:minmax(0,1fr) auto auto auto auto auto auto}#am-root .am-player-tools{gap:8px}#am-root .am-now h2{font-size:21px}#am-root>main{gap:4px;padding-bottom:6px}}
@media(orientation:landscape) and (max-height:520px){#am-root>main{max-width:900px}#am-root .am-now{grid-template-columns:minmax(80px,.8fr) minmax(200px,1.2fr);grid-template-rows:auto auto auto auto auto auto;column-gap:22px}#am-root .am-now>.am-cover,#am-root .am-now>.am-art{grid-column:1;grid-row:1/8;max-height:210px}#am-root .am-now>:not(.am-cover):not(.am-art){grid-column:2}#am-root .am-picked,#am-root .am-technical{display:none}#am-root .am-transport{min-height:52px}#am-root .am-play{width:50px;height:50px;min-height:50px}#am-root .am-volume{min-height:30px}}
@media(max-height:520px) and (max-width:1099px){body.p-mobile-frame .workspace-header{padding-top:6px;padding-bottom:6px}body.p-mobile-frame .workspace-header .forms-style-chip{display:none}body.p-mobile-frame .workspace-body{padding:8px 16px}body.p-mobile-frame .anna-workspace-mini .am-mini{min-height:54px;padding:6px 0}body.p-mobile-frame .composer{padding-top:8px}}
@media(orientation:landscape) and (max-height:520px){#am-root .am-now{grid-template-rows:auto auto 20px 11px 50px 28px;row-gap:2px}#am-root .am-now>.am-cover,#am-root .am-now>.am-art{grid-row:1/7}#am-root .am-seek{height:20px}#am-root .am-transport{height:50px;min-height:50px}#am-root .am-transport>button{width:44px;height:44px;min-height:44px}#am-root .am-transport .am-play{width:50px;height:50px;min-height:50px}#am-root .am-volume{height:28px;min-height:28px}}
@media(orientation:landscape) and (max-height:340px){#am-root>header{padding:0 12px;min-height:44px}#am-root .am-meta{display:none}#am-root .am-now{grid-template-rows:22px 16px 10px 44px 24px}#am-root .am-now>.am-cover,#am-root .am-now>.am-art{grid-row:1/6}#am-root .am-now h2{font-size:18px}#am-root .am-transport,#am-root .am-transport .am-play{height:44px;min-height:44px}#am-root .am-seek{height:16px}#am-root .am-volume{height:24px;min-height:24px}}

#am-root .am-now{flex-shrink:0;min-height:360px}#am-root .am-player-tools{flex-shrink:0}

