@-moz-document url-prefix(){
    * {
        scrollbar-width: thin;
        scrollbar-color: #ffffff60 transparent;
    }
}

@font-face {
    font-family: 'ZNDefault';
    src: url('../styles-v9/fonts/yahfie.ttf');
}

::-webkit-scrollbar {
    width: 3px;
}

::-webkit-scrollbar-track {
    background: none 
}

::-webkit-scrollbar-thumb {
    background: #ffffff60; 
}

::-webkit-scrollbar-thumb:hover {
    background: #555; 
}

* {
    touch-action: manipulation;
}

body{
    background-image: radial-gradient(circle, rgba(0,0,0,0.75), rgba(0,0,0,1)), url('https://zero-network.net/phasmophobia/static/imgs/background.jpg');
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    overflow: hidden;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

.title{
    font-size: 30px;
    padding-top: 20px;
}

.phasfont{
    font-family:"ZNPrimary";
    letter-spacing: 1;
}

.yfont{
    font-family:"ZNSecondary";
}

.white{
    color: white;
}

.option-disabled{
    opacity: 0.5;
    cursor: not-allowed !important;
}

.icon-flash{
    animation-name: opacity-pulse;
    animation-duration: 0.5s;
    animation-iteration-count: 3;
    animation-fill-mode: forwards;
}

@keyframes opacity-pulse {
    0% {
        opacity: 0.5;
    }
    50% {
        opacity: 1.0;
    }
    100% {
        opacity: 0.5;
    }
}

.nightmare_highlight {
    text-decoration: underline;
}

.max-value{
    color: #da0000 !important;
}

.prevent{
    opacity: 0.3;
}

@media screen and (pointer: fine),screen and (pointer: coarse) and (min-device-width: 601px) {

    #page-loading{
        background-image: radial-gradient(circle, rgba(0,0,0,0.75), rgba(0,0,0,1)), url('https://zero-network.net/phasmophobia/static/imgs/background.jpg');
        background-repeat: no-repeat;
        background-attachment: fixed;
        background-position: center;
        background-size: cover;
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        margin: -8px;
        z-index: 999;
        display: flex;
        align-items: center;
        flex-direction: column;
        justify-content: center;
        color: #ccc;
        font-family: "ZNDefault";
        font-size: 18px;
    }
    
    .not-loading{
        position: absolute;
        bottom: 5px;
        opacity: 0.7;
        text-decoration: none;
    }
    
    .not-loading a:link{
        color: #ffff00;
    }
    
    .not-loading a:visited{
        color: #ffff00;
    }
    
    .not-loading a:hover{
        color: #ff9100;
    }
    
    .not-loading a:active{
        color: #00ff00;
    }

    .dot-loading {
        margin: 10px;
        align-self: center;
        position: relative;
        width: 10px;
        height: 10px;
        border-radius: 5px;
        background-color: #393c64;
        color: #393c64;
        animation: dotLoading 1s infinite linear alternate;
        animation-delay: .5s;
    }
    
    .dot-loading::before, .dot-loading::after {
        content: '';
        display: inline-block;
        position: absolute;
        top: 0;
    }
    
    .dot-loading::before {
        left: -15px;
        width: 10px;
        height: 10px;
        border-radius: 5px;
        background-color: #393c64;
        color: #393c64;
        animation: dotLoading 1s infinite alternate;
        animation-delay: 0s;
    }
    
    .dot-loading::after {
        left: 15px;
        width: 10px;
        height: 10px;
        border-radius: 5px;
        background-color: #393c64;
        color: #393c64;
        animation: dotLoading 1s infinite alternate;
        animation-delay: 1s;
    }
    
    @keyframes dotLoading {
        0% {
            background-color: #393c64;
        }
        50%,
        100% {
            background-color: #ccc;
        }
    }

    hr{
        border: 1px dashed rgba(204, 204, 204, 0.26);
        margin: 5px;
        width: 90%;
    }

    #resetMenu{
        width: 225px;
        height: auto;
        background-color: #313248;
        box-shadow: rgb(0, 0, 0) 0px 0px 10px 3px;
        border-radius: 5px;
        border: 2px #313248 outset;
        display: flex;
        flex-direction: column;
        align-items: center;
        z-index: 9999;
    }

    #resetMenu button{
        font-size: 20px;
        color: #ccc;
        border: none;
        background: none;
        padding: 10px;
        width: 100%;
        cursor: pointer;
        font-family: 'ZNSecondary';
    }
    #resetMenu button~button{
        border-top: 1px dotted #ccc;
    }

    #resetMenu button:hover{
        background-color: #ffffff60;
    }

    .broadcast {
        display: flex;
        justify-content: center;
        align-items: start;
        position: fixed;
        top: 20px;
        left: 0;
        right: 0;
        z-index: 1000;
        box-shadow: 0px 0px 20px 40px rgba(0, 0, 0, 0.8);
        background: rgba(0, 0, 0, 0.8);
    }
    
    .broadcast-content {
        background-color: #313248;
        color: #fff;
        padding: 10px 10px 15px 10px;
        border-radius: 5px;
        width: auto;
        position: relative;
        display: flex;
        align-items: center;
        justify-content: flex-start;
    }

    .broadcast-content img{
        width: 28px;
        height: 28px;
    }
    
    #broadcast-message{
        max-width: 600px;
        text-wrap: wrap;
        margin-left: 30px;
        margin-right: 50px;
    }
    
    .broadcast-timer-bar-container {
        width: 100%;
        height: 3px;
        background-color: rgb(32, 32, 32);
        margin-top: 10px;
        position: absolute;
        margin-left: -10px;
        bottom: 3px;
    }
    
    .broadcast-timer-bar {
        width: 100%;
        height: 100%;
        background-color: rgb(199, 199, 199);
        transition: width 0.1s;
    }
    

    #blackout, #blackout_voice, #blackout_zndl, #blackout_debug, #blackout_image, #blackout_calibrate, #blackout_weekly{
        position: fixed;
        background: rgba(0,0,0,0.9);
        left: 0;
        top: 0;
        width: 100%;
        height: 100dvh;
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
        justify-content: center;
        align-content: center;
        z-index: 110;
        color: #cccccc44;
    }

    #debug-console{
        width: 100%;
        height: 85vh;
        margin-top: 20px;
        background-color: #111;
        border: none;
        resize: none;
        overflow: auto;
        color: #33ff33;
    }

    .debug-copy{
        cursor: pointer;
        text-decoration: underline;
        padding-top: 10px;
        color: #ffff00;
    }
    .debug-copy:hover{
        color: #ff9100;
    }

    #blackout_image{
        opacity: 0;
        transition: opacity 0.5s;
        cursor: zoom-out;
    }

    #blackout_image_subtitle{
        text-align: center;
        padding-top: 5px;
    }

    #zoom_image{
        object-fit: contain;
        max-width: 750px;
        max-height: 90%;
        width: calc(100% - 50px);
        cursor: zoom-out;
    }

    .zoomable{
        cursor: zoom-in;
        margin: 5px 0px;
    }

    .tab_rotate{
        transform: rotate(-90deg);
        width: max-content;
    }

    .weekly-modifiers{
        width: 100%;
        display: flex;
        flex-direction: row;
        justify-content: space-around;
        flex-wrap: wrap;
    }

    .weekly-mod{
        flex:1;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 10px 5px;
        font-size: 16px;
        line-height: 25px;
        min-width: 30%;
        font-weight: lighter;
    }

    .weekly-image{
        width:80%;
    }

    .weekly-mod a:link, #weekly_footer a:link{
        color: #ffff00;
    }
    
    .weekly-mod a:visited, #weekly_footer a:visited{
        color: #ffff00;
    }
    
    .weekly-mod a:hover, #weekly_footer a:hover{
        color: #ff9100;
    }
    
    .weekly-mod a:active, #weekly_footer a:active{
        color: #00ff00;
    }

    #settings_box, #links_box{
        position: fixed;
        top: 0;
        z-index: 2;
        width: 168px;
        height: 100dvh;
        background-color: #313248;
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        align-content: stretch;
        align-items: flex-start;
        color: #fff;
        padding: 5px 8px 5px 20px;
        font-size: 14px;
        transition: left 0.5s ease, width 0.5s ease;
    }

    #settings_tab{
        position: absolute;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        width: 22px;
        height: 30px;
        text-align: center;
        top: 6px;
        right: -26px;
        background-color: #313248;
        padding: 2px;
        cursor: pointer;
        border-style: solid;
        border-color: #ccc;
        border-width: 1px 1px 1px 0px;
        border-radius: 0px 5px 5px 0px;
    }

    .settings_icon{
        width: 19px;
    }

    #settings_status, #discord_link_status{
        width: 25px;
        height: 5px;
        border-radius: 0px 15px 0px 0px;
        top: 0px;
        right: 0px;
        position: absolute;
    }

    #dllink_status{
        width: 25px;
        height: 5px;
        border-radius: 0px 0px 0px 0px;
        top: 6px;
        right: 0px;
        position: absolute;
    }

    #voice_recognition_status{
        background-size: cover;
        background-repeat: no-repeat;
        width: 16px;
        height: 16px;
        bottom: 4px;
        left: 7px;
        position: absolute;
    }

    .pulse_animation{
        animation: mic_pulse 3s infinite;
    }

    @keyframes mic_pulse{
        0% {
            filter: opacity(1);
            -webkit-filter: opacity(1);
        }
        50% {
            filter: opacity(0.5);
            -webkit-filter: opacity(0.3);
        }
        100% {
            filter: opacity(1);
            -webkit-filter: opacity(1);
        }
    }

    .connected{
        background: #2ccc29;
    }

    .pending{
        background: #b5c710;
    }

    .error{
        background: #db4d48;
    }

    .zndlinfo{
        position: absolute;
        left: 0;
        bottom: 0;
        width: 20px;
        cursor: pointer;
        filter: invert(1);
        opacity: 0.5;
    }

    .zndlinfo:hover{
        opacity: 1.0;
    }

    .download{
        position: absolute;
        right: 0;
        bottom: 0;
    }

    .download_icon{
        width: 20px;
        cursor: pointer;
    }

    .download_icon:hover{
        filter: opacity(0.5);
    }

    #links_tab{
        position: absolute;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        width: 16px;
        height: 90px;
        text-align: center;
        top: 48px;
        right: -26px;
        background-color: #313248;
        padding: 5px;
        cursor: pointer;
        border-style: solid;
        border-color: #ccc;
        border-width: 1px 1px 1px 0px;
        border-radius: 0px 5px 5px 0px;
    }

    #discord_link_box{
        position: fixed;
        top: 0;
        z-index: 1;
        width: 168px;
        height: 100dvh;
        background-color: #313248;
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        align-content: stretch;
        align-items: flex-start;
        color: #fff;
        padding: 5px 8px 5px 20px;
        font-size: 14px;
        transition: left 0.5s ease, width 0.5s ease;
    }

    #discord_link_tab{
        position: absolute;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        width: 16px;
        height: 90px;
        text-align: center;
        top: 156px;
        right: -26px;
        background-color: #313248;
        padding: 5px;
        cursor: pointer;
        border-style: solid;
        border-color: #ccc;
        border-width: 1px 1px 1px 0px;
        border-radius: 0px 5px 5px 0px;
    }

    #event_box{
        position: fixed;
        top: 0;
        z-index: 1;
        width: 168px;
        height: 100dvh;
        background-color: #313248;
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        align-content: stretch;
        align-items: flex-start;
        color: #fff;
        padding: 5px 8px 5px 20px;
        font-size: 14px;
        transition: left 0.5s ease, width 0.5s ease;
    }

    #event_tab{
        position: absolute;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        width: 16px;
        height: 90px;
        text-align: center;
        top: 264px;
        right: -26px;
        background-color: #313248;
        padding: 5px;
        cursor: pointer;
        border-style: solid;
        border-color: #ccc;
        border-width: 1px 1px 1px 0px;
        border-radius: 0px 5px 5px 0px;
    }

    #wiki_box{
        position: fixed;
        top: 0;
        z-index: 1;
        width: 168px;
        height: 100dvh;
        background-color: #313248;
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        align-content: stretch;
        align-items: flex-start;
        color: #fff;
        padding: 5px 8px 5px 20px;
        font-size: 14px;
        transition: left 0.5s ease, width 0.5s ease;
    }

    #wiki_tab{
        position: absolute;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        width: 16px;
        height: 90px;
        text-align: center;
        top: 372px;
        right: -26px;
        background-color: #313248;
        padding: 5px;
        cursor: pointer;
        border-style: solid;
        border-color: #ccc;
        border-width: 1px 1px 1px 0px;
        border-radius: 0px 5px 5px 0px;
    }

    #guide_tab_footstep{
        background-image: url(../imgs/footsteps.png);
        filter: invert(1);
        opacity: 0.5;
        width: 20px;
        height: 20px;
        background-size: cover;
        position: absolute;
        bottom: 5px;
        left: 3px;
    }

    .data-warning {
        display: flex;
        align-items: center;
        font-size: 10px;
        color: #fbfe9f;
        padding-right: 10px;
    }

    .data-warning img{
        height: 20px;
        padding-right:10px
    }

    .data-bug {
        display: flex;
        align-items: center;
        font-size: 10px;
        color: #ff7279;
        padding-right: 10px;
        margin-top: 10px;
    }

    .data-bug img{
        height: 20px;
        padding-right:10px
    }

    .research-link{
        display: flex;
        justify-content: center;
        color: #fbfe9f;
        margin-top: 10px;
        font-size: 10px;
        margin-bottom: 15px;
    }

    .research-link a{
        color: #fbfe9f;
    }

    #maps_box{
        position: fixed;
        top: 0;
        z-index: 1;
        width: 556px;
        min-width: 556px;
        height: 100dvh;
        background-color: #313248;
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        align-content: stretch;
        align-items: flex-start;
        color: #fff;
        padding: 5px 8px 5px 20px;
        font-size: 14px;
        transition: left 0.5s ease, width 0.5s ease;
    }

    #maps_tab{
        position: absolute;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        width: 16px;
        height: 90px;
        text-align: center;
        top: 480px;
        right: -26px;
        background-color: #313248;
        padding: 5px;
        cursor: pointer;
        border-style: solid;
        border-color: #ccc;
        border-width: 1px 1px 1px 0px;
        border-radius: 0px 5px 5px 0px;
    }

    #search_box{
        position: fixed;
        top: 0;
        z-index: 1;
        width: 20px;
        height: 100dvh;
        background-color: #313248;
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        align-content: stretch;
        align-items: flex-start;
        color: #fff;
        padding: 5px 8px 5px 8px;
        font-size: 14px;
        transition: right 0.5s ease, width 0.5s ease;
    }

    #search_tab{
        position: absolute;
        height: 24px;
        width: 25px;
        text-align: center;
        top: 5px;
        left: -35px;
        background-color: #313248;
        padding: 5px;
        cursor: pointer;
        border-style: solid;
        border-color: #ccc;
        border-width: 1px 0px 1px 1px;
        border-radius: 5px 0px 0px 5px;
    }

    #news_box{
        position: fixed;
        top: 0;
        z-index: 1;
        width: 20px;
        height: 100dvh;
        background-color: #313248;
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        align-content: stretch;
        align-items: flex-start;
        color: #fff;
        padding: 5px 8px 5px 8px;
        font-size: 14px;
        transition: right 0.5s ease, width 0.5s ease;
    }

    #news_tab{
        position: absolute;
        height: 24px;
        width: 25px;
        text-align: center;
        top: 46px;
        left: -35px;
        background-color: #313248;
        padding: 5px;
        cursor: pointer;
        border-style: solid;
        border-color: #ccc;
        border-width: 1px 0px 1px 1px;
        border-radius: 5px 0px 0px 5px;
    }

    .blockout{
        position: fixed;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.4);
        left: 0;
        top: 0;
        z-index: -999;
    }

    .blockout-invis{
        position: fixed;
        width: 100%;
        height: 100%;
        left: 0;
        top: 0;
        z-index: 10;
    }

    #language_box{
        position: fixed;
        top: 87px;
        z-index: 1;
        width: 20px;
        height: 24px;
        background-color: #313248;
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        align-content: stretch;
        align-items: flex-start;
        color: #fff;
        padding: 5px 8px 5px 8px;
        font-size: 14px;
        transition: right 0.5s ease, width 0.5s ease;
    }

    #language_tab{
        position: absolute;
        height: 24px;
        width: 25px;
        text-align: center;
        top: 0px;
        left: -35px;
        background-color: #313248;
        padding: 5px;
        cursor: pointer;
        border-style: solid;
        border-color: #ccc;
        border-width: 1px 0px 1px 1px;
        border-radius: 5px 0px 0px 5px;
    }

    #theme_box{
        position: fixed;
        top: 128px;
        z-index: 1;
        width: 20px;
        height: 24px;
        background-color: #313248;
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        align-content: stretch;
        align-items: flex-start;
        color: #fff;
        padding: 5px 8px 5px 8px;
        font-size: 14px;
        transition: right 0.5s ease, width 0.5s ease;
    }

    #theme_tab{
        position: absolute;
        height: 24px;
        width: 25px;
        text-align: center;
        top: 0px;
        left: -35px;
        background-color: #313248;
        padding: 5px;
        cursor: pointer;
        border-style: solid;
        border-color: #ccc;
        border-width: 1px 0px 1px 1px;
        border-radius: 5px 0px 0px 5px;
    }

    .language{
        width: 195px;
        cursor: pointer;
    }

    .theme{
        width: 135px;
        cursor: pointer;
    }

    #z3d-box{
        position: fixed;
        top: 0;
        z-index: 1;
        width: 20px;
        height: 100dvh;
        background-color: #313248;
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        align-content: stretch;
        align-items: flex-start;
        color: #fff;
        padding: 5px 8px 5px 8px;
        font-size: 14px;
        transition: right 0.5s ease, width 0.5s ease;
    }

    #z3d-tab{
        position: absolute;
        height: 24px;
        width: 25px;
        text-align: center;
        top: 169px;
        left: -35px;
        background-color: #313248;
        padding: 5px;
        cursor: pointer;
        border-style: solid;
        border-color: #ccc;
        border-width: 1px 0px 1px 1px;
        border-radius: 5px 0px 0px 5px;
    }

    #discord_tab{
        position: fixed;
        height: 24px;
        width: 24px;
        z-index: 1;
        display: flex;
        align-items: center;
        align-content: center;
        justify-content: center;
        text-align: center;
        top: 210px;
        right: 0px;
        background-color: #313248;
        padding: 5px;
        cursor: pointer;
        border-style: solid;
        border-color: #ccc;
        border-width: 1px 0px 1px 1px;
        border-radius: 5px 0px 0px 5px;
    }

    #youtube_tab{
        position: fixed;
        height: 24px;
        width: 24px;
        z-index: 1;
        display: flex;
        align-items: center;
        align-content: center;
        justify-content: center;
        text-align: center;
        top: 251px;
        right: 0px;
        background-color: #313248;
        padding: 5px;
        cursor: pointer;
        border-style: solid;
        border-color: #ccc;
        border-width: 1px 0px 1px 1px;
        border-radius: 5px 0px 0px 5px;
    }

    #debug_tab{
        position: fixed;
        height: 24px;
        width: 24px;
        z-index: 1;
        display: flex;
        align-items: center;
        align-content: center;
        justify-content: center;
        text-align: center;
        top: 282px;
        right: 0px;
        background-color: #313248;
        padding: 5px;
        cursor: pointer;
        border-style: solid;
        border-color: #ccc;
        border-width: 1px 0px 1px 1px;
        border-radius: 5px 0px 0px 5px;
    }

    /* #settings_tab:hover, #discord_link_tab:hover, #event_tab:hover, #wiki_tab:hover, #maps_tab:hover{
        background-color: #ffffff60;
    } */

    .settings_title{
        font-size: 26px;
        margin: 2px 0px 0px 0px;
        text-wrap: nowrap;
    }

    #settings_box .icon, #links_box .icon, #discord_link_box .icon, #event_box .icon, #wiki_box .icon, #maps_box .icon, #search_box .icon, #news_box .icon, #language_box .icon, #theme_box .icon, #z3d-box .icon, .broadcast-content .icon{
        position: absolute;
        top: 5px;
        right: 4px;
        width: 23px;
        height:23px;
        -ms-transform: rotate(45deg); /* IE 9 */
        -webkit-transform: rotate(45deg); /* Chrome, Safari, Opera */
        transform: rotate(45deg);
        cursor: pointer;
    }

    #settings_box .icon:before, #links_box .icon:before, #discord_link_box .icon:before, #event_box .icon:before, #wiki_box .icon:before, #maps_box .icon:before, #search_box .icon:before, #news_box .icon:before, #language_box .icon:before, #theme_box .icon:before, #z3d-box .icon:before, .broadcast-content .icon:before{
        content:"";
        position: absolute;
        width:3px;
        height:15px;
        background-color:#fff;
        left:10px;
        top:4px;
    }

    #settings_box .icon:after, #links_box .icon:after, #discord_link_box .icon:after, #event_box .icon:after, #wiki_box .icon:after, #maps_box .icon:after, #search_box .icon:after, #news_box .icon:after, #language_box .icon:after, #theme_box .icon:after, #z3d-box .icon:after, .broadcast-content .icon:after{
        content:"";
        position: absolute;
        width:15px;
        height:3px;
        background-color:#fff;
        left:4px;
        top:10px;
    }

    .moving_content{
        width: 100%;
        overflow-x: hidden;
        display: flex;
        flex-direction: column;
    }

    #settings_box .info_block, #links_box .info_block, #discord_link_box .info_block, #event_box .info_block, #wiki_box .info_block, #info_box_weekly .info_block{
        display: flex;
        flex-direction: column;
        z-index: 2;
        box-shadow: inset 0 0 10px #161615;
        background: rgba(0,0,0,0.25);
        align-items: center;
        width: 100%;
        padding-bottom: 20px;
        user-select: none;
        overflow-y: scroll;
        overflow-x: hidden;
        margin-bottom: 13px;
        border-radius: 5px;
        float: right;
    }

    #settings_box .info_block, #links_box .info_block, #discord_link_box .info_block {
        min-width: 200px;
    }
    
    #event_box .info_block > div , #wiki_box .info_block > div{
        min-width: 330px;
    }

    .less_pad{
        padding-top: 0px !important;
    }

    .settings_check{
        margin-left: 0 !important;
        height: 10px;
        cursor: pointer;
    }

    #search_box .info_block {
        display: flex;
        flex-direction: column;
        z-index: 2;
        box-shadow: inset 0 0 10px #161615;
        background: rgba(0,0,0,0.25);
        align-items: flex-start;
        width: 100%;
        padding-bottom: 20px;
        user-select: none;
        overflow-y: scroll;
        overflow-x: hidden;
        margin-bottom: 13px;
        border-radius: 5px;
        min-width: 350px;
    }

    #search_bar{
        width: 100%;
        margin-left: 0px;
        margin: 10px 0px;
        height: 30px;
        font-size: 18px;
        cursor: text;
    }

    .search_result{
        padding: 10px;
        cursor: pointer;
        background-color: none;
        width: calc(100% - 20px);
    }
    .search_result:hover{
        background-color: #ffffff20;
    }

    .search_result img{
        width: 100%;
    }

    .result_title{
        font-size: 16px;
        font-weight: bold;
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
    }

    .result_location_card{
        font-size: 10px;
        color: #0ff;
        margin-left: 5px;
        text-wrap-mode: nowrap;
    }

    .result_location_guide{
        font-size: 10px;
        color: rgb(255, 145, 0);
        margin-left: 5px;
        text-wrap-mode: nowrap;
    }

    .result_location_misconception{
        font-size: 10px;
        color: rgb(255, 0, 0);
        margin-left: 5px;
        text-wrap-mode: nowrap;
    }

    .result_location_event{
        font-size: 10px;
        color: rgb(255, 255, 0);
        margin-left: 5px;
        text-wrap-mode: nowrap;
    }

    .result_preview{
        color: #ccc;
        margin-top: 5px;
    }

    .result_part{
        margin: 10px;
        padding: 5px;
        border-left: 2px solid #ffffffaa;
        border-radius: 5px;
    }

    .result_highlight{
        color: #ff0;
        font-weight: bold;
    }

    .result_focus{
        filter: grayscale(0.7);
        opacity: 0.8;
    }

    .click_more{
        float: right;
        align-self: flex-end;
        opacity: 0.4;
        font-size: 12px;
    }

    #news_box .info_block {
        display: flex;
        flex-direction: column;
        z-index: 2;
        box-shadow: inset 0 0 10px #161615;
        background: rgba(0,0,0,0.25);
        align-items: flex-start;
        width: 100%;
        padding-bottom: 20px;
        user-select: none;
        overflow-y: scroll;
        overflow-x: hidden;
        margin-bottom: 13px;
        border-radius: 5px;
        min-width: 350px;
    }

    #z3d-box .info_block {
        display: flex;
        flex-direction: column;
        z-index: 2;
        box-shadow: inset 0 0 10px #161615;
        background: rgba(0,0,0,0.25);
        align-items: flex-start;
        width: 100%;
        padding-bottom: 20px;
        user-select: none;
        overflow-y: scroll;
        overflow-x: hidden;
        margin-bottom: 13px;
        border-radius: 5px;
        min-width: 350px;
    }

    #z3d-footer{
        font-size: 11px;
        padding: 0px 10px 20px 10px;
        color: rgb(173,173,173);
        min-width: 350px;
        text-wrap-style: balance;
    }

    #speed_offset{
        margin-top: 5px;
        font-weight: bold;
        width: calc(100% - 30px);
        display: flex;
        justify-content: space-evenly;
        align-items: center;
    }

    #offset_value{
        font-size: 20px;
    }

    #calibrate-button{
        width: 50%;
        height: 30px;
        margin-top: 8px;
        font-size: 18px;
        font-weight: bold;
        letter-spacing: 1px;
        cursor: pointer;
    }

    #calibrate-button:hover{
        background-color: #ffffff60;
    }

    .speed_icon{
        display: flex;
        align-items: center;
        justify-content: center;
        background: #FFF;
        border-radius: 15px;
        color: #444;
        width: 25px;
        height: 25px;
        text-align: center;
        margin: 0;
        padding: 0;
        cursor: pointer;
    }

    .speed_icon:hover{
        background-color: #747474;
    }

    #info_box, #info_box_voice, #info_box_zndl, #info_box_debug, #info_box_weekly{
        z-index: 100;
        width: 600px;
        height: auto;
        max-height: calc(100vh - 100px);
        background-color: #313248;
        border-radius: 5px;  
        display: flex;
        flex-direction: column;
        position: relative;
        flex-wrap: nowrap;
        align-content: stretch;
        align-items: flex-start;
        color: #fff;
        padding: 20px;
        overflow-y: scroll;
        font-size: 12px;
    }

    #info_box_weekly{
        padding-bottom: 10px;
    }

    #info_box_calibrate {
        z-index: 100;
        width: 400px;
        height: 400px;
        background-color: #313248;
        border-radius: 5px;  
        display: flex;
        flex-direction: column;
        position: relative;
        flex-wrap: nowrap;
        align-content: stretch;
        align-items: flex-start;
        color: #fff;
        padding: 20px;
        overflow-y: scroll;
        font-size: 12px;
    }

    #info_box .icon, #info_box_voice .icon, #info_box_zndl .icon, #info_box_debug .icon, #info_box_calibrate .icon, #info_box_weekly .icon{
        position: absolute;
        top: 10px;
        right: 10px;
        width: 23px;
        height:23px;
        -ms-transform: rotate(45deg); /* IE 9 */
        -webkit-transform: rotate(45deg); /* Chrome, Safari, Opera */
        transform: rotate(45deg);
        cursor: pointer;
    }

    #info_box .icon:before, #info_box_voice .icon:before, #info_box_zndl .icon:before, #info_box_debug .icon:before, #info_box_calibrate .icon:before, #info_box_weekly .icon:before{
        content:"";
        position: absolute;
        width:3px;
        height:15px;
        background-color:#fff;
        left:10px;
        top:4px;
    }

    #info_box .icon:after, #info_box_voice .icon:after, #info_box_zndl .icon:after, #info_box_debug .icon:after, #info_box_calibrate .icon:after, #info_box_weekly .icon:after{
        content:"";
        position: absolute;
        width:15px;
        height:3px;
        background-color:#fff;
        left:4px;
        top:10px;
    }

    #info_box h3, #info_box_voice h3{
        margin-bottom: 8px;
    }

    #info_box .info_block, #info_box_voice .info_block, #info_box_zndl .info_block, #info_box_calibrate .info_block{
        font-family: 'Courier New', Courier, monospace;
        box-shadow: inset 0 0 10px #161615;
        background: rgba(0,0,0,0.25);
        padding: 10px;
        height: fit-content;
        width: calc(100% - 20px);
        font-size: 11px;
        
    }

    #info_box_voice .info_block li{
        padding-bottom: 5px !important;
    }

    #info_box .info_block hr, #info_box_voice .info_block hr, #info_box_zndl .info_block hr, #info_box_calibrate .info_block hr{
        width: calc(100% - 10px);
        margin-top: 15px;
        margin-bottom: 15px;
    }

    #info_box .info_text, #info_box_voice .info_text, #info_box_zndl .info_text, #info_box_calibrate .info_text{
        margin-left: 10px;
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: center;
    }

    #info_box .info_image_text{
        margin-left: 10px;
        display: grid;
        align-content: center;
        grid-template-columns: 80px auto;
        align-items: center;
    }

    .info_image_text img{
        margin-right: 20px;
        max-height: 60px;
        max-width: 60px;
        filter: drop-shadow(2px 2px 2px black);
        position: relative;
        z-index: -1;
    }

    #info_box .copyright_text, #info_box_voice .copyright_text, #info_box_zndl .copyright_text{
        margin-top: 10px;
        text-align: center;
        align-self: center;
        font-size: 11px;   
    }

    #info_box .thankyou_text, #info_box_voice .thankyou_text{
        color: #ffffffa0;
        margin: 15px 10px 0px 10px;
        text-align: center;
        align-self: center;
        font-size: 10px;
        line-height: 15px;
    }

    .thankyou_text_img{
        display: flex;
        align-items: center;
        color: #ffffffa0;
        margin: 15px 10px 0px 10px;
        align-self: center;
        font-size: 10px;
        line-height: 15px;
    }

    .thankyou_text_img img{
        border-radius: 50%;
        height: 35px;
        margin-right: 5px;
    }

    #info_box_zndl img{
        align-self: center;
        margin: 10px;
        border: 1px solid #FFF;
        max-height: 225px;
    }

    input[type="range"] {
        margin-left: 0;
        -webkit-appearance: none;
        margin: 10px 0px;
    }
    input[type=range]:focus {
        outline: none;
    }
    input[type=range]::-webkit-slider-runnable-track {
        width: 100%;
        height: 5px;
        cursor: pointer;
        animate: 0.2s;
        box-shadow: 0px 0px 0px #000000;
        background: #ffffff60;
        border-radius: 1px;
        border: 0px solid #000000;
    }
    input[type=range]::-webkit-slider-thumb {
        box-shadow: 0px 0px 0px #000000;
        border: 1px solid #ffffff60;
        height: 16px;
        width: 16px;
        border-radius: 25px;
        background: #ccc;
        cursor: pointer;
        -webkit-appearance: none;
        margin-top: -7px;
    }
    input[type=range]:focus::-webkit-slider-runnable-track {
        background: #ffffff60;
    }
    input[type=range]::-moz-range-track {
        width: 100%;
        height: 5px;
        cursor: pointer;
        animate: 0.2s;
        box-shadow: 0px 0px 0px #000000;
        background: #ffffff60;
        border-radius: 1px;
        border: 0px solid #000000;
    }
    input[type=range]::-moz-range-thumb {
        box-shadow: 0px 0px 0px #000000;
        border: 1px solid #ffffff60;
        height: 16px;
        width: 16px;
        border-radius: 25px;
        background: #ccc;
        cursor: pointer;
    }
    input[type=range]::-ms-track {
        width: 100%;
        height: 5px;
        cursor: pointer;
        animate: 0.2s;
        background: transparent;
        border-color: transparent;
        color: transparent;
    }
    input[type=range]::-ms-fill-lower {
        background: #ffffff60;
        border: 0px solid #000000;
        border-radius: 2px;
        box-shadow: 0px 0px 0px #000000;
    }
    input[type=range]::-ms-fill-upper {
        background: #ffffff60;
        border: 0px solid #000000;
        border-radius: 2px;
        box-shadow: 0px 0px 0px #000000;
    }
    input[type=range]::-ms-thumb {
        margin-top: 1px;
        box-shadow: 0px 0px 0px #000000;
        border: 1px solid #ffffff60;
        height: 16px;
        width: 16px;
        border-radius: 25px;
        background: #ccc;
        cursor: pointer;
    }
    input[type=range]:focus::-ms-fill-lower {
        background: #ffffff60;
    }
    input[type=range]:focus::-ms-fill-upper {
        background: #ffffff60;
    }

    .data{
        width: 100%;
        height: 100%;
        display: grid;
        grid-template-columns: 180px auto;
        position: absolute;
    }

    .menu{
        grid-column: 1;
        display: grid;
        width: 100%;
        grid-template-rows: 30px calc(100dvh - 200px) 25px 33px 55px 20px 20px;
        background-color: #313248;
        margin: -8px;
        padding: 8px;
        box-shadow: 5px 0px 10px 0px #000;
        z-index: 2;
        position: relative;
    }

    .tools-filter-buttons{
        grid-row: 1;
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: space-evenly;
    }

    .filter_tool_button{
        cursor: pointer;
        width: 50%;
        font-family: 'ZNSecondary';
        font-size: 21px;
    }

    .filter_tool_button_live{
        border-left: 1px solid #ccc;
        border-top: 1px solid #ccc;
        border-right: 1px solid #ccc;
        border-bottom: none;
        background: none;
        color: #fff;
        border-radius: 10px 10px 0px 0px;
    }

    .filter_tool_button_back{
        border-left: none;
        border-top: none;
        border-right: none;
        border-bottom: 1px solid #ccc;
        background: none;
        background-image: linear-gradient(rgba(0 0 0 / 0%), rgb(0 0 0 / 40%));
        transition: 0.3s;
        color: #aaa;
    }

    .filter_tool_button_back:hover{
        background-image: linear-gradient(rgba(0 0 0 / 0%), rgb(204 204 204 / 40%));
    }

    .tools-content{
        grid-row: 2;
        display: grid;
        width: 100%;
        grid-template-rows: 35px min-content 35px auto;
        overflow-y: auto;
    }

    .spin_hide{
        animation-name: spinhide;
        animation-duration: 150ms;
        animation-timing-function: linear;
        animation-fill-mode: forwards;
    }

    @keyframes spinhide {
        from {
            transform: rotateY(0deg);
        }
        to{
            transform: rotateY(90deg);
        }
    }

    .spin_show{
        animation-name: spinshow;
        animation-duration: 150ms;
        animation-timing-function: linear;
        animation-fill-mode: forwards;
    }

    @keyframes spinshow {
        from {
            transform: rotateY(270deg);
        }
        to{
            transform: rotateY(360deg);
        }
    }

    .timer_title{
        grid-column: 1;
        grid-row: 1;
        font-size: 26px;
        z-index: 2;
        padding-top: 10px;
    }

    .modifier_title{
        grid-column: 1;
        grid-row: 3;
        font-size: 26px;
        z-index: 2;
        margin-top: 8px;
    }

    .timers{
        grid-column: 1;
        grid-row: 2;
        font-size: 30px;
        text-align: center;
        display: flex;
        flex-direction: column;
        z-index: 2;
        box-shadow: inset 0 0 10px #161615;
        background: rgba(0,0,0,0.25);
        align-items: center;
        border-radius: 5px;
        padding: 6px 4px 10px 4px;
    }

    .timer_block{
        width: 100%;
    }

    .modifier{
        grid-column: 1;
        grid-row: 4;
        font-size: 30px;
        text-align: center;
        display: flex;
        flex-direction: column;
        z-index: 2;
        box-shadow: inset 0 0 10px #161615;
        background: rgba(0,0,0,0.25);
        align-items: center;
        border-radius: 5px;
        padding: 2px 4px 10px 4px;
    }

    .modifier_ghost_speed, .modifier_bpm_finder{
        font-size: 18px;
        letter-spacing: 1px;
        padding: 10px 10px 0px 10px;
    }

    .modifier_smudge_timer{
        font-size: 16px;
        letter-spacing: 1px;
        text-align: center;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0px 4px 4px 4px;
    }

    #ghost_modifier_speed, #modifier_volume, #cust_starting_sanity, #cust_sanity_pill_rest, #cust_sanity_drain{
        width: 90%;
        margin-left: 2%;
        background: none;
    }

    .modifier_ghost_speed_labels{
        display: flex;
        justify-content: space-between;
        width: 92%;
        padding-top: 2px;
    }

    .modifier_ghost_speed_label{
        color: #fff;
        font-size: 10px;
        rotate: 320deg;
    }

    .modifier_note{
        color: #ffffffa0;
        font-size: 10px;
        padding-top: 5px;
        margin: 0px 5px;
        display: flex;
        align-items: center;
    }

    .title_note{
        color: #ffffffa0;
        font-size: 11px;
        margin: 0px;
        padding-bottom: 5px;
        display: flex;
        align-items: center;
    }

    .modifier_option{
        color: #ffffffa0;
        font-size: 10px;
        padding-top: 10px;
        margin: 0px 10px;
        display: flex;
        align-items: center;
        width: calc(100% - 20px);
    }

    .modifier_note_2{
        color: #ffffffa0;
        font-size: 10px;
    }

    .modifier_note_3{
        color: #a9a9a9a0;
        font-size: 8px;
        padding: 2px;
    }

    .timer_div{
        width: 100%;
    }

    .modifier_sound_select{
        display: flex;
        padding-top: 10px;
        min-width: 75%;
    }

    .modifier_sound_select img{
        height: 20px;
        filter: invert(1);
        padding: 0px 5px;
    }

    .filter-content{
        grid-row: 2;
        display: grid;
        width:100%;
        grid-template-rows: 35px min-content 37px min-content 37px auto;
        overflow-x: hidden;
        overflow-y: auto;
    }

    .evidence_title{
        grid-column: 1;
        grid-row: 1;
        font-size: 26px;
        z-index: 2;
        padding-top: 10px;
    }

    .blood-moon-icon{
        float: right;
        height: 22px;
        opacity: 0.5;
        cursor: pointer;
        padding-right: 5px;
    }

    .blood-moon-icon:hover{
        opacity: 1.0;
    }

    .blood-moon-active{
        opacity: 1.0 !important;
        filter: drop-shadow(0px 0px 5px #a00);
    }

    .forest-minion-icon{
        float: right;
        height: 22px;
        opacity: 0.5;
        cursor: pointer;
        padding-right: 5px;
    }

    .forest-minion-icon:hover{
        opacity: 1.0;
    }

    .forest-minion-active{
        opacity: 1.0 !important;
        filter: drop-shadow(0px 0px 5px rgb(185, 184, 98));
    }

    #blood-moon-effect-top, #blood-moon-effect-bottom{
        z-index: 0;
        position: fixed;
        left: 0;
        width: 100%;
        height: 250px;
        pointer-events: none;
    }

    .blood-moon-effect-top {
        top: 0;
        background: linear-gradient(180deg, rgba(255, 74, 74, 0.6) 0%, rgba(255, 74, 74,0) 80%);
        animation: blood-moon-pulse-top 10s infinite;
    }
    
    .blood-moon-effect-bottom {
        bottom: 0;
        background: linear-gradient(0deg, rgba(255, 74, 74, 0.6) 0%, rgba(255, 74, 74,0) 80%);
        animation: blood-moon-pulse-bot 10s infinite;
    }
    
    @keyframes blood-moon-pulse-top {
        0% {
            opacity: 0.3;
            transform: translateY(-50px);
        }
        50% {
            opacity: 0.7;
            transform: translateY(0);
        }
        100% {
            opacity: 0.3;
            transform: translateY(-50px);
        }
    }

    @keyframes blood-moon-pulse-bot {
        0% {
            opacity: 0.3;
            transform: translateY(50px);
        }
        50% {
            opacity: 0.7;
            transform: translateY(0);
        }
        100% {
            opacity: 0.3;
            transform: translateY(50px);
        }
    }

    .difficulty_holder{
        grid-column: 1;
        grid-row: 2;
        display: flex;
        flex-direction: row;
    }

    .num_evidence{
        flex:1;
        width: 100%;
        border-radius: 5px;
        border: none;
        color: #FFF;
        background: rgba(0,0,0,0.25);
        box-shadow: inset 0 0 10px #161615;
        height: 25px;
        font-size: 16px;
        padding: 0px 3px;
        padding-top: 1px;
        font-family: 'ZNSecondary';
        float: right;
        cursor: pointer;
    }

    #weekly_icon{
        width: 25px;
        height: 25px;
        margin-right: 3px;
        opacity: 0.5;
        cursor: pointer;
    }

    #weekly_icon:hover{
        opacity: 1.0;
    }

    .cust_num_evidence, .cust_lobby_type{
        width: 90%;
        border-radius: 5px;
        border: none;
        color: #FFF;
        background: rgba(0,0,0,0.25);
        box-shadow: inset 0 0 10px #161615;
        height: 25px;
        font-size: 16px;
        padding: 0px 3px;
        padding-top: 1px;
        font-family: 'ZNSecondary';
        float: right;
        cursor: pointer;
    }

    .cust_label{
        font-size: 8px;
        width: calc(100% / 12);
    }

    .num_evidence:focus-visible,.cust_num_evidence:focus-visible{
        outline: none;
        border: none;
    }

    .num_evidence option, .cust_num_evidence option{
        background-color: #161615;
        cursor: pointer;
    }

    #custom_options{
        grid-column: 1;
        grid-row: 2;
        display: flex;
        flex: 1;
        margin-top: 28px;
    }

    #game_mode{
        grid-column: 1;
        grid-row: 2;
        font-size: 32px;
        text-align: center;
        display: flex;
        flex-direction: column;
        justify-content: center;
        z-index: 4;
        box-shadow: inset 0 0 10px #161615;
        background: rgba(0,0,0,0.90);
        position: relative;
        border-radius: 5px;
        padding: 2px 0;
    }

    #game_mode span{
        font-size:20px;
    }

    .evidence{
        grid-column: 1;
        grid-row: 2;
        font-size: 30px;
        text-align: center;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        z-index: 2;
        box-shadow: inset 0 0 10px #161615;
        background: rgba(0,0,0,0.25);
        height: min-content;
        border-radius: 5px;
        padding: 2px 0;
        margin-top: 28px;
    }

    .speed_title{
        grid-column: 1;
        grid-row: 3;
        font-size: 26px;
        z-index: 2;
        margin-top: 8px;
    }

    .speed{
        grid-column: 1;
        grid-row: 4;
        font-size: 30px;
        text-align: center;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        z-index: 2;
        box-shadow: inset 0 0 10px #161615;
        background: rgba(0,0,0,0.25);
        height: min-content;
        border-radius: 5px;
        padding: 2px 0;
    }

    .hunt_sanity_title{
        grid-column: 1;
        grid-row: 5;
        font-size: 26px;
        z-index: 2;
        margin-top: 8px;
    }

    .hunt_sanity{
        grid-column: 1;
        grid-row: 6;
        font-size: 30px;
        text-align: center;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        z-index: 2;
        box-shadow: inset 0 0 10px #161615;
        background: rgba(0,0,0,0.25);
        border-radius: 5px;
        padding: 2px 0;
    }

    .hunt_sanity_num{
        color: #bbb;
        font-size: 12px;
    }

    #modifier_sound_type {
        border: none;
        color: #ccc;
        box-shadow: inset 0 0 10px #161615;
        background: rgba(0,0,0,0.25);
        font-size: 11px;
        cursor: pointer;
        width: 100%;
    }

    #modifier_sound_type option{
        background-color: #161615;
        cursor: pointer;
    }

    .speed_logic_select{
        font-size: 12;
        display: flex;
        padding: 5px;
        font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    }

    .speed_logic_select span{
        align-self: center;
        margin: 0px 5px;
    }

    #speed_logic_type, #bpm_type {
        display: none;
    }

    .shared_journal{
        display: flex;
        flex-direction: column;
        align-content: center;
        justify-content: flex-start;
        align-items: center;
    }

    #room_id, #link_id {
        border: none;
        background: rgba(0,0,0,0.25);
        box-shadow: inset 0 0 10px #161615;
        padding: 10px;
        margin: 10px 0px;
        width: 100%;
        color: white;
        font-size: 1em;
        outline: none;
        text-align: center;
    }

    .clipboard_icon{
        width: 20px;
        position: absolute;
        right: 5px;
        top: 17px;
        cursor: pointer;
        filter: opacity(0.4);
    }

    .clipboard_icon:hover{
        filter: opacity(1.0);
    }

    #link_pos{
        width: 20px;
        height: 20px;
        position: absolute;
        top: 16px;
        left: 5px;
        border-radius: 15px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding-left: 1px;
    }

    .copy_cover{
        background-color: #ffffffaa;
        color: #000000;
        position: absolute;
        top: 0;
        width: 100%;
        height: 35px;
        margin: 10px 0px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .journal_link {
        position: relative;
    }

    .vc_link{
        width:176px; margin-top: 10px;
    }

    .journal_link_buttons{
        width: 100%;
        display: flex;
        flex-wrap: nowrap;
        flex-direction: row;
        justify-content: space-between;
    }

    .journal_link_button{
        width: 100%;
        cursor: pointer;
        border: none;
        margin: 0px 2px;
        padding: 5px;
        background: #ccc;
    }

    .journal_link_button:hover{
        background: rgb(128, 128, 128);
    }

    .desktop_link_button{
        flex-grow: 1;
        cursor: pointer;
        border: none;
        margin: 0px 2px;
        padding: 5px;
        background: #ccc;
    }

    .desktop_link_button:hover{
        background: rgb(128, 128, 128);
    }

    .toggle {
        height: 15px;
        width: 40px;
        border-radius: 10px;
        box-shadow: inset 0 0 10px #161615;
        background: rgba(0,0,0,0.25);
        position: relative;
        cursor: pointer;
        transition: all 0.2s ease-in-out;
        margin-top: 3px;
    }
    
    .toggle::before {
        content: "";
        height: 15px;
        width: 15px;
        position: absolute;
        left: 0;
        border-radius: 50%;
        background-color: #f4f4f4;
        transition: all 0.2s ease-in-out;
    }

    #speed_logic_type:checked + .toggle::before {
        position: absolute;
        left: calc(100% - 15px);
    }

    #bpm_type:checked + .toggle::before {
        position: absolute;
        left: calc(100% - 15px);
    }
    
    #modifier_sound_type:checked + .toggle::before {
        position: absolute;
        left: calc(100% - 15px);
    }

    .play_button {
        filter: invert(1);
        opacity: 0.8;
        cursor: pointer;
        position: relative;
        width: 28px;
        float: left;
        margin-top: -5px;
    }
      
    .play_button:hover {
        opacity: 0.5;
    }

    #time_left{
        color: #fff;
        font-size: 11px;
        position: relative;
        padding: 0px 4px;
        margin-top: 7px;
        float: right;
    }

    #progress {
        margin: 0px 2px;
        width: calc(100% - 4px);
        position: relative;
    }

    #progressBar {
        width: calc(100% - 75px);
        margin: 11px 0px 5px 4px;
        height: 6px;
        box-shadow: inset 0 0 10px #161615;
        background: rgba(0,0,0,0.25);
        display: inline-block;
        position: relative;
    }
      
    #progressBar .bar {
        height: 6px;
        text-align: right;
        line-height: 6px;
        width: 0;
        background-color: #ffffff60;
        box-sizing: border-box;
    }

    #progressBar .demon_line {
        height: 8px;
        border-left: 1px #fff dotted;
        left: 66.666%;
        width: 0;
        top: -2px;
        position: absolute;
        float: left;
    }

    #progressBar .ghost_line {
        height: 10px;
        border-left: 1px #fff solid;
        left: 50%;
        width: 0;
        top: -2px;
        position: absolute;
        float: left;
    }

    #progressBar .spirit_line {
        height: 8px;
        border-left: 1px #fff dotted;
        width: 0;
        top: -2px;
        position: absolute;
        float: left;
    }

    .line_labels{
        display: block;
        width: calc(100% - 49px);
        height: 6px;
        margin: 0px 10px 0px 29px;
        text-align: left;
        position: relative;
    }

    .spirit_line_label{
        color: rgb(145, 145, 145);
        font-size: 10px;
        display: inline-block;
        left: 6px;
        bottom: -6px;
        position: absolute;
    }

    .demon_line_label{
        color: rgb(145, 145, 145);
        font-size: 10px;
        display: inline-block;
        left: 56.666%;
        bottom: -6px;
        position: absolute;
    }

    #time_left_cooldown{
        color: #fff;
        font-size: 11px;
        position: relative;
        padding: 0px 4px;
        margin-top: 7px;
        float: right;
    }

    #cooldownProgress {
        margin: 0px 2px;
        width: calc(100% - 4px);
        position: relative;
    }

    #cooldownProgressBar {
        width: calc(100% - 75px);
        margin: 11px 0px 5px 4px;
        height: 6px;
        box-shadow: inset 0 0 10px #161615;
        background: rgba(0,0,0,0.25);
        display: inline-block;
        position: relative;
    }
      
    #cooldownProgressBar .bar {
        height: 6px;
        text-align: right;
        line-height: 6px;
        width: 0;
        background-color: #ffffff60;
        box-sizing: border-box;
    }

    #cooldownProgressBar .demon_line {
        height: 8px;
        border-left: 1px #fff dotted;
        left: 20%;
        width: 0;
        top: -2px;
        position: absolute;
        float: left;
    }

    #cooldownProgressBar .ghost_line {
        height: 10px;
        border-left: 1px #fff solid;
        left: 0;
        width: 0;
        top: -2px;
        position: absolute;
        float: left;
    }

    .cooldown_demon_line_label{
        color: rgb(145, 145, 145);
        font-size: 10px;
        display: inline-block;
        left: 22%;
        bottom: -6px;
        position: absolute;
    }

    #time_left_hunt{
        color: #fff;
        font-size: 11px;
        position: relative;
        padding: 0px 4px;
        margin-top: 7px;
        float: right;
    }

    #huntProgress {
        margin: 0px 2px;
        width: calc(100% - 4px);
        position: relative;
    }

    #huntProgressBar {
        width: calc(100% - 75px);
        margin: 11px 0px 5px 4px;
        height: 6px;
        box-shadow: inset 0 0 10px #161615;
        background: rgba(0,0,0,0.25);
        display: inline-block;
        position: relative;
    }
      
    #huntProgressBar .bar {
        height: 6px;
        text-align: right;
        line-height: 6px;
        width: 0;
        background-color: #ffffff60;
        box-sizing: border-box;
    }

    #huntProgressBar .cursed_line {
        height: 8px;
        border-left: 1px #fff dotted;
        left: 0;
        width: 0;
        top: -2px;
        position: absolute;
        float: left;
    }

    #huntProgressBar .normal_line {
        height: 10px;
        border-left: 1px #fff solid;
        left: 40%;
        width: 0;
        top: -2px;
        position: absolute;
        float: left;
    }

    .hunt_cursed_line_label{
        color: rgb(145, 145, 145);
        font-size: 10px;
        display: inline-block;
        left: 8px;
        bottom: -6px;
        position: absolute;
    }

    #time_left_sound{
        color: #fff;
        font-size: 11px;
        position: relative;
        padding: 0px 4px;
        margin-top: 7px;
        float: right;
    }

    #soundProgress {
        margin: 0px 2px;
        width: calc(100% - 4px);
        position: relative;
    }

    #soundProgressBar {
        width: calc(100% - 75px);
        margin: 11px 0px 5px 4px;
        height: 6px;
        box-shadow: inset 0 0 10px #161615;
        background: rgba(0,0,0,0.25);
        display: inline-block;
        position: relative;
    }
      
    #soundProgressBar .bar {
        height: 6px;
        text-align: right;
        line-height: 6px;
        width: 0;
        background-color: #ffffff60;
        box-sizing: border-box;
    }

    #soundProgressBar .myling_line {
        height: 8px;
        border-left: 1px #fff dotted;
        left: 18.75%;
        width: 0;
        top: -2px;
        position: absolute;
        float: left;
    }

    #soundProgressBar .normal_line {
        height: 10px;
        border-left: 1px #fff solid;
        left: 0;
        width: 0;
        top: -2px;
        position: absolute;
        float: left;
    }

    .sound_myling_line_label{
        color: rgb(145, 145, 145);
        font-size: 10px;
        display: inline-block;
        left: 21%;
        bottom: -6px;
        position: absolute;
    }

    .hunt_size_label{
        color: rgb(145, 145, 145);
        font-size: 12px;
        display: inline-block;
        text-align: right;
        margin-top: 3px;
    }

    #tap{
        font-size: 18px;
        color: #ccc;
        border: 2px solid #ccc;
        background: none;
        border-radius: 5px;
        padding: 5px;
        margin: 5px;
        cursor: pointer;
        z-index: 100;
        width: 90%;
        height: 45px;
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: space-between;
    }

    #calibration-tap{
        font-size: 30px;
        font-weight: bold;
        letter-spacing: 5px;
        color: #ccc;
        border: 2px solid #ccc;
        background: none;
        border-radius: 5px;
        padding: 5px;
        margin: 25px 5px 5px 5px;
        cursor: pointer;
        z-index: 100;
        width: 250px;
        height: 45px;
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: center;
        align-self: center;
    }

    #calibration{
        cursor: pointer;
        font-size: 24px;
        font-weight: bold;
        margin: 10px 5px 5px 5px;
        width: 150px;
        height: 40px;
        align-self: center;
        position: absolute;
        bottom: 20px;
    }

    #tap:hover, #calibration-tap:hover, #calibration:hover{
        background-color: #ffffff60;
    }

    #bpm_hist{
        padding: 0px 2px;
        margin-bottom: 2px;
        background: rgba(0,0,0,0.3);
        border-radius: 3px;
    }

    #tap_viz{
        color: #ffffff52;
        font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
        font-size: 12px;
        width: 65%;
        height: 18px;
        overflow: hidden;
        margin-top: -10px;
        margin-bottom: 5px;
    }

    .tap_note{
        color: #ffffffa0;
        font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
        font-size: 9px;
    }

    #input_bpm, #input_speed{
        color: #ffffff52;
        font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
        font-size: 12px;
        text-align: center;
        width: 30px;
    }

    .calibration-bar{
        height: 8px;
        width: 250px;
        border-radius: 4px;
        background-color: #a3a3a3;
        margin: 5px;
        align-self: center;
    }
    
    .calibration-progress{
        height: 100%;
        width: 0%;
        border-radius: 4px;
        background-color: #00bbff;
        transition: width 1s ease;
    }
    
    #cal_complete, #new_offset{
        align-self: center;
    }

    .legend{
        display: flex;
        margin-bottom: 7px;
    }

    .legend_box{
        width: 30px;
        height: 15px;
        background-color: #3b3c57;
        border: solid 1px white;
        border-radius: 3px;
        margin-right: 7px;
    }

    .sanity_labels{
        text-align: left;
        margin-left: -22px;
        font-size: 16px;
        padding-top: 20px;
        letter-spacing: 1px;
        position: relative;
        width: calc(100% - 42px);
    }

    .modifier_volume{
        font-size: 18px;
        letter-spacing: 1px;
        padding: 10px 10px 0px 10px;
        position: relative;
        width: calc(100% - 42px);
        text-align: center;
    }

    .modifier_volume_labels{
        display: flex;
        justify-content: space-between;
        width: 92%;
    }

    .modifier_volume_label{
        color: #fff;
        font-size: 9px;
        rotate: 320deg;
    }

    .cards{
        grid-column: 2;
        height: 100%;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-evenly;
        overflow-y: scroll;
        overflow-x: hidden;
        align-content: flex-start;
        user-select: none;
        background: rgba(0,0,0,0.5);
        padding-bottom: 30px;
        margin: -8px -8px -8px 8px;
        padding-left: 26px;
        padding-right: 32px;
    }

    .copyright{
        grid-column: 1;
        grid-row: 7;
        text-align: left;
        z-index: 2;
        color: rgb(173, 173, 173);
        font-size: 10px;
        cursor: pointer;
        margin-left: calc(45% + 12px);
        padding-top: 6px;
    }

    .copyright img{
        height: 16px;
        filter: invert(1);
        padding: 0px 5px;
    }

    .copyright:hover{
        filter: opacity(0.5)
    }

    .link_hover{
        color: rgb(173, 173, 173);
        cursor: pointer;
        text-decoration: underline;
    }

    .link_hover:hover{
        filter: opacity(0.5)
    }

    .flex-holder-right{
        display: flex;
        width: calc(100% - 20px);
        margin-left: 10px;
        justify-content: flex-end;
    }

    .flex-holder-split{
        display: flex;
        width: calc(100% - 20px);
        margin-left: 10px;
        justify-content: space-between;
    }

    .button-gray{
        background-color: #ccc;
        color: black;
        text-decoration: none;
        padding: 10px;
        border: none;
        border-radius: 5px;
        margin: 0px 0px 24px 0px;
        display: inline-flex;
        cursor: pointer;
        float: right;
    }

    .button-gray:hover{
        background-color: rgb(128,128,128);
    }

    .find-overlay{
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        text-align: center;
        margin-bottom: 20px;
    }

    .button-zn{
        background-color: #ccc;
        color: black;
        text-decoration: none;
        padding: 10px;
        border: none;
        border-radius: 5px;
        cursor: pointer;
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-top: 7px;
    }

    .button-zn:hover{
        background-color: rgb(128,128,128);
    }

    .active_title,.info_title{
        font-size: 24px;
        height: 24px;
        padding: 10px;
    }

    .maps_title{
        font-size: 26px;
        margin: 2px 0px 0px 0px;
    }

    .maps_image{
        width: calc(100% - 10px);
        height: calc(100% - 260px);
        margin: 0px 0px 5px 0px;
        background-color: #000;
        overflow: hidden;
        position: relative;
        cursor: zoom-in;
        touch-action:none;
    }

    .map_image{
        width: 100%;
        height: 100%;
        background-color: #000;
        background-image: url(https://zero-network.net/phasmophobia/static/imgs/maps/tanglewood.png);
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        position: absolute;
    }

    .hover_zoom{
        color: white;
        position: absolute;
        background: rgba(255,255,255,0.2);
        padding: 5px;
        font-size: 11px;
        border-radius: 10px;
        filter: opacity(0.8);
        bottom: 5px;
        left: 5px;
    }

    .map_size_info{
        color: white;
        position: absolute;
        background: rgba(255,255,255,0.2);
        padding: 5px;
        font-size: 11px;
        border-radius: 10px;
        filter: opacity(0.8);
        top: 5px;
        left: 5px;
    }

    .maps_credit{
        color: #FFF;
        text-align: right;
        font-size: 10px;
        margin-bottom: 10px;
    }

    .maps_credit a{
        text-decoration: none;
        color:#00aa2b;
    }

    .map_event_check{
        color: #FFF;
        text-align: left;
        font-size: 10px;
        margin-bottom: 10px;
        display: flex;
        align-items: center;
        cursor: pointer;
    }
    .map_event_check label{
        cursor: pointer;
        user-select: none;
    }

    .maps_buttons{
        display: flex;
        height: 158px;
        width: calc(100% - 20px);
        margin: 0px 0px 5px 10px;
        flex-direction: column;
        flex-wrap: wrap;
        justify-content: flex-start;
        align-content: stretch;
    }

    .maps_button{
        background: none;
        cursor: pointer;
        border: 1px solid #FFF;
        color: #fff;
        border-radius: 5px;
        margin: 3px;
        position: relative;
        font-size: 12px;
    }

    .selected_map{
        background-color: #FFF;
        border: 1px solid #FFF;
        color: #313248;
    }

    .maps_button:hover{
        background-color: #ffffff60;
    }

    .map_size{
        position: absolute;
        top: 0px;
        left: 0px;
        height: 100%;
        width: 13px;
        display: flex;
        border-radius: 4px 0px 0px 4px;
        align-items: center;
        align-content: center;
        justify-content: center;
        font-size: 10px;
    }

    .event_map{
        background-color: #fff;
        color: #333 !important;
        position: absolute;
        top: 0px;
        right: 0px;
        height: 100%;
        width: 13px;
        display: flex;
        border-radius: 0px 4px 4px 0px;
        justify-content: center;
        font-size: 10px;
    }

    .maps_button .s{
        background-color: #1d8100;
        color: #fff;
    }

    .maps_button .m{
        background-color: #d1cc00;
        color: #000;
    }

    .maps_button .l{
        background-color: #e90000;
        color: #fff;
    }

    #kofi{
        grid-column: 1;
        grid-row: 6 / 8;
        width: 45%;
        max-width: 81px;
        color: #ffffff;
        font-size: 10px;
        display: flex;
        flex-direction: column;
        padding-left: 5px;
        opacity: 0.3;
        cursor: pointer;
        transition: opacity 0.2s;
        text-decoration: none;
        padding-top: 2px;
    }

    #kofi:hover{
        opacity: 1.0;
    }

    #kofi img{
        width: 100%;
    }

    #active-users{
        grid-column: 1;
        grid-row: 6;
        text-align: left;
        z-index: 2;
        font-size: 9px;
        padding-top: 3px;
        z-index: 50;
        margin-left: calc(45% + 12px);
    }

    #active-users-label{
        color: #0abdce;
    }

    #current-version-label{
        color: #0abdce;
    }

    #session, #prev-session{
        color: #ffffffa0;
        font-size: 8px;
        text-align: center;
        align-self: center;
    }

    #prev-session{
        margin-bottom: 15px;
    }

    #close-menu-button{
        display: none;
    }

    #cur_map_label{
        grid-column: 1;
        grid-row: 3;
        width: 100%; 
        margin-top: 10px;
        letter-spacing: 1px;
        font-size: 16px;
        text-align: left;
        color: #ffffff99;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-around;
    }

    #cur_map{
        grid-column: 1;
        grid-row: 4;
        width: 100%;   
        justify-self: center;
        margin-bottom: 10px;
    }

    #reset{
        grid-column: 1;
        grid-row: 5;
        width: 100%;
        justify-self: center;
        font-size: 20px;
        color: #ccc;
        border: 2px solid #ccc;
        background: none;
        border-radius: 5px;
        margin: 5px;
        cursor: pointer;
        z-index: 100;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .standard_reset:hover{
        background-color: #ffffff60 !important;
    }

    .reset_pulse{
        padding-top:5px !important;
        animation: blink 0.5s;
        animation-iteration-count: 3;
    }

    @keyframes blink { 
        50% { background-color:rgba(75, 0, 0, 0.705);}  
    }

    .reset_note{
        color: #ffffffa0;
        padding-top:3px;
        font-size: 12px;
    }

    .ghost_card{
        display: grid;
        max-width: 510px;
        min-width: 470px;
        border-radius: 5px;
        grid-template-columns: 245px auto;
        grid-template-rows: 45px 35px 45px;
        color: white;
        background-color: #313248;
        margin: 20px 5px 0px 5px;
        height: 125px;
        position: relative;
        flex:1;
    }

    .ghost_card_hidden{
        max-width: 271px !important;
        min-width: 271px !important;
    }

    .ghost_card_compact{
        max-width: 245px !important;
        min-width: 245px !important;
        grid-template-columns: 245px !important;
        grid-template-rows: 45px 35px 45px 125px !important;
        height: 250px !important;
    }

    .ghost_name{
        grid-column: 1;
        grid-row: 1;
        font-family:"ZNPrimary";
        font-size: 24px;
        font-weight: bold;
        padding:10px 10px 0px 10px;
        text-align: center;
        letter-spacing: 2px;
        height: 30px;
    }

    .ghost_evidence{
        grid-column: 1;
        grid-row: 2;
        font-size: 12px;
        text-align: center;
        display: flex;
        justify-content: space-around;
        align-items: center;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .ghost_evidence_found{
        opacity: 0.3;
    }

    .ghost_evidence_not{
        opacity: 0.2;
        text-decoration: line-through;
    }

    .ghost_evidence_item{
        height: fit-content;
        padding: 2px 3px;
        margin: -2px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .ghost_evidence_item img{
        padding-right: 1px;
        width: 17px;
    }

    .ghost_nightmare_evidence, .ghost_hunt_high, .ghost_hunt_low, .ghost_has_los{
        display: none;
    }

    .ghost_hunt_info{
        grid-column: 1;
        grid-row: 3;
        display: grid;
        grid-template-columns: 28% 72%;
        justify-content: space-evenly;
    }

    .ghost_speed{
        font-size: 14px;
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 3px 3px 3px 0px;
        border-radius: 0px 5px 5px 0px;
        background: rgb(0,0,0,0.25);
    }

    .ghost_speed img{
        height: 18px;
        cursor: pointer;
    }

    .footstep_los{
        display: flex;
        flex-direction: column;
        margin-right: 3px;
        opacity: 0.6;
    }

    .footstep_los:hover{
        opacity: 1.0;
    }

    .ghost_speed .ms{
        font-size: 10px;
        color: #ffffff60;
        margin-left: -3px;
    }

    .ghost_speed_values{
        width: fit-content;
        line-height: 1.2;
        color: #ccc;
    }

    .ghost_hunt{
        font-size: 14px;
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 5px 0px 0px 5px;
        margin: 3px 0px 3px 5px;
    }

    .ghost_hunt_values{
        display: flex;
        flex-direction: column;
    }

    .ghost_hunt_alt{
        font-size: 10px;
        color: rgba(255,255,255,0.4);
        margin: -4px 0px;
    }

    .ghost_hunt img{
        height: 20px;
        padding-right: 2px;
        filter: opacity(0.6);
    }

    .ghost_behavior{
        grid-column: 2;
        grid-row: 1 / 4;
        padding:10px 10px;
        margin-left: 2px;
        margin-right: 30px;
        box-shadow: inset 0 0 10px #161615;
        border-radius: 5px;
        display: flex;
        align-items: flex-start;
        flex-direction: column;
        justify-content: flex-start;
        overflow-y: scroll;
        background: rgba(0,0,0,0.25);
        margin-top: 3px;
        margin-bottom: 3px;
        z-index: 0;
    }

    .ghost_behavior_hidden{
        display: none !important;
    }

    .ghost_behavior_compact{
        grid-column: 1 !important;
        grid-row: 4 !important;
        margin-left: 5px !important;
    }
    
    .ghost_behavior_item{
        line-height: 18px;
        font-size: 12px;
    }

    .ghost_behavior_item .dtitle{
        width: 100%;
        display: flex;
        flex-direction: row;
        align-content: center;
        color: rgba(255 255 255 / 50%);
        justify-content: space-between;
        font-size: 10px;
        padding-top: 0;
    }

    .ghost_behavior_item .ddash{
        border-bottom: 1px dashed rgb(255 255 255 / 50%);
        flex-grow: 1;
        margin-bottom: 8px;
        margin-left: 5px;
    }

    .ghost_behavior_item ul{
        margin: 0px;
        padding: 0px 0px 0px 10px;
        list-style-type: '- ';
    }

    .ghost_behavior_item li{
        padding: 0px;
    }

    .ghost_tests_button{
        opacity: 0.4;
        font-size: 11px;
        cursor: pointer;
        width: 100%;
        text-align: right;
        margin: -5px 0px -5px 0px;
    }

    .ghost_tests_button:hover{
        opacity: 0.8;
    }

    .ghost_clear{
        grid-column: 2;
        grid-row: 1 / 4;
        display: flex;
        align-content: center;
        justify-content: space-evenly;
        align-items: flex-end;
        padding-right: 5px;
        flex-direction: column;
    }

    .ghost_clear_compact{
        grid-column: 1 !important;
        grid-row: 4 !important;
    }

    .ghost_guesses{
        position: absolute;
        height: 30px;
        width: calc(100% - 10px);
        top: -30px;
        right: 0px;
        padding-right: 10px;
        z-index: 0;
        overflow: hidden;
        display: flex;
        flex-direction: row-reverse;
        justify-content: flex-start;
        align-items: flex-end;
    }

    .ghost_guess{
        width: 24px;
        height: 24px;
        background-size: contain;
        border-radius: 14px;
        display: flex;
        align-items: flex-start;
        justify-content: center;
        margin-bottom: -14px;
        cursor: pointer;
        margin-right: -2px;
        font-size: 12px;
        transition: margin-bottom 0.25s;
    }

    .ghost_guess:hover{
        margin-bottom: -10px;
    }

    .card_icon{
        width: 19px;
        cursor: pointer;
    }
    
    .space{
        height:30px;
    }
}


.card_icon:hover{
    filter: invert(1);
}

.sg{
    color:rgb(161, 170, 170);
    font-size: smaller;
}
li{
    padding-bottom: 10px;
}
table{
    width: 49%;
    min-width: 400px;
    display: inline-flex;
}
input{
    margin-left: 30px;
}
.hidden{
    display: none !important;
}
.permhidden{
    display: none !important;
}
.faded{
    /*display: none;*/
    opacity: 0.3;
}

@media screen and (pointer: fine),screen and (pointer: coarse) and (min-device-width: 601px) {

    .label-font-s{
        font-size: 14px;
    }
    
    .tricheck{
        border: 0;
        background:none;
        position: relative;
        margin: 4px 0px;
        cursor: pointer;
        font-size: 18px;
        font-family: "ZNSecondary";
        letter-spacing: 1.5;
        display: grid;
        justify-content: start;
        align-items: center;
    }

    #checkbox{
        grid-column: 1;
        width: 16px;
        height: 16px;
        cursor: pointer;
        margin-right: 10px;
        border-radius: 5px;
        border: solid 2px #ccc;
        display: flex;
        align-content: center;
        justify-content: center;
        align-items: center;
    }

    .evidence-row{
        display: flex;
        flex-wrap: nowrap;
        align-content: center;
        align-items: center;
        justify-content: space-between;
        position: relative;
    }

    .monkey-smudge{
        position: absolute;
        left: 0;
        z-index: 1;
        width: 85%;
    }

    .monkey-paw-select{
        height: 18px;
        cursor: pointer;
        margin-right: 10px;
        filter: opacity(0.2);
    }

    .monkey-paw-select:hover{
        filter: opacity(0.9);
    }

    .monkey-paw-selected{
        filter: opacity(0.9) !important;
    }

    .neutral{}

    .neutral:hover{
        background-color: #ffffff60;
    }

    .block{
        cursor: not-allowed !important;
    }

    .disabled, .disabled:hover{
        background-color: #ffffff14;
        border: solid 2px #ffffff00 !important;
    }

    .disabled .icon{
        background: #4c4e74;
        border-radius: 2px;
        width: 12px;
        height: 8px;
        margin-top: 4px;
        position: absolute;
    }
    
    .disabled .icon:before {
        content: "";
        display: block;
        position: absolute;
        border:2px solid #4c4e74;
        top: -5px;
        left: 2px;
        width: 4px;
        height: 7px;
        border-radius: 35px 35px 0 0;
    }

    .disabled-text{
        color: #4c4e74;
    }

    .good{
        background-color: #ccc;
        border-color: #1d8100 !important;
    }

    .good .icon{
        display:inline-block;
        width: 23px;
        height:17px;
        -ms-transform: rotate(45deg); /* IE 9 */
        -webkit-transform: rotate(45deg); /* Chrome, Safari, Opera */
        transform: rotate(45deg);
    }

    .good .icon:before{
        content: "";
        position: absolute;
        width: 2px;
        height: 12px;
        background-color: #313248;
        left: 8px;
        top: 1px;
    }

    .good .icon:after{
        content: "";
        position: absolute;
        width: 4px;
        height: 2px;
        background-color: #313248;
        left: 4px;
        top: 11px;
    }

    .bad{
        background-color: #ccc;
        border-color: #e90000 !important;
    }

    .bad .icon{
        display:inline-block;
        width: 24px;
        height:17px;
        -ms-transform: rotate(45deg); /* IE 9 */
        -webkit-transform: rotate(45deg); /* Chrome, Safari, Opera */
        transform: rotate(45deg);
    }

    .bad .icon:before{
        content:"";
        position: absolute;
        width:2px;
        height:14px;
        background-color:#313248;
        left:7px;
        top:1px;
    }

    .bad .icon:after{
        content:"";
        position: absolute;
        width:14px;
        height:2px;
        background-color:#313248;
        left:1px;
        top:7px;
    }

    .footer_link{
        font-size: inherit;
    }

    #priority_sort{
        display: none;
    }

    #priority_sort + label{
        position: fixed;
        right: 10px;
        bottom: 28px;
        cursor: pointer;
        opacity:25%;
    }

    #priority_sort:checked + label{
        opacity:100%;
    }

    #priority_sort + label:hover, #priority_sort:checked + label:hover{
        opacity:50%;
    }

    label[for=priority_sort]{
        position: fixed;
        right: 10px;
        bottom: 28px;
        cursor: pointer;
    }

    label[for=priority_sort] img{
        width: 25px;
    }



    #eye img{
        width: 25px;
        cursor: pointer;
        filter: invert(1);
    }

    #eye{
        position: fixed;
        right: 10px;
        bottom: 3px;
    }

    #eye img{
        width: 25px;
        cursor: pointer;
        filter: invert(1);
    }

    #eye img:hover{
        filter: invert(0);
    }

    #domovoi{
        position: fixed;
        bottom: 58px;
        right: 10px;
        display: flex;
        animation: domovoi-float 2s cubic-bezier(0.1, -0.6, 0.2, 0) infinite;
        flex-direction: column;
        align-items: flex-end;
        z-index: 50;
    }

    .domovoi-flip{
        align-items: flex-start !important;
        left: 205px !important;
        animation: domovoi-float-flip 2s cubic-bezier(0.1, -0.6, 0.2, 0) infinite !important;
    }


    @keyframes domovoi-float {
        0% {
            bottom: 56px;
        }
        50% {
            bottom: 60px;
        }
        100% {
            bottom: 56px;
        }
    }

    @keyframes domovoi-float-flip {
        0% {
            bottom: 8px;
        }
        50% {
            bottom: 12px;
        }
        100% {
            bottom: 8px;
        }
    }

    #domovoi-text{
        font-family: "ZNSecondary";
        font-size: 16px;
        letter-spacing: 2;
        font-weight: bold;
        border-radius: 20px;
        padding: 10px;
        background-image: radial-gradient(#ffffff, #ffffff77);
        box-shadow: 0px 0px 10px 5px rgb(0 0 0);
    }

    #domovoi-img{
        height: 25px;
        cursor: pointer;
    }

    .domovoi-img-flip{
        -webkit-transform: scaleX(-1);
        transform: scaleX(-1);
    }
}

