/*차트 공통*/
.popPointHigh { background-color: #f34545 !important;}
.popPointMiddle { background-color: #f78631 !important;}
.popPointLow { background-color: #f7b731 !important;}
.popPointBottom { background-color: #adadad !important;}

/*전체 종합 차트 */
.expert_total_graph{margin: 40px 0;}

.chart {
    width: 80%;
    height: 300px;
    border-bottom: 1px solid #ccc;
    position: relative;
    left: calc(10% + 10px);
}

.bar-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-evenly;
}

.bar {
    align-self: flex-end;
    position: relative;
    animation: barAnimation ease-in-out forwards;
    animation-duration: 1400ms;
}
@keyframes barAnimation {
    0% {
        height: 0;
    }
    100% {
        height: var(--bar-height);
    }
}

.bar::before {
    content: attr(data-label);
    position: absolute;
    top: -28px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 20px;
    font-weight: bold;
    width: 32px;
    border-radius: 50%; background-color: #fff;
    border: 1px solid #ccc;
}

.y-axis {
    position: absolute;
    top: -11px;
    left: -32px;
    text-align: right;
    height: 100%;
    width: 30px;
    bottom: 0;
    letter-spacing: -1px;
}

.horizontal-line {
    position: absolute;
    width: 100%;
}

.horizontal-line.solid {
    border-bottom: 2px solid #dadada;
}

.horizontal-line.dash {
    border-bottom: 1px dashed #ccc;
}

/* 기수 금주 성적 차트 */
.nameDiv{width: 20%; min-width: 70px;}

.player_name {
    width: 20%;
    min-width: 70px;
    position: relative;
    text-align: left;
}
.player_name span.icon_correct_small{width: 32px; left: -10px; top: -17px;}

.chart-container {
    margin-top: 10px;
    width: 100%;
    opacity: 1;
    padding: 0 10px;
}

.jbar {
    display: flex;
    margin-bottom: 10px;
    align-items: center;
}
.jbar.title { font-size: 1.15em; display: none;}

.barsDiv {
    display: flex;
    flex-wrap: wrap;
    width: 75%;
}

.rank1 { background-color: #ed000080 !important;}
.rank2,.rank3 {background-color: rgba(237,0,0,0.27) !important;}
.noShow {background-color: rgb(253, 239, 186, 0.8) !important}
.bar-segment.currentRace {
    background-color: rgba(247, 134, 49, 0.2) !important;
    border: #f78631 solid 0.2em;
}

.bar-segment {
    background-color: #efefef;
    margin: 1px 2px 2px 1px;
    height: 50px;
    opacity: 1;
    font-size: 0.827em;
    display: flex;
    justify-content: flex-start;
    flex-direction: column;
    border: #aaaaaa00 solid 0.2em;
    box-sizing: content-box;
}

.this_week_player_result {
    margin-top: 20px;
    padding: 20px 0 15px;
    background: #fff;
}


/* 스와이프 관련 스타일 */
.swiper-wrapper h1{font-size: 1.8em; margin-bottom: -3px;}

.swiper-button-next:after,.swiper-button-prev:after{font-size: 30px; color: #f78631;}
.swiper-button-prev,.swiper-rtl .swiper-button-next{left: var(--swiper-navigation-sides-offset,30px);}
.swiper-button-next,.swiper-rtl .swiper-button-prev{right: var(--swiper-navigation-sides-offset,30px); left: auto;}

.nav-container {
    position: absolute;
    top: 14px;
    left: 50%;
    transform: translateX(-50%);
    padding: 10px 40px;
    border-radius: 10px;
    z-index: 2;
    width: 100%;
}
.swiper-wrapper {
    padding-bottom: 25px;
}

.swiper-pagination-bullet-active{background: #f78631;}

.popRank {
    font-size: 1.4em;
    font-weight: bold;
    height: 1.25em;
}

.realRank {
    font-size: 1.5em;
    height: 1.5em;
}

.cancleRank{padding: 25% 0;}

/*보는 법 관련 스타일*/

.howToRead{
    margin-bottom: 20px;
    padding: 15px 4px 10px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    border-radius: 8px;
    background-color: rgb(250, 250, 250);
    box-shadow: inset 0 0 9px #efefef;
    justify-content: space-around;
}

.howToRead>div{ display: flex;}
.howToRead>div>div{display: flex;}

.howToTitle{font-weight: bold; color: #492f00;}
.howToReadTxt_wrap{flex-wrap: wrap; flex-direction: row-reverse; width: 60px;}
.hTR_txt{flex-wrap: wrap; width: 34px;}
.hTR_txt>.popRank, .hTR_txt>.realRank {font-size: 1em; font-weight: normal; padding-top: 3px;}

.howToRead .bar-segment{width: 23px; background-color: #d7d7d7; margin: 0;}
.howToRead p{width: 100%; margin-top: 10px; font-size: 0.85em; line-height: 1.6em; word-break: keep-all;}

.this_week_player_result .win{font-weight: bold; color: #eb3140;}
.this_week_player_result .dejection{font-weight: bold; color: #2427bf;}

@media (max-width:349px){
    .swiper-button-prev,.swiper-rtl .swiper-button-next{left: var(--swiper-navigation-sides-offset,15px);}
    .swiper-button-next,.swiper-rtl .swiper-button-prev{right: var(--swiper-navigation-sides-offset,15px); left: auto;}

    .player_name span.icon_correct_small{width: 28px; top: -10px;}

    .howToRead>div{scale: 0.85;}
}