/*
 * ==========================================================
 * GSTORE_MALL_SUPPORT_UNREAD_FALLBACK_V1
 * ==========================================================
 */

.gstore-mall-support-unread-v1 {
    position: fixed;

    top:
        max(
            18px,
            env(safe-area-inset-top)
        );

    right: 18px;

    z-index: 9999;

    display: flex;
    align-items: stretch;

    width: min(
        380px,
        calc(100vw - 36px)
    );

    box-sizing: border-box;

    border:
        1px solid
        rgba(96,165,250,.38);

    border-radius: 14px;

    overflow: hidden;

    background:
        #111827;

    box-shadow:
        0 16px 45px
        rgba(0,0,0,.32);
}

.gstore-mall-support-unread-link-v1 {
    flex: 1 1 auto;

    min-width: 0;

    display: flex;
    align-items: center;

    gap: 11px;

    padding:
        13px 8px 13px 14px;

    color:
        #f8fafc;

    text-decoration:
        none;
}

.gstore-mall-support-unread-dot-v1 {
    flex: 0 0 auto;

    width: 11px;
    height: 11px;

    border-radius: 999px;

    background:
        #3b82f6;

    box-shadow:
        0 0 0 5px
        rgba(59,130,246,.14);
}

.gstore-mall-support-unread-copy-v1 {
    flex: 1 1 auto;

    min-width: 0;

    display: flex;
    flex-direction: column;

    gap: 3px;
}

.gstore-mall-support-unread-title-v1 {
    color:
        #ffffff;

    font-size:
        14px;

    font-weight:
        800;

    line-height:
        1.4;
}

.gstore-mall-support-unread-body-v1 {
    color:
        #cbd5e1;

    font-size:
        12px;

    line-height:
        1.5;
}

.gstore-mall-support-unread-close-v1 {
    flex: 0 0 auto;

    width: 42px;

    border: 0;

    background:
        transparent;

    color:
        #94a3b8;

    font-size:
        22px;

    cursor:
        pointer;
}

.gstore-mall-support-unread-close-v1:hover {
    color:
        #ffffff;

    background:
        rgba(255,255,255,.05);
}

@media (max-width: 640px) {
    .gstore-mall-support-unread-v1 {
        top:
            max(
                14px,
                env(safe-area-inset-top)
            );

        left: 14px;
        right: 14px;

        width: auto;
    }

    .gstore-mall-support-unread-link-v1 {
        padding:
            12px 6px 12px 13px;
    }
}
