/* Unified theme and back-to-top controls. */
.changeSkin-gear,
.skin-menu,
.cd-top {
    display: none !important;
}

#moblieDarkLight,
#moblieGoTop {
    position: fixed;
    right: max(18px, env(safe-area-inset-right));
    z-index: 1000;
    display: grid !important;
    visibility: visible !important;
    width: 44px;
    height: 44px;
    padding: 0;
    place-items: center;
    border: 1px solid rgba(42, 39, 36, .1);
    border-radius: 50%;
    outline: 0;
    color: #36322f;
    background: rgba(255, 255, 255, .78);
    box-shadow: 0 8px 24px rgba(31, 28, 25, .12), inset 0 1px 0 rgba(255, 255, 255, .72);
    -webkit-backdrop-filter: blur(16px) saturate(1.25);
    backdrop-filter: blur(16px) saturate(1.25);
    cursor: pointer;
    transition: color .22s ease, background-color .22s ease, border-color .22s ease,
        box-shadow .22s ease, opacity .22s ease, transform .22s ease !important;
}

#moblieDarkLight {
    bottom: max(20px, env(safe-area-inset-bottom));
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px) scale(.92) !important;
}

#moblieGoTop {
    bottom: calc(max(20px, env(safe-area-inset-bottom)) + 54px);
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px) scale(.92) !important;
}

#moblieGoTop.wnlen-is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1) !important;
}

#moblieDarkLight.wnlen-is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1) !important;
}

#moblieDarkLight svg,
#moblieGoTop svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

#moblieDarkLight:hover,
#moblieGoTop:hover {
    color: #111;
    background: rgba(255, 255, 255, .94);
    border-color: rgba(42, 39, 36, .17);
    box-shadow: 0 10px 28px rgba(31, 28, 25, .17), inset 0 1px 0 rgba(255, 255, 255, .8);
    transform: translateY(-2px) scale(1) !important;
    opacity: 1;
}

#moblieDarkLight:focus-visible,
#moblieGoTop:focus-visible {
    outline: 3px solid rgba(184, 74, 66, .26);
    outline-offset: 3px;
}

body.dark #moblieDarkLight,
body.dark #moblieGoTop {
    color: #eee9e2;
    background: rgba(34, 34, 36, .76);
    border-color: rgba(255, 255, 255, .13);
    box-shadow: 0 9px 28px rgba(0, 0, 0, .32), inset 0 1px 0 rgba(255, 255, 255, .08);
}

body.dark #moblieDarkLight:hover,
body.dark #moblieGoTop:hover {
    color: #fff;
    background: rgba(46, 46, 49, .94);
    border-color: rgba(255, 255, 255, .22);
}

@media (max-width: 860px) {
    #moblieDarkLight,
    #moblieGoTop {
        right: max(14px, env(safe-area-inset-right));
        width: 42px;
        height: 42px;
    }

    #moblieDarkLight {
        bottom: max(14px, env(safe-area-inset-bottom));
    }

    #moblieGoTop {
        bottom: calc(max(14px, env(safe-area-inset-bottom)) + 51px);
    }
}

@media (prefers-reduced-motion: reduce) {
    #moblieDarkLight,
    #moblieGoTop {
        transition: none !important;
    }
}
