.lpb9-root {
    --lpb9-bar-h: 76px;
    --lpb9-card-w: 236px;
    --lpb9-card-h: 56px;
    --lpb9-gap: 10px;
    --lpb9-lift: 0px;
    --lpb9-ease: cubic-bezier(.22, 1, .36, 1);
    --lpb9-purple: #a948f8;
    --lpb9-teal: #22e2b6;
    --lpb9-ink: #f5f3ff;
    --lpb9-user: #c4b5fd;
    --lpb9-time: #5eead4;
    position: fixed;
    inset-inline: 0;
    bottom: calc(var(--lpb9-lift) + 16px);
    z-index: 40;
    box-sizing: border-box;
    width: min(1160px, calc(100% - 48px));
    height: var(--lpb9-bar-h);
    margin-inline: auto;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 6px;
    padding-inline: 10px;
    border-radius: 24px;
    font-family: inherit;
    color: var(--lpb9-ink);
    background:
        radial-gradient(120% 150% at 0% 0%, rgba(169, 72, 248, .16), transparent 55%),
        radial-gradient(120% 150% at 100% 100%, rgba(34, 226, 182, .11), transparent 55%),
        linear-gradient(180deg, rgba(27, 24, 34, .8), rgba(15, 14, 17, .92));
    -webkit-backdrop-filter: blur(22px) saturate(160%);
    backdrop-filter: blur(22px) saturate(160%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .07),
        0 28px 60px -18px rgba(0, 0, 0, .78),
        0 14px 44px -20px rgba(169, 72, 248, .5);
    transform: translateY(140%) scale(.98);
    opacity: 0;
    pointer-events: none;
    transition: transform .85s var(--lpb9-ease), opacity .5s ease, bottom .35s var(--lpb9-ease);
}

.lpb9-root[hidden] {
    display: none;
}

.lpb9-root.lpb9-on {
    transform: none;
    opacity: 1;
    pointer-events: auto;
}

.lpb9-root::before {
    content: "";
    position: absolute;
    inset: 0;
    padding: 1px;
    border-radius: inherit;
    background: linear-gradient(115deg, rgba(169, 72, 248, .9), rgba(34, 226, 182, .62) 30%, rgba(255, 255, 255, .08) 55%, rgba(169, 72, 248, .5) 80%, rgba(169, 72, 248, .9));
    background-size: 200% 100%;
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    mask-composite: exclude;
    pointer-events: none;
    animation: lpb9-sheen 10s linear infinite;
}

html.lpb9-active body {
    padding-bottom: calc(108px + env(safe-area-inset-bottom, 0px));
}

.lpb9-badge {
    display: flex;
    align-items: center;
    gap: 9px;
    height: 36px;
    padding-inline: 13px 17px;
    box-sizing: border-box;
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(169, 72, 248, .24), rgba(34, 226, 182, .1));
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .01em;
    white-space: nowrap;
    color: var(--lpb9-ink);
}

:root[dir="rtl"] .lpb9-badge {
    background: linear-gradient(225deg, rgba(169, 72, 248, .24), rgba(34, 226, 182, .1));
}

.lpb9-pulse {
    position: relative;
    flex: 0 0 auto;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--lpb9-teal);
    box-shadow: 0 0 10px rgba(34, 226, 182, .9);
    animation: lpb9-pulse 1.8s ease-out infinite;
}

.lpb9-viewport {
    position: relative;
    height: 100%;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 32px, #000 calc(100% - 32px), transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 32px, #000 calc(100% - 32px), transparent 100%);
}

.lpb9-track {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: var(--lpb9-gap);
    height: 100%;
    margin: 0;
    padding: 0 16px;
    box-sizing: border-box;
    list-style: none;
    will-change: transform;
}

.lpb9-track.lpb9-refreshed {
    animation: lpb9-refresh .6s ease-out;
}

.lpb9-item {
    flex: 0 0 var(--lpb9-card-w);
    width: var(--lpb9-card-w);
    height: var(--lpb9-card-h);
    margin: 0;
    padding: 0;
    list-style: none;
}

.lpb9-item.lpb9-new {
    animation: lpb9-enter .95s var(--lpb9-ease) backwards;
}

