#temp-infinite-loader {
    display: none;
    width: 100%;
    margin: 0;
    padding: 25px 20px;
    box-sizing: border-box;
    background: transparent;
    text-align: center;
}

#temp-infinite-loader.is-loading {
    display: block;
}

#temp-infinite-loader .temp-loader-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-height: 40px;
    box-sizing: border-box;
}

#temp-infinite-loader .temp-loader-spinner {
    display: block;
    width: 34px;
    height: 34px;
    flex: 0 0 auto;
}


#temp-infinite-loader .temp-loader-track {
    fill: none;
    stroke: rgba(255,255,255,.12);
    stroke-width: 3;
}

#temp-infinite-loader .temp-loader-circle {
    fill: none;
    stroke: #4aa8a8;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-dasharray: 55 100;
}


#temp-infinite-loader .temp-loader-text {
    display: block;
    color: #aaa;
    font-family:
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    font-size: 13px;
    font-weight: 500;
    line-height: 20px;
}

#temp-infinite-control {
    position: fixed;
    right: 16px;
    bottom: 70px;
    z-index: 999999;
    background: #292929;
    color: #fff;
    border: 1px solid #555;
    border-radius: 12px;
    padding: 10px 12px;
    box-shadow:
        0 8px 28px rgba(0,0,0,.55),
        0 2px 6px rgba(0,0,0,.35);
    transition:
        opacity .2s ease,
        transform .2s ease;
}

#temp-infinite-control .infinite-option {
    display: flex;
    align-items: center;
    gap: 14px;
}


#temp-infinite-control .infinite-option-info {
    display: flex;
    flex-direction: column;
    gap: 1px;
}


#temp-infinite-control .infinite-option-title {
    color: #f5f5f5;
    font-size: 13px;
    font-weight: 600;
    line-height: 17px;
}


#temp-infinite-control .infinite-option-description {
    color: #999;
    font-size: 11px;
    font-weight: 400;
    line-height: 13px;
}

#temp-infinite-minimize {
    width: 26px;
    height: 26px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #aaa;
    font-size: 20px;
    font-weight: 500;
    line-height: 26px;
    cursor: pointer;
    transition:
        color .2s ease,
        transform .2s ease;
}

#temp-infinite-minimize:hover {
    color: #fff;

    transform: scale(1.08);
}

#temp-infinite-hide {
    width: 26px;
    height: 26px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #888;
    font-size: 21px;
    font-weight: 400;
    line-height: 26px;
    cursor: pointer;
    transition:
        color .18s ease,
        transform .18s ease;
}

#temp-infinite-hide:hover {
    color: #fff;
    transform: scale(1.08);
}

#temp-infinite-control .infinite-switch {
    position: relative;
    display: block;
    width: 44px;
    height: 24px;
    flex: 0 0 44px;
    margin: 0;
    cursor: pointer;
}


#temp-infinite-control .infinite-switch input {
    position: absolute;
    width: 0;
    height: 0;
    opacity: 0;
}

#temp-infinite-control .infinite-slider {
    position: absolute;
    inset: 0;
    background: #454545;
    border: 1px solid #666;
    border-radius: 20px;
    transition:
        background .2s ease,
        border-color .2s ease,
        box-shadow .2s ease;
}


#temp-infinite-control .infinite-slider::before {
    content: "";
    position: absolute;
    width: 18px;
    height: 18px;
    left: 2px;
    top: 2px;
    background: #ddd;
    border-radius: 50%;
    box-shadow:
        0 1px 4px rgba(0,0,0,.45);
    transition:
        transform .2s ease,
        background .2s ease;
}

#temp-infinite-control
.infinite-switch
input:not(:checked)
+ .infinite-slider {
    background: #454545;
    border-color: #666;
}

#temp-infinite-control
.infinite-switch
input:checked
+ .infinite-slider {
    background: #357f80;
    border-color: #5aa9aa;
    box-shadow:
        0 0 10px rgba(74,168,168,.25);
}


#temp-infinite-control
.infinite-switch
input:checked
+ .infinite-slider::before {
    transform: translateX(20px);
    background: #fff;
}


#temp-infinite-control
.infinite-switch
input:focus-visible
+ .infinite-slider {
    outline: 2px solid #6ab8b8;
    outline-offset: 3px;
}


#temp-infinite-control.is-minimized {
    display: none;
}

#temp-infinite-mini {
    position: fixed;
    right: 106px;
    bottom: 22px;
    z-index: 999998;
    display: none;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 7px 12px;
    background: #292929;
    color: #b8b8b8;
    border: 1px solid #555;
    border-radius: 9px;
    box-sizing: border-box;
    font-family:
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    font-size: 11px;
    font-weight: 600;
    line-height: 16px;
    letter-spacing: .1px;
    cursor: pointer;
    box-shadow:
        0 6px 20px rgba(0,0,0,.55);
    transition:
        background .18s ease,
        color .18s ease,
        border-color .18s ease,
        box-shadow .18s ease,
        transform .18s ease;
}