.label{
    grid-column: 2/6;
    text-align: left;
    padding-top: 2px;
}

.strike{
    text-decoration: line-through;
}

.low{
    color:#ffffff99;
    background: linear-gradient(90deg, rgba(0,75,0,0.6) 0%, rgba(0,0,0,0.25) 100%);
}


.average{
    color:#ffffff99;
    background: rgba(0,0,0,0.25);
}


.high{
    color:#ffffff99;
    background: linear-gradient(90deg, rgba(75,0,0,0.5) 0%, rgba(0,0,0,0.25) 100%);
}

.sound{
    cursor: pointer;
    transition: transform .5s;
}

.sound:hover { 
    transform: scale(1.1); 
}

.selected {
    background-color: #353 !important;
    background: linear-gradient(45deg, rgb(47, 71, 47) 0%, rgba(60,111,60,1) 100%) !important;
}

.guessed {
    background-color: rgb(89, 85, 34) !important;
    background: linear-gradient(45deg, rgb(95, 90, 37) 0%, rgba(135,130,53,1) 100%) !important;
}

.preguessed {
    animation: guessed_preview 1s;
    animation-iteration-count: 1;
}

@keyframes guessed_preview {
    0% {
        border-left: solid rgba(135,130,53,1) 0px;
        border-right: solid rgba(135,130,53,1) 0px;
    }
    95% {
        border-left: solid rgba(135,130,53,1) 5px;
        border-right: solid rgba(135,130,53,1) 5px;
    }
    100% {
        border-left: solid rgba(135,130,53,1) 0px;
        border-right: solid rgba(135,130,53,1) 0px;
    }
}