.lpb9-card {
    --lpb9-accent: var(--lpb9-purple);
    --lpb9-tint: rgba(169, 72, 248, .16);
    --lpb9-glow: rgba(169, 72, 248, .5);
    --lpb9-mx: 50%;
    --lpb9-my: 50%;
    position: relative;
    display: flex;
    align-items: center;
    gap: 11px;
    width: 100%;
    height: 100%;
    padding-block: 5px;
    padding-inline: 5px 14px;
    box-sizing: border-box;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .075);
    border-radius: 18px;
    background:
        radial-gradient(110px 70px at 100% 0%, var(--lpb9-tint), transparent 72%),
        linear-gradient(135deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .018));
    color: inherit;
    text-decoration: none;
    transition: transform .35s var(--lpb9-ease), border-color .3s ease, box-shadow .3s ease;
}

.lpb9-item.lpb9-new .lpb9-card {
    animation: lpb9-glow 2s ease-out;
}

.lpb9-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(150px circle at var(--lpb9-mx) var(--lpb9-my), rgba(255, 255, 255, .13), transparent 68%);
    opacity: 0;
    transition: opacity .3s ease;
    pointer-events: none;
}

.lpb9-card::after {
    content: "";
    position: absolute;
    top: 9px;
    inset-inline-end: 10px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--lpb9-accent);
    box-shadow: 0 0 10px var(--lpb9-glow);
    pointer-events: none;
}

.lpb9-card.lpb9-v-high {
    --lpb9-accent: #f87171;
    --lpb9-tint: rgba(239, 68, 68, .17);
    --lpb9-glow: rgba(239, 68, 68, .7);
}

.lpb9-card.lpb9-v-medium {
    --lpb9-accent: #facc15;
    --lpb9-tint: rgba(234, 179, 8, .15);
    --lpb9-glow: rgba(234, 179, 8, .65);
}

.lpb9-card.lpb9-v-low {
    --lpb9-accent: #f472b6;
    --lpb9-tint: rgba(236, 72, 153, .16);
    --lpb9-glow: rgba(236, 72, 153, .65);
}

.lpb9-card:hover,
.lpb9-card:focus-visible {
    transform: translateY(-3px);
    border-color: rgba(169, 72, 248, .55);
    box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .7), 0 0 0 1px rgba(34, 226, 182, .22);
    outline: none;
}

.lpb9-card:hover::before,
.lpb9-card:focus-visible::before {
    opacity: 1;
}

.lpb9-media {
    position: relative;
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    overflow: hidden;
    border-radius: 13px;
    background: #0f141b;
}

.lpb9-media::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14);
    pointer-events: none;
}

.lpb9-img,
.lpb9-tile {
    display: block;
    width: 100%;
    height: 100%;
}

.lpb9-img {
    object-fit: cover;
    transition: transform .55s var(--lpb9-ease);
}

.lpb9-card:hover .lpb9-img,
.lpb9-card:focus-visible .lpb9-img,
.lpb9-card:hover .lpb9-tile,
.lpb9-card:focus-visible .lpb9-tile {
    transform: scale(1.1);
}

.lpb9-tile {
    --lpb9-h: 270;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(circle at 25% 20%, rgba(255, 255, 255, .3), rgba(255, 255, 255, 0) 55%),
        linear-gradient(135deg, hsl(var(--lpb9-h), 72%, 46%), hsl(calc(var(--lpb9-h) + 48), 78%, 28%));
    color: rgba(255, 255, 255, .96);
    font-size: 15px;
    font-weight: 800;
    letter-spacing: .04em;
    text-shadow: 0 2px 8px rgba(0, 0, 0, .4);
    transition: transform .55s var(--lpb9-ease);
}

.lpb9-body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    justify-content: center;
    gap: 1px;
    min-width: 0;
}

.lpb9-name,
.lpb9-provider,
.lpb9-meta {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lpb9-name {
    padding-inline-end: 8px;
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -.005em;
    color: var(--lpb9-ink);
}

.lpb9-provider {
    font-size: 9.5px;
    font-weight: 500;
    line-height: 1.3;
    letter-spacing: .09em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .4);
}

.lpb9-meta {
    font-size: 11.5px;
    line-height: 1.3;
    font-variant-numeric: tabular-nums;
    color: rgba(255, 255, 255, .5);
}

.lpb9-user {
    color: var(--lpb9-user);
    font-weight: 600;
}

.lpb9-sep {
    margin-inline: 5px;
    opacity: .45;
}

