/* --- Video --- */

#video {
    min-height: 100vh;
    background-color: #1e1e1e;
}

/* -- contest-list-frame -- */

#video .contest-list-frame {
    margin-top: 6rem;
    width: 340px;
    height: calc(100vh - 6rem);
    overflow: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
    z-index: 1029;
}

#video .contest-list-frame::-webkit-scrollbar {
    display: none;
}

/* xsの場合は、左脇に一覧を隠す */
@media (max-width: 1200px) {
    #video .contest-list-frame {
        /* display: none; */
        margin-left: -100vw;
    }
}

/* - tournament-list - */

#video .tournament-list {
    height: 60px;
    background-color: #1e1e1e;
}

#video .tournament-list .nav {
    min-width: 400px;
}

/* - video-contest - */

#video .contest-list {
    padding-bottom: 10rem;
}

#video .contest-list .video-contest title,
#video .contest-list .video-contest table tbody td {
    font-size: 0.9rem;
}

#video .contest-list .video-contest.current {
    border: 6px solid #b76ba3;
}

#video .contest-list .video-contest .video-icon {
    font-size: 1.2rem;
}

#video .contest-list .video-contest .video-footer {
    border-top: 1px solid #ddd;
    font-size: 0.85rem;
}

/* -- player-results -- */

#video .player-results {
    width: calc(100% - 340px);
    margin-left: 340px;
}

@media (max-width: 1200px) {
    #video .player-results {
        width: 100%;
        margin-left: 0;
    }
}

/* - video-player-frame - */

#video-player-frame {
    width: 100%;
    height: 360px;
    z-index: 10;
    margin-top: 6rem;
    margin-left: 170px;
}

@media (max-width: 1200px) {
    #video-player-frame {
        width: 100%;
        margin-left: 0;
        margin-top: 4rem;
    }
}

@media (max-width: 576px) {
    #video-player-frame {
        height: 210px;
    }
}

#video .player-results .header-title,
#video .player-results .header-subtitle,
#video .player-results .header-subtitle2 {
    color: white;
}

#video .player-results .header-subtitle2 {
    display: block;
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
}

/* - header-menu - */

#video .player-results .header-menu {
    display: none;
}

@media (max-width: 1199px) {
    #video .player-results .header-menu {
        display: block;
        /* font-size: 1.5rem; */
        font-size: 0.95rem;
        cursor: pointer;
        background-color: #1e1e1e;
    }
}

@media (max-width: 1199px) {
    #video .player-results .header-menu.lg {
        margin-left: -860px;
    }
}

@media (max-width: 991px) {
    #video .player-results .header-menu.lg {
        margin-left: -620px;
    }
}

@media (max-width: 767px) {
    #video .player-results .header-menu.lg {
        margin-left: -440px;
    }
}

@media (max-width: 575px) {
    #video .player-results .header-menu.lg {
        margin-left: -510px;
    }
}

/* - video-replay - */

#video-replay .button {
    display: inline-block;
    height: 30px;
    /* width: 640px; */
    font-size: 1.8rem;
    width: calc(200px - 32px);
    box-shadow: none;
}

@media (max-width: 576px) {
    /* ボタンのパディング分を引く */
    #video-replay .button {
        /* width: calc(360px - 32px); */
        width: calc(150px - 32px);
    }
}

/* -- video-header -- */

#video .video-header {
    margin-top: 460px;
    background-color: #1e1e1e;
    border-radius: 6px;
}

@media (min-width: 1540px) {
    #video .video-header {
        margin-top: 680px;
    }
}

@media (max-width: 1539px) {
    #video .video-header {
        margin-top: 500px;
    }
}

@media (max-width: 1199px) {
    #video .video-header {
        margin-top: 580px;
    }
}

@media (max-width: 991px) {
    #video .video-header {
        margin-top: 500px;
    }
}

@media (max-width: 767px) {
    #video .video-header {
        margin-top: 430px;
    }
}

@media (max-width: 575px) {
    #video .video-header {
        margin-top: 330px;
    }
}

/* - video-results - */

