div>.num_wrap>.s_num:first-child {
    margin-left: 0;
}

div>.num_wrap>.s_num_blank:first-child {
    margin-left: 0;
}

div.s_num {
    width: 40px;
    height: 46px;
    line-height: 46px;
    border-radius: 10px;
    border: none;
    background-color: rgba(243 243 243 0);
    font-family: 'Pretendard Variable', sans-serif;
    font-weight: 600;
    letter-spacing: -2px;
    font-size: 2rem;
    position: relative;
    color: #0C0C0C;
    display: inline-block;
}

div.s_num_blank {
    width: 46px;
    display: inline-block;
    margin-left: 8px;
}

table .color_red {
    border: none;
    color: #E60012;
}

table .color_blue {
    border: none;
    color: #3335d9;
}

table .color_gray {
    border: none;
    color: #0c0c0c99;
}

span.icon_correct_small {
    display: inline-block;
    position: absolute;
    top: 0;
    left: 0;
    width: calc(100% - 10px);
    height: 100%;
    background-image: url(../img/icon_correct.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 50px 40px;
    image-rendering: -webkit-optimize-contrast;
    mix-blend-mode: multiply;
}

@keyframes flash {
    from {
        opacity: 1;
    }

    15% {
        opacity: 0;
    }

    30% {
        opacity: 1;
    }

    45% {
        opacity: 0;
    }

    60% {
        opacity: 1;
    }

    to {
        opacity: 1;
    }
}

.important {
    color: #16cd00;
    font-weight: bold;
}

.important {
    color: #E60012;
    font-weight: bold;
}

div.s_num.color_blue {
    border: 3px solid #175ec9;
    color: #175ec9;
    mix-blend-mode: normal;
}

.horse_weight_change .num_wrap {
    padding-bottom: 15px;
}

.horse_weight_change .s_num {
    border: none;
    height: 50px;
    margin-left: 6px;
    padding-right: 7px;
    font-weight: 600;
}

.weight_change {
    font-size: 22px;
    margin-top: -5px;
    margin-left: -7px;
}

.road_weight {
    font-weight: bold;
    font-size: 1.25em;
    margin-bottom: 15px;
    color: rgba(15, 24, 38);
    letter-spacing: 3px;
    margin-top: 20px;
    background-color: rgba(247, 134, 49, 0.1);
    padding: 10px 0;
}

.letter_space {
    letter-spacing: -2px;
}

.horse_weight_change {
    background-color: #fff;
    padding: 30px 0;
    border-radius: 17px;
}

.horse_weight_change h1 {
    margin-bottom: 10px;
}

.odd_pop_horse {
    background-color: #fff;
    margin-top: 20px;
    border-radius: 17px;
}

.popularity_horse {
    margin-top: 20px;
    background-color: rgba(247, 134, 49, 0.2);
    margin-bottom: 25px;
    padding: 25px 0px;
}

.odd_pop_horse img {
    display: inline;
    margin: 0 3px 5px 0;
    width: 13px;
    vertical-align: middle;
}

.popularity_horse p {
    width: 90%;
    margin: 5px auto 15px;
    vertical-align: middle;
    word-break: keep-all;
}

p.info_text {
    padding: 20px 15px;
    font-size: 1em;
}

p.info_text .info_head {
    display: block;
    margin: 0 auto 16px;
    padding-bottom: 6px;
    width: 90%;
    font-size: 1.5em;
    font-weight: 700;
    color: #312917;
    border-bottom: 1px solid rgba(19, 23, 32, 0.9);
    word-break: keep-all;
}

.text_space {
    display: inline-block;
    width: 100%;
}

.popularity_horse .sub_title {
    text-align: left;
    margin-left: 20px;
    font-size: 1.2em;
    font-weight: 800;
    padding: 10px 0;
}

.popularity_horse .sub_title:last-child {
    margin-top: 20px;
}

.last_bottom {
    padding: 0 0 10px 0
}

.popularity_horse .txt {
    display: inline-block;
    width: 20px;
    height: 46px;
    line-height: 16px;
    vertical-align: top;
    margin-top: 5px;
    margin-left: -5px;
    margin-right: 10px;
    border: 3px solid rgba(36, 36, 36, 0);
    font-size: 1rem;
    color: #0C0C0C;
    font-weight: bold;
}

.popularity_horse .dotted_line {
    margin: 0 auto;
    width: 75%;
    border-top: 1px dotted #0c0c0c;
}

table.popularity_wrap {
    width: 90%;
    margin: 10px auto 0;
    table-layout: fixed;
}

table.popularity_wrap td {
    width: 20%;
    border: 1px dotted #0c0c0c;
    position: relative;
}

table.popularity_wrap td.w20 {
    width: 20%;
}

table.popularity_wrap td.w40 {
    width: 40%;
}

.popularity_num_wrap td:not(:first-child) {
    padding-right: 20px;
}

.sub_title_wrap>tr:first-child {
    font-size: 1.1em;
    font-weight: 800;
}

.sub_title_wrap>tr:first-child td {
    padding: 10px 0;
}

.sub_title_wrap>tr:last-child td {
    padding: 8px 0;
}

.popularity_num_wrap {
    font-family: 'Pretendard Variable', sans-serif;
    font-weight: 600;
    letter-spacing: -2px;
    font-size: 2rem;
    color: #0c0c0c;
}

.popularity_icon {
    display: inline-block;
    position: absolute;
    right: 5px;
    top: 11px;
    width: 18px;
    height: 24px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center bottom;
}

/** 알수없는 인코딩 주석이 있어서 제거 */
.popularity_icon.high {
    background-image: url(../img/popularity_high.svg);
}

.popularity_icon.low {
    background-image: url(../img/popularity_low.svg);
}

.popularity_num_wrap td:not(:first-child) span.icon_correct_small {
    top: 47%;
    left: calc(50% - 10px);
    transform: translate(-50%, -50%);
}

.popularity_num_wrap td:first-child span.icon_correct_small {
    top: 47%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.popularity_num_wrap td:not(:first-child) span.icon_cancel_horse {
    top: 2px;
    right: 16px;
    width: 30px;
    height: 19px;
}

.popularity_num_wrap td:first-child span.icon_cancel_horse {
    top: 2px;
    right: 5px;
    width: 30px;
    height: 19px;
}

/* popularity_horse_Sample */
.popularity_horse_Sample {
    padding: 20px 0;
}

.popularity_horse_Sample table {
    width: 95%;
    margin: 10px auto 0;
    font-size: 1.4em;
    letter-spacing: -1px;
}

.popularity_horse_Sample table {
    font-weight: 700;
}

.popularity_horse_Sample thead {
    font-size: 1rem;
    font-weight: normal;
    background-color: #fff0e0;
}

.popularity_horse_Sample thead>tr {
    border-bottom: 1px solid #f78631;
}

.popularity_horse_Sample thead td {
    border-right: none;
    padding: 10px 0 5px;
}

.popularity_horse_Sample thead td:first-child {
    padding: 10px 0 5px;
}

.popularity_horse_Sample td {
    width: 17%;
    padding: 7px 10px 7px 0;
    position: relative;
    white-space: nowrap;
    border-right: 1px solid #f78631;
}

.popularity_horse_Sample td:first-child {
    width: 15%;
    line-height: 1.2em;
    padding: 7px 0;
}

.popularity_horse_Sample td:last-child {
    border: none;
}

.popularity_horse_Sample .popularity_icon {
    top: 13px;
    right: 5px;
    width: 15px;
    height: 20px;
}


div.s_num.cancel {
    border: 3px solid rgba(136, 169, 231, 0.5);
    background-color: rgba(255, 255, 255, 0.4);
    color: rgba(136, 169, 231, 0.8);
}

.live_kra_data {
    margin-top: 20px;
}

.hw_highlight {
    font-weight: bold;
    padding: 7px 0;
    background-color: rgba(247, 134, 49, 0.3);
}

.hw_bold {
    font-weight: bold;
}

.h_weight_body {
    display: flex;
    justify-content: center;
}

.h_weight_body span.icon_correct_small {
    top: -3px;
    left: -3px;
    height: 50px;
    width: 100%;
    background-size: 40px;
}

.h_best_weight,
.h_weight,
.h_weight_change {
    width: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    letter-spacing: 1px;
}

.horse_weight_sub_title {
    display: flex;
    justify-content: center;
    font-size: 0.9rem;
}

.horse_weight_sub_title>div {
    padding: 10px 0;
}

.hw_st_back_num {
    width: 46px;
    display: block;
}

.hw_st_best,
.hw_st_today,
.hw_st_change {
    width: 70px;
}

@media (max-width: 280px) {
    .sub_title_wrap>tr:first-child {
        font-size: 0.85em;
    }

    .sub_title_wrap>tr:last-child td {
        font-size: 0.9em;
    }

    table.popularity_wrap td.w20 {
        width: 22%;
    }

    table.popularity_wrap td.w40 {
        width: 39%;
    }

    .popularity_num_wrap {
        font-size: 1.75rem;
    }

    .popularity_num_wrap td:not(:first-child) {
        padding-right: 15px;
    }

    .popularity_icon {
        right: 4px;
        width: 11px;
        height: 19px;
    }

    .popularity_num_wrap td:not(:first-child) span.icon_correct_small {
        top: 47%;
        left: calc(50% - 8px);
        width: 36px;
        height: 38px;
    }


    .horse_weight_change .s_num {
        margin-left: 3px;
        width: 37px;
    }

    div.s_num {
        width: 30px;
        height: 43px;
        line-height: 40px;
        font-size: 1.5rem;
        margin-left: 5px;
    }

    span.icon_correct_small {
        height: 44px;
        background-size: 100%;
    }

    .h_weight_body span.icon_correct_small {
        width: 32px;
        left: -2px;
        top: -7px;
    }

    span.icon_hot {
        top: -12px;
        right: -17px;
        width: 39px;
        height: 24px;
    }

    .weight_change {
        font-size: 20px;
        margin-top: -5px;
        margin-left: 0;
    }

    span.icon_hot {
        top: -11px;
        right: -14px;
        width: 39px;
        height: 24px;
    }

    .odd_pop_horse {
        background-color: #fff;
    }

    .popularity_horse .txt {
        width: 18px;
        height: 43px;
        line-height: 16px;
        margin-top: 3px;
        margin-left: -3px;
        font-size: 0.9rem;
    }

    .popularity_horse .dotted_line {
        width: 95%;
    }

    .popularity_horse_Sample table {
        width: 100%;
    }

    .popularity_horse_Sample .popularity_icon {
        width: 12px;
        height: 20px;
        right: 2px;
    }

    .h_best_weight,
    .h_weight,
    .h_weight_change {
        width: 50px;
        font-size: 1.15rem;
    }

    .hw_st_best,
    .hw_st_today,
    .hw_st_change {
        width: 50px;
    }

    .hw_st_back_num {
        width: 40px;
    }

    .horse_weight_sub_title>div {
        padding: 10px;
    }

    .horse_weight_body>div>div:nth-child(3) {
        padding: 10px;
    }
}

/* 기수변경 스타일 추가 */
.jockey_change_wrap {
    background-color: #fff;
    padding: 30px 10px;
    border-radius: 17px;
}

.jockey_change_wrap h1 {
    margin-bottom: 10px;
}

.jockey_change_sub_title {
    display: flex;
    justify-content: space-evenly;
    font-size: 0.9rem;
}

.jockey_change_sub_title>div {
    padding: 10px 0;
}

.jc_st_back_num {
    width: 46px;
    display: block;
}

.jc_st_prev,
.jc_st_next {
    width: 130px;
}

.jc_body {
    display: flex;
    justify-content: space-evenly;
}

.jc_prev,
.jc_next {
    width: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    /*letter-spacing: -1.5px;*/
}

.jc_next .color_red {
    color: #E60012;
    font-weight: bold;
}

.jc_body .s_num {
    border: none;
    height: 50px;
    margin-left: 6px;
    padding-right: 7px;
    font-weight: 600;
}

@media (max-width: 280px) {

    .jc_st_prev,
    .jc_st_next {
        width: 100px;
    }

    .jc_prev,
    .jc_next {
        width: 100px;
        font-size: 1rem;
    }
}

.odd_name {
    display: inline-block;
    font-size: 14px;
    width: 21px;
    height: 37px;
}

@media (min-width: 281px) and (max-width: 349px) {
    .sub_title_wrap>tr:first-child {
        font-size: 0.85em;
    }

    .sub_title_wrap>tr:last-child td {
        font-size: 0.9em;
    }

    table.popularity_wrap td.w20 {
        width: 22%;
    }

    table.popularity_wrap td.w40 {
        width: 39%;
    }

    .popularity_num_wrap {
        font-size: 1.75rem;
    }

    .popularity_num_wrap td:not(:first-child) {
        padding-right: 15px;
    }

    .popularity_icon {
        right: 4px;
        width: 11px;
        height: 19px;
    }

    .popularity_num_wrap td:not(:first-child) span.icon_correct_small {
        left: calc(50% - 8px);
    }

    .horse_weight_change .s_num {
        width: 38px;
        margin-left: 2px;
    }

    div.s_num {
        width: 33px;
        height: 40px;
        line-height: 36px;
        font-size: 1.6rem;
        margin-left: 5px;
    }

    span.icon_correct_small {
        height: 43px;
        background-size: 100%;
    }

    .h_weight_body span.icon_correct_small {
        top: -7px;
    }

    span.icon_hot {
        top: -12px;
        right: -17px;
        width: 39px;
        height: 24px;
    }

    .popularity_horse>div:last-of-type .sub_title {
        padding: 10px 0 0;
    }

    .popularity_horse .txt {
        width: 18px;
        height: 43px;
        line-height: 18px;
        margin-top: 0;
        margin-left: -4px;
        font-size: 0.9rem;
    }

    .popularity_horse .dotted_line {
        width: 90%;
    }

    .popularity_horse_Sample table {
        width: 100%;
    }

    .popularity_horse_Sample .popularity_icon {
        width: 12px;
        height: 20px;
        right: 2px;
    }

    .h_best_weight,
    .h_weight,
    .h_weight_change {
        width: 60px;
        font-size: 1.15rem;
    }

    .hw_st_best,
    .hw_st_today,
    .hw_st_change {
        width: 60px;
    }

    .hw_st_back_num {
        width: 40px;
    }

    .horse_weight_sub_title>div {
        padding: 10px;
    }

    .horse_weight_body>div>div:nth-child(3) {
        padding: 10px;
    }

    .jc_st_prev,
    .jc_st_next {
        width: 115px;
    }

    .jc_prev,
    .jc_next {
        width: 115px;
        font-size: 1.1rem;
    }
}