@font-face {
    font-family: 'Oswald';
    src: url('/public/font/Oswald/Oswald-VariableFont_wght.ttf') format("truetype-variations");
    font-weight: 1 999;
}
@font-face {
    font-family: 'Noto Sans KR';
    src: url('/public/font/Noto_Sans_KR/NotoSansKR-VariableFont_wght.ttf') format("truetype-variations");
    font-weight: 1 999;
}
@font-face {
    font-family: "Lato";
    src: url("/public/font/Lato/Lato-Regular.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: "Lato";
    src: url("/public/font/Lato/Lato-Thin.ttf") format("truetype");
    font-weight: 100;
    font-style: normal;
}
@font-face {
    font-family: "Lato";
    src: url("/public/font/Lato/Lato-Bold.ttf") format("truetype");
    font-weight: bold;
    font-style: normal;
}
@font-face {
    font-family: "Lato";
    src: url("/public/font/Lato/Lato-Black.ttf") format("truetype");
    font-weight: 900;
    font-style: normal;
}
@font-face {
    font-family: "Nanum Gothic";
    src: url("/public/font/Nanum_Gothic/NanumGothic-Regular.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: "Nanum Gothic";
    src: url("/public/font/Nanum_Gothic/NanumGothic-Bold.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
}
@font-face {
    font-family: "Nanum Gothic";
    src: url("/public/font/Nanum_Gothic/NanumGothic-ExtraBold.ttf") format("truetype");
    font-weight: 900;
    font-style: normal;
}


@media all and (max-width: 880px) {
    .runningball_area {
        padding: 0 8px !important;
    }
}

body, h1, h2, h3, h4, ul, dl, dd, p, th, td, form, button, input, textarea, fieldset {
    font-family: 'Noto Sans KR', sans-serif;
}

body {
    margin: 0 !important;
}
a {
    text-decoration: none;
}
a:hover {
    text-decoration: none !important;
}
.runningball_wrap {
    /*top: 50%;*/
    /*margin: -315px auto 0 auto;*/
    max-width: 900px;
    height: 630px;
    background: #0E0E10;
    overflow: hidden;
    padding: 15px;
    position: relative;
    box-sizing: border-box;
}
.runningball_container {
    display: flex;
    width: 100%;
    flex-direction: column;
    border: 1px solid #3D3D3D;
    box-shadow: 0px 0px 4px rgba(255, 0, 0, 0.70);
}
a.logo {
    display: flex;
}
.nav-bar, .body-content {
    width: 100%;
}
.nav-bar {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #3D3D3D;
    position: relative;
    padding: 5px 0;
}
.nav-bar svg {
    width: 20px;
    height: 20px;
}
.home-btn svg {
    width: 30px;
    height: 30px;
}
.nav-bar .home-btn {
    margin-left: 10px;
}
.nav-bar .right-buttons {
    margin-right: 10px;
}
.right-buttons img {
    width: 16px;
}
.right-buttons a {
    margin-left: 10px;
}
#unmute {
    display: none;
}

.logo img {
    width: 60px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.body-content {
    display: flex;
}
.body-content .main-video {
    width: 70%;
    display: grid;
}
.latest_result_area .top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-left: 15px;
    padding-right: 20px;
}
.result-area h3.tit {
    color: #FFF;
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    text-transform: uppercase;
    margin-block-start: 0.8em;
    margin-block-end: 0.8em;
}
.latest_result_area .result_list {
    height: 425px;
    overflow: scroll;
    overflow-x: hidden;
    padding: 0 10px;
    margin: 0;
}

.latest_result_area .result_list li {
    list-style-type: none;
    text-align: center;
}

.latest_result_area .result_list::-webkit-scrollbar {
    width: 7px;
}
.latest_result_area .result_list::-webkit-scrollbar-thumb {
    height: 50px;
    background-color: #777;
    border-radius: 0;
}
.latest_result_area .result_list::-webkit-scrollbar-track {
    border-radius: 0;
    background-color: #313131;
}
.result-area {
    width: 30%;
    background: #1F1F23;
    border-left: 1px solid #3D3D3D;
}
a.btn_ly_pattern {
    height: 20px;
    border-radius: 10px;
    background: linear-gradient(95deg, #24FF00 -3.22%, #24FF00 27%, #1D6B10 103.17%);
    color: #000;
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 12px;
    font-style: normal;
    font-weight: 700;
    padding: 0 10px;
    text-transform: uppercase;
    margin-left: 5px;
    /*box-shadow: 0 0 4px 0 #24FF01;*/
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}
.result_list li {
    margin-bottom: 10px;
    background: url(/public/images/minigame/rball/runningball/result-item-border.svg) no-repeat;
    background-size: 100% 99%;
    padding: 0 10px;
}

.result_list li .ball {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
}
.result_list li .ball span {
    padding: 0 3px;
}
.latest_result_area .result_list .round{
    padding: 7px 0;
}
.ball span {
    display: flex;
}
.ball span img {
    width: 26px;
    height: 26px;
}
.res {
    display: flex;
    align-items: center;
    justify-content: center;
}
.res span {
    color: #fff;
    text-align: center;
    padding: 0 2px;
    border-radius: 5px;
    background: linear-gradient(147deg, #ED2026 17.61%, #ED2026 34.9%, #600C0C 78.47%);
    margin: 6px 2px 8px;
    font-weight: bold;
    font-size: 12px;
    width: 23px;
    height: 23px;
    text-shadow: 0 0 2px rgba(0, 0, 0, 0.80);
    display: flex;
    align-items: center;
    justify-content: center;
}
.res span.ODD {
    background: linear-gradient(147deg, #389FF6 18.26%, #389FF6 35.55%, #17249D 79.13%);
    font-size: 15px;
}
.res span.UNDER {
    background: linear-gradient(147deg, #389FF6 18.26%, #389FF6 35.55%, #17249D 79.13%);
}
.res span.EVEN {
    font-size: 15px;
}

.latest_result_area .result_list .round span {
    display: inline-block;
    font-size: 12px;
    color: #fff;
    text-shadow: 0 0 5px #19003a;
    font-weight: 700;
}
.latest_result_area .result_list .round .r {
    margin-left: 5px;
    color: #7a7a7a;
}
.btn_area {
    padding: 0 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 10px 0;
}
.btn_area a.btn_ly_pattern {
    width: 50px;
}

.dist_list .inner {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-evenly;
}

.graph-container {
    width: 100px;
    height: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.graph-title {
    color: #fff;
    border-radius: 4px;
    border: 0.501px solid #747474;
    background: linear-gradient(147deg, #E7E7E7 18.26%, #979797 35.55%, #373737 79.13%);
    margin-top: 0;
    width: 100px;
    text-align: center;
    padding: 2px 0;
    margin-block-end: 1em;
    font-weight: bold;
    font-size: 13px;
    text-shadow: 0 0 2px rgba(0, 0, 0, 0.80);
}

.graph-title.left {
    border: 1px solid #389FF6;
    background: linear-gradient(147deg, #389FF6 18.26%, #389FF6 35.55%, #17249D 79.13%);
}

.graph-title.right {
    border: 1px solid #ED2026;
    background: linear-gradient(200deg, #ED2026 14.51%, #ED2026 35.29%, #600C0C 87.65%);
}

.dist_list .graph {
    position: relative;
    border-radius: 50%;
    background-color: #333;
    margin: unset;
    padding: unset;
    width: unset;
    height: unset;
    background: unset;
}

#dist_list {
    margin-bottom: 40px;
    margin-top: 0;
}

.runningball_wrap {
    /*font-family: "굴림", Gulim, sans-serif;*/
}

/*section 2*/
.donut-chart-block {
    /*overflow: hidden;*/
    transform: rotate(180deg) scaleX(-1);
}

.donut-chart {
    position: relative;
    width: 100px;
    height: 100px;
    border-radius: 100%
}

.donut-chart .center {
    background: #000;
    border-radius: 50%;
    height: 45%;
    left: 50%;
    position: absolute;
    top: 50%;
    width: 45%;
    transform: translate(-50%, -50%);
}

.center span {
    color: #7a7a7a;
    display: block;
    font-size: 36px;
    font-weight: 800;
    left: 50%;
    position: absolute;
    top: 50%;
    transform: translate(-50%,-50%);
}

.clip {
    border-radius: 50%;
    clip: rect(0px, 100px, 100px, 50px);
    height: 100%;
    position: absolute;
    width: 100%;
}

.item {
    border-radius: 50%;
    clip: rect(0px, 50px, 200px, 0px);
    height: 100%;
    position: absolute;
    width: 100%;
    font-family: monospace;
    font-size: 1.5rem;
    transition: transform .5s ease;
}

#section1 {
    transform: rotate(0deg);
}

#section1 .item {
    /*background-color: #E64C65;*/
    background: linear-gradient(147deg, #389FF6 18.26%, #389FF6 35.55%, #17249D 79.13%);
    transform: rotate(180deg);
}

#section2 {
    transform: rotate(180deg);
}

#section2 .item {
    /*background-color: #41A8AB;*/
    background: linear-gradient(28deg, #ED2026 18.68%, #ED2026 32.27%, #600C0C 66.52%);
    transform: rotate(180deg);
}

.absolute-circle{
    position: absolute;
    top: 50%;
    left: 50%;
    background: #ddd;
    transform: translate(-50%, -50%);
    border-radius: 50%;
}

.outer-border {
    width: 110px;
    height: 110px;
    background: linear-gradient(90deg, #007DC6, #CF0002);
}

.outer-border-smaller {
    width: 108px;
    height: 108px;
    background: #000;
}
.percentage {
    position: absolute;
    background: rgba(56, 159, 246, 0.50);
    z-index: 999;
    color: #fff;
    font-family: "Lato", sans-serif;
    font-size: 10px;
    padding: 3px 6px;
    font-weight: 900;
    border-radius: 2px;
    backdrop-filter: blur(5px);
}
span.percentage.left {
    left: 0;
    bottom: 65%;
    transform: rotate(180deg) scaleX(-1) translateX(-50%);
}
span.percentage.right {
    top: 65%;
    transform: rotate(180deg) scaleX(-1) translateX(50%);
    right: 0;
    display: block;
}
.runningball-footer {
    display: flex;
    align-items: center;
    margin-top: 10px;
    justify-content: space-between;
}
.footer-left {
    display: flex;
    align-items: center;
}
a.btn-watch-on-youtube {
    display: flex;
    background: #fff;
    color: #151515;
    font-family: Oswald, sans-serif;
    font-size: 8px;
    font-style: normal;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    align-items: center;
    justify-content: center;
    width: 100px;
    border-radius: 30px;
    padding:  0;
}
.btn-watch-on-youtube svg {
    display: block;
    height: auto;
    width: 20px;
    margin-right: 3px;
}
span.footer-description {
    color: #8D8D8D;
    font-family: "Noto Sans KR", sans-serif;
    font-size: 8px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    margin-left: 10px;
}
span.footer-description.mobile {
    display: none;
}
p#clock {
    color: #FFF;
    font-family: Lato, serif;
    font-size: 12px;
    font-style: normal;
    font-weight: 900;
    line-height: 30px;
    text-transform: uppercase;
}
p#clock .time {
    font-weight: normal;
    margin-left: 10px;
}

/*section3*/
.layer_pattern {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, .9);
    backdrop-filter: blur(4px);
    z-index: 101;
}
.layer_pattern .hd {
    padding: 0 30px 1px 30px;
    background-color: #222;
}
.layer_pattern .inner {
    position: relative;
    margin: 0 auto;
    max-width: 900px;
}
.layer_pattern .hd .tit {
    float: left;
    margin-right: 15px;
    line-height: 71px;
    font-size: 12px;
    color: #fff;
}
.layer_pattern .hd .menu {
    float: left;
    margin-top: 20px;
    width: 698px;
}
.layer_pattern .hd .menu li {
    float: left;
}
.layer_pattern .hd .menu a {
    float: left;
    padding: 0 15px;
    height: 31px;
    line-height: 31px;
    color: #eee;
}
.layer_pattern .hd .menu a.selected {
    font-weight: bold;
    color: #f9d53e;
    letter-spacing: -1px;
}
.layer_pattern .btn_close {
    position: absolute;
    top: 0;
    right: -20px;
    width: 71px;
    height: 71px;
    text-indent: -9999px;
    overflow: hidden;
}
.layer_pattern .btn_close:before {
    float: left;
    margin: 25px;
    content: '';
    width: 21px;
    height: 21px;
    background: url(/public/images/minigame/common/ic_close.png) no-repeat;
}
.layer_pattern .bd {
    margin-top: 51px;
    background-color: #333;
    color: #eee;
}
.stats_loading {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -50px 0 0 -50px;
    width: 100px;
    height: 100px;
    z-index: 20;
}
.stats_loading ul {
    margin: 25px 0 0 29px;
}
.stats_loading li:first-child {
    animation: stats_loading 0.6s cubic-bezier(0.645, 0.045, 0.355, 1) infinite 0s;
}
.stats_loading li {
    float: left;
    margin: 0 2px;
    width: 10px;
    height: 50px;
    background-color: #333;
}
.layer_pattern .inner:after {
    display: block;
    content: '';
    clear: both;
}
.layer_pattern .option {
    position: absolute;
    top: -51px;
    left: 30px;
    height: 51px;
}
.layer_pattern .option li {
    float: left;
}
.layer_pattern .option li:first-child a {
    padding-left: 0;
}
.layer_pattern .option a.selected {
    font-weight: bold;
    color: #eace63;
    letter-spacing: -1px;
}
.layer_pattern .option a {
    float: left;
    padding: 0 15px;
    height: 51px;
    line-height: 51px;
    color: #eee;
}
.layer_pattern .option:after {
    display: block;
    content: '';
    clear: both;
}
.layer_pattern .data_area {
    position: relative;
    max-width: 900px;
    max-height: 480px;
    overflow-y: auto;
    overflow-x: scroll;
}
.layer_pattern .data_area::-webkit-scrollbar {
    width: 10px;
    height: 10px;
    background-color: #000;
}
.layer_pattern .data_area::-webkit-scrollbar-thumb {
    width: 1px;
    background-color: #e1b328;
}
.layer_pattern .data_area::-webkit-scrollbar-track {
    border-radius: 5px;
}
.layer_pattern .bd .inner:after {
    position: absolute;
    content: '';
    bottom: 0;
    right: 0;
    width: 10px;
    height: 10px;
    background-color: #000;
}
.layer_pattern .data_area:before {
    position: absolute;
    content: '';
    left: 0;
    right: 0;
    height: 85px;
}
.layer_pattern .pattern_data {
    padding-bottom: 10px;
    font-size: 0;
}
.layer_pattern .pattern_data dl:first-child {
    margin-left: 0;
}
.layer_pattern .pattern_data dl {
    display: inline-block;
    margin-left: -1px;
    vertical-align: top;
}
.layer_pattern .pattern_data dt {
    margin-bottom: 5px;
}
.layer_pattern .pattern_data dt .tx.ODD, .layer_pattern .pattern_data dt .tx.UNDER, .layer_pattern .pattern_data dt .tx.MEDIUM {
    color: #3498db;
}
.layer_pattern .pattern_data dt .tx.EVEN, .layer_pattern .pattern_data dt .tx.OVER, .layer_pattern .pattern_data dt .tx.LARGE {
    color: #e74c3c;
}
.layer_pattern .pattern_data dt .tx {
    height: 31px;
    line-height: 31px;
    font-family: '굴림', Gulim, Helvetica, sans-serif;
    font-size: 12px;
    background-color: #222;
}
.layer_pattern .pattern_data dl span {
    position: relative;
    display: block;
    width: 29px;
    text-align: center;
    font-family: Tahoma, sans-serif;
    font-size: 10px;
    z-index: 1;
    color: #fff;
}
.layer_pattern .pattern_data dd {
    margin-top: 1px;
}
.layer_pattern .pattern_data dd .ODD, .layer_pattern .pattern_data dd .UNDER, .layer_pattern .pattern_data dd .MEDIUM {
    background-color: #3498db;
}
.layer_pattern .pattern_data dd span {
    width: 27px;
    height: 27px;
    line-height: 27px;
    border-radius: 100%;
    color: #fff;
}
.layer_pattern .pattern_data dl span {
    position: relative;
    display: block;
    width: 29px;
    text-align: center;
    font-family: Tahoma, sans-serif;
    font-size: 10px;
    z-index: 1;
    color: #fff;
}
.layer_pattern .pattern_data dd .EVEN, .layer_pattern .pattern_data dd .OVER, .layer_pattern .pattern_data dd .LARGE {
    background-color: #e74c3c;
}
.layer_pattern .pattern_data dt .tx {
    height: 31px;
    line-height: 31px;
    font-family: '굴림', Gulim, Helvetica, sans-serif;
    font-size: 12px;
    background-color: #222;
}
.layer_pattern .pattern_data dt .length {
    height: 27px;
    line-height: 27px;
}
.layer_pattern .pattern_data dt .times {
    height: 27px;
    line-height: 27px;
    background-color: #222;
}

.layer_tip {
    right: 123px;
    width: 475px;
}
.layer_option {
    display: none;
    position: absolute;
    top: 10px;
    border-radius: 20px;
    background: rgba(0, 0, 0, 0.9);
    z-index: 101;
}
.layer_option .inner {
    position: relative;
    padding: 20px;
}
.layer_option .tit {
    margin: 10px 0 25px 0;
    font-size: 12px;
    color: #fff !important;
}
.layer_tip .tip_box .tit {
    margin-bottom: 10px;
    color: #e1b328 !important;
    font-weight: bold;
}
.layer_option .tit {
    margin: 10px 0 25px 0;
    font-size: 12px;
    color: #fff !important;
}
.layer_option p {
    line-height: 21px;
    color: #fff;
}
.layer_option .btn_close {
    position: absolute;
    top: 13px;
    right: 13px;
    width: 43px;
    height: 36px;
    border-radius: 13px;
    background: url(/public/images/minigame/common/ic_close.png) no-repeat center center;
    text-indent: -9999px;
    overflow: hidden;
}
.layer_share {
    right: 70px;
    width: 500px;
}
.layer_share .code {
    margin-bottom: 20px;
    padding: 20px;
    width: 100%;
    line-height: 20px;
    border: none;
    background-color: #111;
    box-sizing: border-box;
}
.layer_share .code em {
    color: #eace63;
    outline: none;
}
.layer_share .code span:last-of-type {
    margin-top: 10px;
}
.layer_share .code span {
    display: block;
    color: #fff;
}