.died {
    background-color: rgb(71, 31, 31) !important;
    background: linear-gradient(45deg, rgb(78, 33, 33) 0%, rgba(119,37,37,1) 100%) !important;
}

.dot-flashing {
    top: calc(50% - 5px);
    margin: 10px;
    align-self: center;
    position: relative;
    width: 10px;
    height: 10px;
    border-radius: 5px;
    background-color: #313248;
    color: #313248;
    animation: dotFlashing 1s infinite linear alternate;
    animation-delay: .5s;
}

.dot-flashing::before, .dot-flashing::after {
    content: '';
    display: inline-block;
    position: absolute;
    top: 0;
}

.dot-flashing::before {
    left: -15px;
    width: 10px;
    height: 10px;
    border-radius: 5px;
    background-color: #313248;
    color: #313248;
    animation: dotFlashing 1s infinite alternate;
    animation-delay: 0s;
}

.dot-flashing::after {
    left: 15px;
    width: 10px;
    height: 10px;
    border-radius: 5px;
    background-color: #313248;
    color: #313248;
    animation: dotFlashing 1s infinite alternate;
    animation-delay: 1s;
}

@keyframes dotFlashing {
    0% {
        background-color: #313248;
    }
    50%,
    100% {
        background-color: #161615;
    }
}
  
.inline_image_text{
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    align-items: center;
    justify-content: center;
}