/* LS Status Bar (Ryan, Oct 26 2026): oval frosted-glass bubble, towers big-to-small, green fill left to right,
   last two towers gold until reached, the whole bar gold with a soft glow when done. Used app-wide (see ls-status-bar.js). */
.lssb{display:inline-flex;align-items:flex-end;justify-content:center;gap:5px;box-sizing:border-box;height:44px;padding:8px 20px;border-radius:999px;
 border:1.5px solid rgba(235,198,94,.85);background:linear-gradient(180deg,rgba(255,255,255,.16),rgba(255,255,255,.05) 50%,rgba(255,255,255,.02)),rgba(26,8,24,.5);
 -webkit-backdrop-filter:blur(16px) saturate(1.35);backdrop-filter:blur(16px) saturate(1.35);
 box-shadow:inset 0 1px 0 rgba(255,236,190,.38),0 0 14px rgba(214,160,50,.22),0 6px 18px rgba(0,0,0,.3);transition:border-color .5s,box-shadow .5s}
.lssb i{position:relative;display:block;flex:0 0 auto;width:8px;height:var(--h);border-radius:4px 4px 3px 3px;overflow:hidden;
 background:rgba(255,245,225,.14);box-shadow:inset 0 0 0 1px rgba(255,245,225,.18)}
.lssb i b{position:absolute;left:0;right:0;bottom:0;height:calc(var(--f,0) * 100%);border-radius:inherit;
 background:linear-gradient(180deg,#9BF0A6,#3FC163 55%,#24924A);box-shadow:0 0 8px rgba(80,220,120,.45);transition:height .6s cubic-bezier(.2,.8,.2,1),background .5s}
/* the last two towers wait in gold until the progress reaches them */
.lssb i.end{background:rgba(235,198,94,.32);box-shadow:inset 0 0 0 1px rgba(242,203,106,.85),0 0 8px rgba(235,198,94,.35)}
.lssb.live i.now b{animation:lssb-breathe 1.6s ease-in-out infinite}
@keyframes lssb-breathe{50%{filter:brightness(1.35)}}
/* done: the whole bar turns gold with a soft glow */
.lssb.done{border-color:#F2CB6A;box-shadow:inset 0 1px 0 rgba(255,236,190,.5),0 0 22px rgba(242,203,106,.6),0 6px 18px rgba(0,0,0,.3);animation:lssb-glow 2.6s ease-in-out infinite}
.lssb.done i{background:rgba(235,198,94,.35);box-shadow:inset 0 0 0 1px rgba(242,203,106,.9)}
.lssb.done i b{height:100%;background:linear-gradient(180deg,#FFF0B8,#F2CB6A 45%,#B8860B);box-shadow:0 0 10px rgba(242,203,106,.7)}
@keyframes lssb-glow{50%{box-shadow:inset 0 1px 0 rgba(255,236,190,.5),0 0 32px rgba(242,203,106,.85),0 6px 18px rgba(0,0,0,.3)}}
.lssb-sm{height:34px;gap:4px;padding:6px 14px}.lssb-sm i{width:6px}
/* the app-wide fixed slot: centered just above the tab bar, inside the safe area */
.lssb-slot{position:fixed;z-index:41;left:50%;transform:translateX(-50%);bottom:calc(var(--tabh,68px) + var(--tabpad,calc(env(safe-area-inset-bottom,0px) + 8px)) + 10px);
 margin:0;padding:0;border:0;background:none;border-radius:999px;cursor:pointer;-webkit-tap-highlight-color:transparent}
.lssb-slot[hidden]{display:none}
html.playing .lssb-slot{bottom:calc(var(--tabh,68px) + var(--tabpad,calc(env(safe-area-inset-bottom,0px) + 8px)) + 88px)}
html.req-open .lssb-slot{display:none}
@media (prefers-reduced-motion:reduce){.lssb,.lssb i b{transition:none}.lssb.live i.now b,.lssb.done{animation:none}}