.lpb9-time {
    color: var(--lpb9-time);
    opacity: .92;
}

.lpb9-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    margin-inline: 4px 4px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 50%;
    background: rgba(255, 255, 255, .05);
    color: #a1a1aa;
    cursor: pointer;
    transition: background .25s ease, color .25s ease, border-color .25s ease, transform .3s var(--lpb9-ease);
}

.lpb9-close:hover,
.lpb9-close:focus-visible {
    border-color: rgba(255, 255, 255, .22);
    background: rgba(255, 255, 255, .12);
    color: #fff;
    transform: rotate(90deg);
    outline: none;
}

.lpb9-open {
    --lpb9-lift: 0px;
    --lpb9-ease: cubic-bezier(.22, 1, .36, 1);
    position: fixed;
    inset-inline-end: 24px;
    bottom: calc(var(--lpb9-lift) + 16px);
    z-index: 40;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background:
        radial-gradient(120% 120% at 0% 0%, rgba(169, 72, 248, .24), transparent 60%),
        linear-gradient(180deg, rgba(27, 24, 34, .9), rgba(15, 14, 17, .94));
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .08),
        0 14px 30px -10px rgba(0, 0, 0, .75),
        0 8px 24px -12px rgba(169, 72, 248, .6);
    color: #d4d4d8;
    cursor: pointer;
    transition: color .25s ease, transform .3s var(--lpb9-ease), bottom .35s var(--lpb9-ease);
    animation: lpb9-pop .55s var(--lpb9-ease) backwards;
}

.lpb9-open[hidden] {
    display: none;
}

.lpb9-open::before {
    content: "";
    position: absolute;
    inset: 0;
    padding: 1px;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(169, 72, 248, .9), rgba(34, 226, 182, .6) 50%, rgba(255, 255, 255, .08));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    mask-composite: exclude;
    pointer-events: none;
}

.lpb9-open::after {
    content: "";
    position: absolute;
    top: 3px;
    inset-inline-end: 3px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22e2b6;
    box-shadow: 0 0 8px rgba(34, 226, 182, .9);
    animation: lpb9-pulse 1.8s ease-out infinite;
}

.lpb9-open:hover,
.lpb9-open:focus-visible {
    color: #fff;
    transform: translateY(-3px);
    outline: none;
}

@keyframes lpb9-enter {
    0% {
        opacity: 0;
        transform: translateX(-14px) scale(.9);
    }
    55% {
        opacity: 1;
    }
    100% {
        opacity: 1;
        transform: none;
    }
}

@keyframes lpb9-pop {
    0% {
        opacity: 0;
        transform: translateY(12px) scale(.7);
    }
    100% {
        opacity: 1;
        transform: none;
    }
}

@keyframes lpb9-refresh {
    0% {
        opacity: .25;
    }
    100% {
        opacity: 1;
    }
}

@keyframes lpb9-glow {
    0% {
        box-shadow: 0 0 0 0 var(--lpb9-glow);
        border-color: var(--lpb9-accent);
    }
    35% {
        box-shadow: 0 0 28px 1px var(--lpb9-glow);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
    }
}

@keyframes lpb9-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(34, 226, 182, .65), 0 0 10px rgba(34, 226, 182, .9);
    }
    70% {
        box-shadow: 0 0 0 9px rgba(34, 226, 182, 0), 0 0 10px rgba(34, 226, 182, .9);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(34, 226, 182, 0), 0 0 10px rgba(34, 226, 182, .9);
    }
}

@keyframes lpb9-sheen {
    0% {
        background-position: 0% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

@media (max-width: 1023px) {
    .lpb9-root,
    .lpb9-open {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .lpb9-root,
    .lpb9-card,
    .lpb9-card::before,
    .lpb9-img,
    .lpb9-tile,
    .lpb9-open,
    .lpb9-close {
        transition: none;
    }

    .lpb9-root::before,
    .lpb9-pulse,
    .lpb9-open,
    .lpb9-open::after,
    .lpb9-track.lpb9-refreshed,
    .lpb9-item.lpb9-new,
    .lpb9-item.lpb9-new .lpb9-card {
        animation: none;
    }

    .lpb9-card:hover,
    .lpb9-card:focus-visible,
    .lpb9-open:hover,
    .lpb9-open:focus-visible {
        transform: none;
    }
}