#temp-infinite-mini.is-visible {
    display: inline-flex;
}


#temp-infinite-mini .temp-infinite-mini-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    margin-left: -2px;
    margin-right: -3px;
    font-family:
        Arial,
        Helvetica,
        sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 16px;
    color: currentColor;
    transform: translateY(-1px);
}


#temp-infinite-mini-text {
    display: inline-block;
    white-space: nowrap;
}


#temp-infinite-mini:not(.auto-active) {
    background: #292929;
    color: #b8b8b8;
    border-color: #555;
    box-shadow:
        0 6px 20px rgba(0,0,0,.55);
}


#temp-infinite-mini:not(.auto-active):hover {

    background: #333;
    color: #fff;
    border-color: #666;
    box-shadow:
        0 7px 23px rgba(0,0,0,.65);
    transform:
        translateY(-1px);
}


#temp-infinite-mini.auto-active {
    background: #294a34;
    color: #9be6ad;
    border-color: #477c55;
    box-shadow:
        0 6px 20px rgba(0,0,0,.55);
}

#temp-infinite-mini.auto-active:hover {
    background: #315a3e;
    color: #b5efc2;
    border-color: #5a9668;
    box-shadow:
        0 7px 24px rgba(0,0,0,.65);
    transform:
        translateY(-1px);
}


#temp-infinite-restore {
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    transition:
        color .18s ease,
        background .18s ease,
        transform .18s ease;
}


#temp-infinite-restore:hover {
    background: #333 !important;
    color: #fff !important;
    transform: scale(1.06);
}



.temp-infinite-new {
    opacity: 0;
    transform:
        translateY(15px);
    transition:
        opacity .45s ease,
        transform .45s ease;
}


.temp-infinite-new.is-visible {
    opacity: 1;
    transform:
        translateY(0);
}


@media (max-width: 480px) {

    #temp-infinite-control {
        right: 10px;
        bottom: 65px;
        padding: 8px 9px;
        border-radius: 10px;
    }

    #temp-infinite-control
    .infinite-option {
        gap: 9px;
    }


    #temp-infinite-control
    .infinite-option-description {
        display: none;
    }


    #temp-infinite-control
    .infinite-option-title {
        font-size: 11px;
        line-height: 15px;
    }


    #temp-infinite-control
    .infinite-switch {
        width: 40px;
        height: 23px;
        flex-basis: 40px;
    }


    #temp-infinite-control
    .infinite-slider::before {
        width: 17px;
        height: 17px;
        left: 2px;
        top: 2px;
    }


    #temp-infinite-control
    .infinite-switch
    input:checked
    + .infinite-slider::before {
        transform:
            translateX(17px);
    }


    #temp-infinite-minimize {
        width: 24px;
        height: 24px;
        font-size: 19px;
        line-height: 24px;
    }

    #temp-infinite-hide {
        width: 24px;
        height: 24px;
        font-size: 20px;
        line-height: 24px;
    }


    #temp-infinite-mini {
        right: 10px;
        bottom: 10px;
        gap: 6px;
        padding: 6px 10px;
        border-radius: 8px;
        font-size: 10px;
        line-height: 15px;
    }

    #temp-infinite-mini
    .temp-infinite-mini-icon {
        font-size: 20px;
        line-height: 15px;
    }

    #temp-infinite-restore {
        right: 10px !important;
        bottom: 10px !important;
        width: 38px !important;
        height: 38px !important;
    }

}


@media (max-width: 360px) {

    #temp-infinite-control {
        right: 8px;
        bottom: 60px;
        padding: 7px 8px;
    }


    #temp-infinite-control
    .infinite-option {
        gap: 7px;
    }


    #temp-infinite-control
    .infinite-option-title {
        font-size: 10px;
    }

    #temp-infinite-control
    .infinite-switch {
        width: 40px;
        height: 22px;
        flex-basis: 40px;
    }


    #temp-infinite-control
    .infinite-slider::before {
        width: 16px;
        height: 16px;
        left: 2px;
        top: 2px;
    }


    #temp-infinite-control
    .infinite-switch
    input:checked
    + .infinite-slider::before {
        transform:
            translateX(18px);
    }

    #temp-infinite-minimize {
        width: 23px;
        height: 23px;
        font-size: 18px;
        line-height: 23px;
    }

    #temp-infinite-hide {

        width: 23px;
        height: 23px;
        font-size: 19px;
        line-height: 23px;
    }

    #temp-infinite-mini {
        right: 8px;
        bottom: 8px;
        gap: 5px;
        padding: 5px 9px;
        border-radius: 8px;
        font-size: 9px;
        line-height: 14px;
    }

    #temp-infinite-mini
    .temp-infinite-mini-icon {
        font-size: 19px;
        line-height: 14px;
    }

    #temp-infinite-restore {
        right: 8px !important;
        bottom: 8px !important;
        width: 36px !important;
        height: 36px !important;
    }

}