#video .video-results,
#video .video-results .unit-action .card {
    background-color: #1e1e1e;
    padding-bottom: 60px;
}

#video .video-results .winning-technique,
#video .video-results .unit-action {
    font-size: 0.8rem;
    /* color: #2b323a; */
    color: white;
}

#video .video-results table {
    font-size: 0.8rem;
    /* color: #2b323a; */
    color: white;
}

#video .video-results table td {
    padding: 1px;
    /* color: #2b323a; */
    color: white;
}

#video .video-results table tr:nth-child(2) td {
    text-align: center;
}

/* 選手情報 */
#video .video-results table tr:nth-child(1) td:nth-child(1) p,
#video .video-results table tr:nth-child(1) td:nth-child(3) p {
    margin: 10px 0;
}

#video .video-results table tr:nth-child(1) td:nth-child(1) p:nth-child(1),
#video .video-results table tr:nth-child(1) td:nth-child(3) p:nth-child(1) {
    /* color: #F9C901; */
    font-size: 0.9rem;
    font-weight: bold;
}

/* 得点（有効なし） */
#video .video-results table tr:nth-child(2) td:nth-child(1),
#video .video-results table tr:nth-child(2) td:nth-child(2),
#video .video-results table tr:nth-child(2) td:nth-child(3),
#video .video-results table tr:nth-child(2) td:nth-child(5),
#video .video-results table tr:nth-child(2) td:nth-child(6),
#video .video-results table tr:nth-child(2) td:nth-child(7) {
    width: 16.5%;
}

#video .video-results table tr:nth-child(2) td:nth-child(4) {
    width: 1%;
}

/* 得点（有効あり） */
#video .video-results table.yuko tr:nth-child(2) td:nth-child(1),
#video .video-results table.yuko tr:nth-child(2) td:nth-child(2),
#video .video-results table.yuko tr:nth-child(2) td:nth-child(3),
#video .video-results table.yuko tr:nth-child(2) td:nth-child(4),
#video .video-results table.yuko tr:nth-child(2) td:nth-child(6),
#video .video-results table.yuko tr:nth-child(2) td:nth-child(7),
#video .video-results table.yuko tr:nth-child(2) td:nth-child(8),
#video .video-results table.yuko tr:nth-child(2) td:nth-child(9) {
    width: 12%;
}

#video .video-results table.yuko tr:nth-child(2) td:nth-child(5) {
    width: 4%;
}

#video .video-results table tr:nth-child(2) td p:nth-child(1) {
    font-weight: 500;
    margin: 3px 0;
    color: black;
    color: white;
}

#video .video-results table tr:nth-child(2) td p:nth-child(2) {
    font-size: 0.5rem;
    margin: 3px 0;
}

#video .video-results .unit-action .title {
    color: white;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}

#video .video-results .card-footer {
    background-color: #1e1e1e;
}

#video .video-results .card-footer2 table tr td {
    color: #2b323a;
    color: white;
    background-color: #1e1e1e;
    border-color: rgba(255, 255, 255, 0.3);
}

#video .video-results .card-footer2 table tr td:nth-child(1) {
    width: 40%;
    text-align: left;
}

#video .video-results .card-footer2 table tr td:nth-child(2) {
    width: 20%;
    text-align: center;
}

#video .video-results .card-footer2 table tr td:nth-child(3) {
    width: 40%;
    text-align: right;
}

#video .video-results .card-footer2 table tr:last-child td {
    border: none;
}

#video .video-results .card-footer3 table {
    margin-bottom: 0.5rem;
}

#video .video-results .card-footer3 table tr td p:nth-child(1) {
    margin: 15px 0 3px;
    color: black;
    color: white;
}

#video .video-results .card-footer3 table tr td p:nth-child(2) {
    margin: 3px;
    font-size: 0.7rem;
}

#video .video-results .card-footer3 table tr td:nth-child(1),
#video .video-results .card-footer3 table tr td:nth-child(3) {
    width: 33%;
    text-align: center;
}

#video .video-results .card-footer3 table tr td:nth-child(2) {
    text-align: center;
}
