@import url('reset.css');
@import url('common.css');
@import url('cover.css');
@import url('layer-popup.css');
@import url('intro.css');
@import url('cont.css');
@import url('stone.css');
@import url('chat.css');

@media screen and (min-width: 1025px) {
    #terminal {
        width: fit-content;
        transform: perspective(1200px) rotateY(18deg);
        transform-origin: left center;
    }

    .widget--left,
    .chat-wrapper {
        transform: perspective(1200px) rotateY(18deg);
        transform-origin: left center;
    }

    .widget--right,
    .co-ord,
    .mini-map-wrapper {
        transform: perspective(1200px) rotateY(-18deg);
        transform-origin: right center;
    }
}

.pointingjs {
    width: 100%;
    height: 100%;
    position: fixed;
    z-index: 10;
    top: 0;
    left: 0;
    pointer-events: none;
}

.pointer {
    width: 8px;
    height: 8px;
    border-radius: 100%;
    position: fixed;
    background-color: #fff;
    box-shadow: 0 0 30px #FFF, 0 0 3px #FFF;
}

.trail {
    border-radius: 100%;
}

.pointingjs svg {
    width: 100%;
    height: 100%;
    position: absolute;
}

#trail {
    filter: url(#glow);
    stroke: url(#linear);
    stroke-width: 2;
}

@media screen and (max-width: 1024px) {
    .pointingjs {
        width: 0;
        height: 0;
        z-index: -1;
        overflow: hidden;
    }

    .pointingjs * {
        opacity: 0;
    }
}

@media screen and (max-width: 1024px) {
    body.act-c .stone-wrapper.show {
        opacity: 0;
        pointer-events: none;
    }

    body.act-c .countdown-wrapper {
        pointer-events: none;
    }

    body.act-c .widget--left {
        z-index: 6;
    }

    body.act-c .widget--left .widget-terminal {
        opacity: 0;
        pointer-events: none;
    }
}

.step-fin .chat-wrapper,
.step-fin .mini-map-wrapper,
.step-fin .status,
.step-fin .co-ord {
    opacity: 0;
    pointer-events: none;
}

.step-cctv .chat-wrapper,
.step-cctv .mini-map-wrapper,
.step-cctv .status,
.step-cctv .pin-wrapper,
.step-cctv .co-ord {
    opacity: 0;
    pointer-events: none;
}

.step-fin .countdown-wrapper {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    width: 100vw;
    height: calc(var(--vh, 1vh) * 100);

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(0, 0, 0, 0);
    backdrop-filter: blur(0);
    -webkit-backdrop-filter: blur(0);

    pointer-events: none;
}

.step-fin .countdown-wrapper .countdown {
    font-size: 165px;
    letter-spacing: 11px;
    text-shadow: 0 0 51.5px #FFF, 0 0 5px #FFF, 0 0 8px #09F;
}

.step-fin .countdown-wrapper .box-hov-indicator {
    display: none;
}

@media screen and (max-width: 1024px) {
    .step-fin .countdown-wrapper .countdown {
        height: 48px;
        line-height: 48px;

        text-shadow: 0px 0px 14px #FFF, 0px 0px 1px #FFF, 0px 0px 2px #09F;
        font-size: 42px;
        letter-spacing: 2.8px;
    }

    .step-fin.act-c .countdown-wrapper {
        top: 40px;
        width: 200px;
        height: 40px;
    }

    .step-fin.act-c .countdown-wrapper .countdown {
        height: 40px;
        line-height: 40px;

        text-shadow: 0 0 18px #FFF, 0 0 2px #FFF;
        font-size: 30px;
        letter-spacing: 1px;
    }
}

.step-cctv .countdown-wrapper {
    pointer-events: none;
}

.fin-layer {
    display: none;
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    width: 100%;
    height: calc(var(--vh, 1vh) * 100);
    opacity: 0;
    pointer-events: none;
}

.fin-layer.show {
    display: block;
    opacity: 1;
}

.fin-bg {
    position: relative;
    width: 100%;
    height: 100%;
}

.fin-layer.cctv .fin-bg {
    opacity: 0;
}

.fin-bg > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fin-cont {
    opacity: 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.fin-layer.cctv .fin-cont {
    opacity: 1;
}

.fin-cont-video {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;

    padding: 50px;
}

.cctv-cont {
    width: 100%;
    max-width: 1280px;
}

.notice-popup.show-fin {
    display: block;
}

.notice-popup.show-fin .np {
    display: none;
}

.fin-status {
    position: absolute;
    bottom: 100px;
    left: 0;
    width: 100%;
    padding: 0 50px;

    color: #FFF;
    text-shadow: 0px 0px 20px #3FBBFF, 0px 0px 5px #A8E0FF;

    text-align: center;
    leading-trim: both;
    text-edge: cap;

    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: 32px;
    letter-spacing: 0.96px;
    text-transform: uppercase;
}

@media screen and (max-width: 1024px) {
    .fin-cont-video {
        padding: 20px;
    }

    .fin-status {
        text-shadow: 0px 0px 20px #3FBBFF, 0px 0px 5px #0BF;
        font-size: 12px;
        line-height: 18px;
        letter-spacing: 0.4px;
    }
}

#zoom-debug {
    opacity: 0;
    pointer-events: none;
}

.step-notice .widget--left,
.step-notice .widget--right,
.step-notice #c,
.step-notice .pin-wrapper {
    opacity: 0;
    pointer-events: none;
}