@media (max-width: 1024px) {
    :root { --lva-utility-edge: calc(12px + env(safe-area-inset-bottom, 0px)); }
    #lva-cookie-settings {
        left: calc(12px + env(safe-area-inset-left, 0px)) !important;
        bottom: var(--lva-utility-edge) !important;
        min-height: 44px !important;
        transition-property: background-color, border-color, color;
    }
    #gt_float_wrapper {
        left: calc(12px + env(safe-area-inset-left, 0px)) !important;
        bottom: calc(var(--lva-utility-edge) + 56px) !important;
        transition: none !important;
    }
    #gt_float_wrapper .gt_float_switcher { font-size: 15px; }
    #gt_float_wrapper .gt-selected .gt-current-lang {
        box-sizing: border-box;
        min-height: 44px;
        padding: 8px 12px;
    }
    #gt_float_wrapper .gt_options {
        max-width: calc(100vw - 24px);
        max-height: min(50vh, 320px);
        max-height: min(50dvh, 320px);
        overflow-y: auto;
        overscroll-behavior: contain;
    }
    .aa_cookie_banner {
        left: 12px !important;
        right: 12px !important;
        bottom: var(--lva-utility-edge) !important;
        width: 360px !important;
        max-width: calc(100% - 24px) !important;
        max-height: calc(100vh - 24px - env(safe-area-inset-bottom, 0px));
        max-height: calc(100dvh - 24px - env(safe-area-inset-bottom, 0px));
        overflow-y: auto;
        overscroll-behavior: contain;
        border-radius: 12px;
    }
    .lva-hide-cookie #lva-cookie-settings,
    .lva-hide-language #gt_float_wrapper {
        visibility: hidden !important;
        pointer-events: none !important;
    }
    .lva-hide-chat #min-widget,
    .lva-hide-chat #max-widget,
    .lva-hide-chat #message-preview {
        display: none !important;
    }
    .lva-hide-preview #message-preview { display: none !important; }
}
