* {
    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;
}

.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_bg.png);
    background-repeat: no-repeat;
    background-size: cover;
    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 {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 20px;

    display: flex;
    justify-content: center;
}

.footer img {
    width: 126px;
    height: 29px;
}

.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%;

    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;

    margin: auto;
}

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;
}

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