* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    word-break: keep-all;
}

html,
body {
    width: 100%;
    height: 100%;
    overflow-x: hidden;
}

html {
    --poster-color: transparent;
    font-size: 14px;
}

img {
    max-width: 100%;
    max-height: 100%;
}

body {
    padding: 0;
    background-color: #112f26;
}

.content {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-image: url(/assets/img/pc_spam.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

.header {
    position: relative;
    text-align: center;
}

.header .header-title {
    position: relative;
    top: -10px;
}

.header-bumper {
    height: 9.2%;
    max-height: 110px;
}

.box {
    position: fixed;
    top: 0;
    bottom: 0;
    width: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    background-repeat: repeat-x;
    background-position: bottom;
}

.box-img {
    max-width: 2000px;
}

.footer {
    padding: 0 60px;
    max-height: 2.26%;
}

.footer-bumper {
    height: 2.5%;
    max-height: 30px;
}

.btn-group {
    position: absolute;

    bottom: 50px;
    z-index: 10;

    padding: 0 10px;
    background-origin: content-box;
}

.btn {
    padding: 0 60px;
    max-height: 6.28%;
    z-index: 2;

    width: 80%;
    margin: auto;
}

.btn-bumper {
    height: 10%;
    max-height: 50px;
}

#placeholder {
    flex: 1;
    width: 100%;
    margin: -107px 0 0;
    padding: 0 15px;
}

ari-viewer,
ad-viewer {
    width: 100%;
    height: 100%;
}

.viewer-bumper {
    height: 5%;
}

.btn-close {
    position: absolute;
    top: 15px;
    left: 15px;
    opacity: 1;
    z-index: 100;
    width: 40px;
}

.progress-bar {
    position: fixed;
    height: 30px;
    width: 200px;
    border: 10px solid #f49706;
    border-radius: 15px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 1;
    transition: opacity 0.5s ease-out;
}

.progress-bar .color {
    background-color: #098679;
    width: 0;
    height: 10px;
    border-radius: 15px;
    transition: width 0.2s linear;
}

@media screen and (max-width: 991px) {
    .content {
        background-image: url(/assets/img/mo_spam.svg);
        background-size: 60%;
    }

    .btn-group {
        width: 40%;
        height: calc((45vw - 20px) * 0.6);

        bottom: 5px;

        background-image: url(/assets/img/mo_btn_bg.png);
        background-repeat: no-repeat;
        background-size: contain;
        background-position: center;

        z-index: 0;
    }

    .btn {
        position: absolute;
        left: 0;
        right: 0;
        bottom: 25px;

        width: 60%;
        max-height: 100%;

        padding: 0;
    }

    #placeholder {
        margin: -115px 0 55px;
    }
}

@media screen and (max-width: 767px) {
    .header .header-title {
        width: 90%;
    }

    .btn-group {
        width: 55%;
        height: calc((60vw - 20px) * 0.6);
    }

    .box-img {
        min-width: 135%;
        max-width: 100%;
    }

    .btn {
        bottom: 20px;
    }
}

@media screen and (max-width: 480px) {
    .box-img {
        min-width: 100%;
        max-width: 100%;
    }

    .header .header-title {
        width: 85%;
        top: 0;
    }

    .btn-group {
        width: 100%;
        height: calc((100vw - 20px) * 0.6);

        bottom: 5px;

        background-image: url(/assets/img/mo_btn_bg.png);
        background-repeat: no-repeat;
        background-size: contain;
        background-position: center;

        z-index: 0;
    }

    .btn {
        position: absolute;
        left: 0;
        right: 0;
        bottom: 15px;

        width: 60%;
        max-height: 100%;

        padding: 0;
    }

    .content {
        background-image: url(/assets/img/mo_spam.svg);
        background-repeat: no-repeat;
        background-size: contain;
        background-position: center;
    }

    #placeholder {
        margin: -90px 0 140px;
    }

    .btn-bumper {
        max-height: 0;
    }
}

.error {
    color: #fff;
    font-size: 24px;
}
