.expo-widget {
    position: fixed;
    right: 24px;
    bottom: 145px; /* выше на странице */
    z-index: 9999;
    pointer-events: none;
}

.expo-widget * {
    box-sizing: border-box;
}

.expo-widget__trigger,
.expo-widget__popup {
    pointer-events: auto;
}

/* =========================
   КНОПКА / ПЛАШКА
========================= */

.expo-widget__trigger {
    position: relative;
    width: 220px;
    height: 150px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    display: block;
}

.expo-widget__trigger:hover {
    transform: translateY(-2px);
    transition: transform 0.2s ease;
}

.expo-widget__mascot {
    position: absolute;

    left: 78px;
    top: 24px;

    width: 58px;
    height: auto;

    z-index: 1;

    opacity: 0;

    pointer-events: none;

    transform:
        translateX(12px)
        rotate(2deg)
        scale(.94);

    transform-origin: bottom center;

    transition:
        opacity .25s ease,
        transform .38s cubic-bezier(.2,.8,.2,1);
}


.expo-widget__trigger:hover
.expo-widget__mascot {
    opacity: 1;

    transform:
        translateX(-10px)
        translateY(-5px)
        rotate(-6deg)
        scale(1);
}

.expo-widget__tooth {
    position: absolute;
    right: 18px;
    top: 10px;
    width: 108px;
    height: auto;
    z-index: 2;
    animation: expoToothFloat 2.2s ease-in-out infinite;
}

.expo-widget__trigger-badge {
    position: absolute;
    left: 0;
    bottom: 14px;
    z-index: 3;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 130px;
    height: 42px;
    padding: 0 20px;

    border-radius: 999px;
    background: linear-gradient(180deg, #1c78d3 0%, #0f5da9 100%);
    color: #fff;
    font-size: 20px;
    line-height: 1;
    font-weight: 700;

    box-shadow: 0 10px 24px rgba(16, 76, 142, 0.25);
    white-space: nowrap;
}

@keyframes expoToothFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

/* =========================
   ПОПАП
========================= */

.expo-widget__popup {
    position: absolute;
    right: 0;
    bottom: 168px;

    width: 390px;
    padding: 24px 24px 22px;

    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 24px 60px rgba(18, 53, 92, 0.18);
    border: 1px solid #dfe8f2;
}

.expo-widget__close {
    position: absolute;
    top: 14px;
    right: 14px;

    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 50%;
    background: #eef3f8;
    color: #6b7f95;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

.expo-widget__close:hover {
    background: #e4ecf4;
}

.expo-widget__eyebrow {
    margin-bottom: 10px;
    color: #1e74c7;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.expo-widget__title {
    margin-bottom: 12px;
    color: #193d69;
    font-size: 22px;
    line-height: 1.15;
    font-weight: 800;
}

.expo-widget__text {
    margin-bottom: 18px;
    color: #5f7287;
    font-size: 15px;
    line-height: 1.5;
}

.expo-widget__meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 20px;
}

.expo-widget__meta-item {
    min-height: 96px;
    padding: 14px 14px 12px;
    border-radius: 16px;
    background: #f4f7fa;
}

.expo-widget__meta-label {
    margin-bottom: 8px;
    color: #7a8da3;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.expo-widget__meta-value {
    color: #1f3f68;
    font-size: 15px;
    line-height: 1.35;
    font-weight: 700;
}

.expo-widget__meta-link {
    display: inline-block;
    margin-top: 8px;
    color: #0f6bc5;
    font-size: 13px;
    line-height: 1.35;
    text-decoration: none;
}

.expo-widget__meta-link:hover {
    text-decoration: underline;
}

.expo-widget__more {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 150px;
    height: 48px;
    padding: 0 24px;

    border-radius: 999px;
    background: linear-gradient(180deg, #1f82df 0%, #0f5da9 100%);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(16, 93, 169, 0.2);
}

.expo-widget__more:hover {
    color: #fff;
    text-decoration: none;
    filter: brightness(1.03);
}

/* =========================
   МОБИЛКА
========================= */

@media (max-width: 768px) {
    .expo-widget {
        right: 14px;
        bottom: 90px;
    }

    .expo-widget__trigger {
        width: 180px;
        height: 130px;
    }

    .expo-widget__mascot {
        left: 24px;
        top: 16px;
        width: 50px;
    }

    .expo-widget__tooth {
        right: 12px;
        top: 12px;
        width: 88px;
    }

    .expo-widget__trigger-badge {
        height: 38px;
        min-width: 118px;
        padding: 0 16px;
        font-size: 17px;
    }

    .expo-widget__popup {
        width: calc(100vw - 28px);
        max-width: 360px;
        right: 0;
        bottom: 146px;
        padding: 20px 18px 18px;
        border-radius: 20px;
    }

    .expo-widget__title {
        font-size: 20px;
    }

    .expo-widget__meta {
        grid-template-columns: 1fr;
    }

    .expo-widget__meta-item {
        min-height: auto;
    }
}