/* Нейрополис v8.8.6 — the live island (js/ui/live.js): the workout now (+ Prisma Music) in one black pill at the top; a tap
   morphs it into the card. The same family as the club's island (css/prisma.css): black, a soft glow, a spring. */
.lv-isl {
  --g: 72, 214, 130; --spr: cubic-bezier(0.3, 1.18, 0.45, 1); --dur: 0.52s;
  position: fixed; z-index: 44; left: 50%; top: 20px; width: 260px; height: 44px; box-sizing: border-box;
  border-radius: 24px; overflow: hidden; color: #fff; font-family: var(--font); -webkit-tap-highlight-color: transparent;
  background: radial-gradient(150% 130% at 0% 0%, rgba(var(--g), 0.2), rgba(var(--g), 0) 50%), #000;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 10px 24px -10px rgba(var(--g), 0.75), 0 0 26px -6px rgba(var(--g), 0.45), 0 6px 18px rgba(8, 8, 16, 0.24);
  opacity: 0; transform: translateY(-14px) scale(0.7); transform-origin: 50% 0;
  transition: left var(--dur) var(--spr), top var(--dur) var(--spr), width var(--dur) var(--spr), height var(--dur) var(--spr),
    border-radius var(--dur) var(--spr), box-shadow 0.45s ease, opacity 0.28s ease, transform 0.55s var(--spr);
}
.lv-isl.in { opacity: 1; transform: none; }
.lv-isl[hidden] { display: none; }
.lv-isl.is-free { margin-top: env(safe-area-inset-top, 0px); }
.lv-isl[data-step="rest"] { --g: 255, 196, 77; }
.lv-isl.is-open { border-radius: 30px; cursor: default;
  background: radial-gradient(120% 90% at 0% 0%, rgba(var(--g), 0.26), rgba(var(--g), 0) 58%), radial-gradient(90% 70% at 100% 100%, rgba(124, 92, 255, 0.1), rgba(124, 92, 255, 0) 60%), #040406;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.09), 0 30px 60px -22px rgba(var(--g), 0.6), 0 0 46px -10px rgba(var(--g), 0.4), 0 22px 50px rgba(6, 6, 12, 0.36); }
@media (hover: hover) { .lv-isl.in:not(.is-open):hover { transform: scale(1.03); } }
.lv-isl :focus-visible { outline: 2px solid #b8f5cf; outline-offset: 2px; }
.lv-isl button { font-family: var(--font); -webkit-tap-highlight-color: transparent; cursor: pointer; }
html.lv-on .toasts { top: max(calc(80px + env(safe-area-inset-top, 0px)), var(--lv-b, 80px)); transition: top 0.3s ease; }

/* the pill */
.lv-pill { position: absolute; left: 0; top: 0; height: 44px; box-sizing: border-box; display: flex; align-items: center; gap: 9px; padding: 0 5px 0 6px; cursor: pointer;
  transition: opacity 0.2s ease 0.1s, filter 0.2s ease 0.1s; }
.lv-isl.is-open .lv-pill { opacity: 0; filter: blur(5px); pointer-events: none; transition: opacity 0.12s ease, filter 0.12s ease; }
.lv-ring { position: relative; flex: none; width: 32px; height: 32px; display: grid; place-items: center; }
.lv-ring svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.lv-ring circle { fill: none; stroke-width: 3; } .lv-ring .bg { stroke: rgba(255, 255, 255, 0.16); }
.lv-ring .fg { stroke: rgb(var(--g)); stroke-linecap: round; transition: stroke-dashoffset 0.6s ease, stroke 0.4s ease; }
.lv-ring__ic { width: 15px; height: 15px; color: rgb(var(--g)); }
.lv-ring__ic svg { width: 100%; height: 100%; display: block; }
.lv-txt { flex: 1 1 auto; min-width: 0; display: flex; align-items: baseline; gap: 8px; }
.lv-t { min-width: 0; font-weight: 700; font-size: 0.92rem; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lv-tm { flex: none; font-weight: 800; font-size: 0.92rem; color: rgb(var(--g)); font-variant-numeric: tabular-nums; }
.lv-tm[hidden] { display: none; }
.lv-go { flex: none; width: 34px; height: 34px; padding: 0; border: 0; border-radius: 50%; display: grid; place-items: center; background: rgb(var(--g)); color: #04120a; box-shadow: 0 4px 14px -4px rgba(var(--g), 0.9); transition: transform 0.15s ease, background 0.3s ease; }
.lv-go:active { transform: scale(0.88); }
.lv-go .ico { width: 17px; height: 17px; }
/* the music part: after a hairline, the cover and the bars */
.lv-mu { display: none; flex: none; align-items: center; gap: 6px; height: 34px; margin-left: 2px; padding: 0 6px 0 10px; border: 0; background: none; color: #fff; position: relative; }
.lv-mu::before { content: ''; position: absolute; left: 0; top: 7px; bottom: 7px; width: 1px; background: rgba(255, 255, 255, 0.16); }
.lv-isl.has-music .lv-mu { display: inline-flex; }
.lv-mu__cv { width: 26px; height: 26px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: #17131f; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12); }
.lv-mu__cv img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lv-mu__mk { width: 18px; height: 18px; } .lv-mu__mk svg { width: 100%; height: 100%; display: block; }
.lv-bars { display: inline-flex; align-items: flex-end; gap: 2px; height: 14px; }
.lv-bars i { width: 2.5px; height: 30%; border-radius: 2px; background: #b9a6ff; }
.lv-isl.is-playing .lv-bars i { animation: lvBar 0.9s ease-in-out infinite alternate; }
.lv-isl.is-playing .lv-bars i:nth-child(2) { animation-delay: -0.3s; } .lv-isl.is-playing .lv-bars i:nth-child(3) { animation-delay: -0.6s; } .lv-isl.is-playing .lv-bars i:nth-child(4) { animation-delay: -0.15s; }

/* the card */
.lv-x { position: absolute; left: 0; top: 0; box-sizing: border-box; display: flex; flex-direction: column; gap: 12px; padding: 16px 16px 14px;
  opacity: 0; visibility: hidden; transform: scale(0.96); transform-origin: 50% 0; filter: blur(6px);
  transition: opacity 0.16s ease, transform 0.3s var(--spr), filter 0.16s ease, visibility 0s linear 0.16s; }
.lv-isl.is-open .lv-x { opacity: 1; visibility: visible; transform: none; filter: none; transition: opacity 0.26s ease 0.08s, transform 0.5s var(--spr), filter 0.26s ease 0.08s, visibility 0s; }
.lv-x__head { display: flex; align-items: center; gap: 10px; }
.lv-x__badge { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; background: rgba(var(--g), 0.16); color: rgb(var(--g)); }
.lv-x__badge .ico { width: 18px; height: 18px; } .lv-x__badge svg { width: 100%; height: 100%; display: block; }
.lv-x__h { flex: 1 1 auto; min-width: 0; display: grid; } .lv-x__h b { font-size: 0.95rem; } .lv-x__h span { font-size: 0.8rem; color: rgba(255, 255, 255, 0.6); font-variant-numeric: tabular-nums; }
.lv-x__fold { width: 34px; height: 34px; padding: 0; border: 0; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, 0.08); color: #fff; }
.lv-x__fold .ico { width: 18px; height: 18px; }
.lv-x__now { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.lv-x__nt { min-width: 0; display: grid; gap: 2px; }
.lv-x__k { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: rgb(var(--g)); }
.lv-x__t { font-size: 1.3rem; line-height: 1.2; letter-spacing: -0.01em; }
.lv-x__s { font-size: 0.86rem; color: rgba(255, 255, 255, 0.66); line-height: 1.35; }
.lv-x__tm { flex: none; font-size: 2.1rem; line-height: 1; font-weight: 800; letter-spacing: -0.02em; color: #fff; font-variant-numeric: tabular-nums; }
.lv-x__tm[hidden] { display: none; }
.lv-x__bar { display: block; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, 0.12); overflow: hidden; }
.lv-x__bar[hidden] { display: none; }
.lv-x__bar i { display: block; height: 100%; border-radius: inherit; background: rgb(var(--g)); transition: width 0.5s linear; }
.lv-x__acts { display: flex; gap: 8px; }
.lv-x__go { flex: 1 1 auto; justify-content: center; }
.lv-x__alt { display: flex; gap: 8px; } .lv-x__alt:empty { display: none; }
.lv-x__alt-b { color: #fff; border-color: rgba(255, 255, 255, 0.2); background: rgba(255, 255, 255, 0.06); }
.lv-x__alt-b:hover { background: rgba(255, 255, 255, 0.12); }
.lv-x__foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.lv-x__open, .lv-lock { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border: 0; border-radius: 999px; background: rgba(255, 255, 255, 0.08); color: rgba(255, 255, 255, 0.86); font-weight: 700; font-size: 0.8rem; }
.lv-x__open .ico, .lv-lock .ico { width: 15px; height: 15px; }
.lv-lock.on { background: rgba(var(--g), 0.18); color: rgb(var(--g)); }
/* the music row */
.lv-m { display: flex; align-items: center; gap: 8px; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.lv-m[hidden] { display: none; }
.lv-m__cv { flex: none; width: 34px; height: 34px; padding: 7px; border-radius: 10px; background: #17131f; box-sizing: border-box; } .lv-m__cv svg { width: 100%; height: 100%; display: block; }
.lv-m__tt { flex: 1 1 auto; min-width: 0; display: grid; } .lv-m__t { font-size: 0.88rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .lv-m__a { font-size: 0.76rem; color: rgba(255, 255, 255, 0.6); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lv-m__b { flex: none; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; display: grid; place-items: center; background: none; color: #fff; }
.lv-m__b:hover { background: rgba(255, 255, 255, 0.1); }
.lv-m__b .ico { width: 18px; height: 18px; } .lv-m__b svg { width: 100%; height: 100%; display: block; }
.lv-m__b.is-play { background: #fff; color: #050507; }
.lv-m__club { flex: none; padding: 6px 10px; border: 0; border-radius: 999px; background: linear-gradient(105deg, #7c5cff, #4d7dff 55%, #22c3ee); color: #fff; font-weight: 800; font-size: 0.76rem; }
@keyframes lvBar { from { height: 25%; } to { height: 100%; } }
@media (prefers-reduced-motion: reduce) {
  .lv-isl, .lv-x, .lv-pill { transition: none !important; }
  .lv-bars i { animation: none !important; }
  html.lv-on .toasts { transition: none; }
}
