.lmc-wave-loader {
    display: block;
    width: 72px;
    height: 52px;
    object-fit: contain;
    flex: 0 0 auto;
}

.lmc-wave-loader--medium {
    width: 56px;
    height: 40px;
}

.lmc-wave-loader--small {
    width: 38px;
    height: 28px;
}

.lmc-wave-loader--button {
    display: inline-block;
    width: 27px;
    height: 18px;
    margin: -5px 5px -5px 0;
    vertical-align: middle;
}

.lmc-loading-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #64748b;
    text-align: center;
}

.lmc-loading-state--inline {
    display: inline-flex;
    flex-direction: row;
    gap: 8px;
}

.lmc-loading-label {
    color: #64748b;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
}

.lmc-loader-transition-host {
    position: relative;
}

.lmc-loader-transition-ghost {
    position: absolute;
    inset: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    pointer-events: none;
    transform-origin: center;
}

.lmc-loader-transition-ghost > .lmc-loading-state {
    width: 100%;
    height: 100%;
}

.lmc-mascot-state {
    display: flex;
    min-height: 180px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 32px 20px;
    color: #64748b;
    text-align: center;
}

.lmc-mascot-state--compact {
    min-height: 142px;
    padding: 20px 14px;
}

.lmc-vector-cat {
    display: block;
    width: 116px;
    height: 97px;
    margin: -8px 0 0;
    filter: drop-shadow(0 9px 15px rgba(67, 56, 202, .18));
}

.lmc-mascot-state--compact .lmc-vector-cat {
    width: 96px;
    height: 80px;
    margin: -9px 0 -2px;
}

.lmc-vector-cat__svg {
    display: block;
    width: 100%;
    height: 100%;
    overflow: visible;
}

.lmc-vector-cat__wander {
    transform-box: fill-box;
    transform-origin: center;
    animation: lmcCatWander 18s ease-in-out infinite;
}

.lmc-vector-cat__tail {
    transform-box: fill-box;
    transform-origin: 88% 88%;
    animation: lmcCatTail 7.4s ease-in-out infinite;
}

.lmc-vector-cat__body {
    transform-box: fill-box;
    transform-origin: 50% 100%;
    animation: lmcCatBodyStep 18s linear infinite;
}

.lmc-vector-cat__ear-fold {
    transform-box: fill-box;
    transform-origin: 28% 76%;
    animation: lmcCatEar 10.8s ease-in-out infinite;
}

.lmc-vector-cat__eye {
    transform-box: fill-box;
    transform-origin: center;
    animation: lmcCatBlink 7.8s ease-in-out infinite;
}

.lmc-vector-cat__paw {
    transform-box: fill-box;
    transform-origin: 50% 100%;
    animation: lmcCatPawLeft 18s linear infinite;
}

.lmc-vector-cat__paw--right {
    animation-name: lmcCatPawRight;
}

.lmc-vector-cat__wave-bar {
    transform-box: fill-box;
    transform-origin: center;
    animation: lmcCatWave 2.3s ease-in-out infinite;
}

.lmc-vector-cat__wave-bar:nth-child(2) { animation-delay: -.2s; }
.lmc-vector-cat__wave-bar:nth-child(3) { animation-delay: -.4s; }

.lmc-mascot-title {
    color: #334155;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.5;
}

.lmc-mascot-note {
    max-width: 280px;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.55;
}

@keyframes lmcCatWander {
    0%, 13% { transform: translateX(-9px) scaleX(1); }
    18% { transform: translateX(-6px) scaleX(1); }
    23% { transform: translateX(-2px) scaleX(1); }
    28% { transform: translateX(3px) scaleX(1); }
    33% { transform: translateX(7px) scaleX(1); }
    38%, 58.9% { transform: translateX(10px) scaleX(1); }
    59%, 63% { transform: translateX(10px) scaleX(-1); }
    68% { transform: translateX(6px) scaleX(-1); }
    73% { transform: translateX(1px) scaleX(-1); }
    78% { transform: translateX(-4px) scaleX(-1); }
    83%, 96.9% { transform: translateX(-9px) scaleX(-1); }
    97%, 100% { transform: translateX(-9px) scaleX(1); }
}

@keyframes lmcCatTail {
    0%, 18%, 100% { transform: rotate(-9deg); }
    28% { transform: rotate(4deg); }
    37% { transform: rotate(-3deg); }
    61% { transform: rotate(7deg); }
    69% { transform: rotate(-7deg); }
    76% { transform: rotate(1deg); }
}

@keyframes lmcCatBodyStep {
    0%, 13%, 17%, 22%, 27%, 32%, 38%, 63%, 67%, 72%, 77%, 83%, 100% { transform: translateY(0) rotate(0); }
    15%, 20%, 25%, 30%, 35%, 65%, 70%, 75%, 80% { transform: translateY(-1.8px) rotate(-.45deg); }
}

@keyframes lmcCatPawLeft {
    0%, 13%, 18%, 22%, 28%, 32%, 38%, 63%, 68%, 72%, 78%, 83%, 100% { transform: translateY(0) rotate(0); }
    15%, 25%, 65%, 75% { transform: translateY(-4px) rotate(-8deg); }
}

@keyframes lmcCatPawRight {
    0%, 17%, 23%, 27%, 33%, 38%, 67%, 73%, 77%, 83%, 100% { transform: translateY(0) rotate(0); }
    20%, 30%, 70%, 80% { transform: translateY(-4px) rotate(8deg); }
}

@keyframes lmcCatBlink {
    0%, 34%, 37%, 72%, 75%, 78%, 100% { transform: scaleY(1); }
    35.5%, 73.5%, 76.5% { transform: scaleY(.1); }
}

@keyframes lmcCatEar {
    0%, 67%, 100% { transform: rotate(0); }
    71% { transform: rotate(-6deg); }
    75% { transform: rotate(4deg); }
    79% { transform: rotate(0); }
}

@keyframes lmcCatWave {
    0%, 100% { transform: scaleY(.72); opacity: .72; }
    50% { transform: scaleY(1); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
    .lmc-wave-loader {
        opacity: .88;
    }

    .lmc-vector-cat__tail,
    .lmc-vector-cat__wander,
    .lmc-vector-cat__body,
    .lmc-vector-cat__ear-fold,
    .lmc-vector-cat__eye,
    .lmc-vector-cat__wave-bar,
    .lmc-vector-cat__paw {
        animation: none;
    }
}
