/*
 * EGGY_POOL_LANDSCAPE_AJAX_SHELL_V1
 */

#eggyPoolLandscapeAjaxHost[hidden]
{
    display: none !important;
}

@media
    (pointer: coarse)
    and (orientation: landscape)
    and (max-height: 600px)
{
    #eggyPoolLandscapeAjaxHost
    {
        width: 100%;
        max-width: none;
        margin: 0;
        padding: 0;
    }

    body.epPoolLandscapeShellBusy
    {
        cursor: wait;
    }

    .epPoolLandscapeBusy
    {
        position: fixed;

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

        left: 50%;

        z-index: 2147483400;

        min-height: 32px;

        display: flex;
        align-items: center;

        gap: 7px;

        padding: 6px 11px;

        border:
            1px solid
            rgba(255,255,255,.15);

        border-radius: 9px;

        background:
            rgba(7,10,12,.94);

        color: #fff;

        box-shadow:
            0 8px 25px
            rgba(0,0,0,.42);

        transform:
            translateX(-50%);

        pointer-events: none;
    }

    .epPoolLandscapeBusy span
    {
        width: 12px;
        height: 12px;

        border:
            2px solid
            rgba(255,255,255,.28);

        border-top-color:
            #39b978;

        border-radius: 50%;

        animation:
            epPoolLandscapeSpin
            .65s
            linear
            infinite;
    }

    .epPoolLandscapeBusy strong
    {
        font-size: 10px;
        line-height: 1;
        font-weight: 800;
    }

    .epPoolLandscapeToast
    {
        position: fixed;

        left: 50%;

        bottom:
            max(
                10px,
                env(safe-area-inset-bottom)
            );

        z-index: 2147483450;

        max-width:
            min(
                520px,
                calc(100vw - 30px)
            );

        padding:
            7px
            11px;

        border:
            1px solid
            rgba(57,185,120,.42);

        border-radius: 8px;

        background:
            rgba(7,10,12,.96);

        color:
            rgba(255,255,255,.94);

        box-shadow:
            0 8px 26px
            rgba(0,0,0,.42);

        font-size: 10px;
        line-height: 1.35;
        font-weight: 700;

        text-align: center;

        transform:
            translateX(-50%);
    }

    .epPoolLandscapeToast[hidden]
    {
        display: none !important;
    }

    .epPoolLandscapeToast.is-error
    {
        border-color:
            rgba(239,91,91,.55);

        color:
            #ffb2b2;
    }

    .epPoolLandscapeRoom
    {
        position: fixed;

        inset: 0;

        z-index: 2147483200;

        width: 100vw;
        height: 100dvh;

        overflow: hidden;

        background: #080b0d;
    }

    .epPoolLandscapeRoom__frame
    {
        position: absolute;

        inset: 0;

        width: 100%;
        height: 100%;

        border: 0;

        background: #080b0d;
    }

    .epPoolLandscapeRoom__loading
    {
        position: absolute;

        inset: 0;

        z-index: 2;

        display: grid;
        place-items: center;

        background: #080b0d;

        color:
            rgba(255,255,255,.74);

        font-size: 11px;
        font-weight: 800;

        pointer-events: none;
    }
}

@keyframes epPoolLandscapeSpin
{
    to
    {
        transform:
            rotate(360deg);
    }
}
