/* 공통 */
.btn_basic_style{
    width: 100%;
    height: 48px;
    border-radius: 100px;
    background-color: #0066CC;
    border: 2px solid #005A85;
    box-shadow: 0px 3px 0px #005A85;
    font-size: 18px;
    font-weight: 600;
    color: #fff;
}
.btn_wrap{
    margin-top:  140px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}
.btn_basic_style.prev_result{
    background-color: #00BC83;
    border: 2px solid #00704E;
    box-shadow: 0px 3px 0px #00704E;
}
.btn_style_return{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    min-width: 40px;
    height: 40px;
    background-color: #EB6E01;
    border: 2px solid #C44402;
    border-radius: 50%;
    box-shadow: 0px 3px 0px #C44402;
}
.btn_basic_style:disabled{
    background-color: #CCCCCC;
    border: 2px solid #AAAAAA;
    box-shadow: 0px 3px 0px #AAAAAA;
    cursor: no-drop;
}
/* 퀴즈 */
.screen:has(.quiz_main){
    padding-bottom: 30px;
}
.quiz_main.qr_landing .card_st01{
    top: 120px;
    height: auto;
}
.quiz_main .logo_zone{
    display: flex;
    justify-content: center;
    margin-top: -20px;
}
.quiz_main .card_st01 .deco_ribbon{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: unset;
}
.quiz_main .illust{
    height: 156px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
}
.quiz_main .illust img{
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.quiz_main .in_wrap b{
    width: 100%;
    display: inline-block;
    font-size: 22px;
    font-weight: 600;
    text-align: center;
    color: #813D00;
    line-height: 1.4;
    margin-top: 14px;
    margin-bottom: 14px;
}
.quiz_main .in_wrap input{
    position: relative;
    width: 100%;
    min-height: 40px;
    background-color: #FFEEB8;
    border: 1px solid #D3AF53;
    border-radius: 10px;
    padding: 10px;
    resize: none;
    font-family: 'Noto Sans KR';
}
.quiz_main .in_wrap input::placeholder{
    font-size: 16px;
    color: #D3AF53;
    text-align: center;
    font-family: 'Paperlogy';
}
.quiz_main .in_wrap input.answer_box{
    min-height: 80px;
}
.quiz_main .swiper-pagination{
    top: 0;
    font-weight: 500;
    color: #EDA132;
}
.quiz_main .swiper-pagination-current{
    font-weight: 600;
    color: #813D00;
}
/* complete_main */
body:has(.complete_main){
    overflow: hidden;
}
.screen:has(.complete_main){
    position: relative;
    overflow: hidden;
    padding-bottom: 0;
}
.complete_main{
    /* position: relative; */
    min-height: 100dvh;
    height: auto;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.complete_main .deco_tile{
    height: fit-content;
}
.complete_main .deco_tile.bottom{
    bottom: 0;
    margin-top: auto;
}
.complete_main .center_zone{
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    flex: 1; 
    z-index: 5;
}
.complete_main .center_zone img{
    width: 132px;
    margin: 0 auto;
}
.complete_main .center_zone h3{
    font-size: 22px;
    color: #813D00;
    text-align: center;
}
.complete_main .center_zone p{
    text-align: center;
    font-size: 18px;
    line-height: 1.2;
    color: #813D00;
}
.complete_main.quiz_main .center_zone input::placeholder{
    text-align: left;
}
.complete_main .btn_wrap{
    margin-top: 2dvh;
}
.complete_main .in_wrap .checkbox_style{
    width: 24px;
    min-width: 24px;
    min-height: 24px;
    cursor: pointer;
}
.complete_main .in_wrap label:has(.checkbox_style){
    display: flex;
    align-items: flex-start;
    gap: 8px;
    text-align: left;
}
.complete_main .in_wrap label:has(.checkbox_style) p{
    font-size: 16px;
    text-align: left;
    word-break: keep-all;
}
.complete_main .in_wrap label:has(.checkbox_style) i{
    display: block;
    font-size: 14px;
    margin-top: 4px;
    font-style: normal;
    opacity: 0.8;
}
@media (max-height: 550px){
    /* .complete_main .center_zone{
        padding-top: 44px;
    } */
     .complete_main .center_zone{
        gap: 6px;
     }
    .complete_main .center_zone img{
        height: 20dvh;
    }
    .complete_main .center_zone h3{
        font-size: 18px;
    }
    .complete_main .center_zone p{
        font-size: 16px;
    }
    .complete_main .btn_wrap{
        margin-top: 0;
    }
    .complete_main .btn_wrap .btn_basic_style{
        height: 40px;
    }
}
@media (max-height: 452px){
     .complete_main .center_zone {
        padding-top: 30px;
     }
    .complete_main .center_zone img{
        display: none;
    }
}
/* result_main */
body:has(.result_main){
    overflow: auto;
}
.screen:has(.result_main){
    padding-bottom: 20px;
}
.result_main .logo_zone{
    display: flex;
    justify-content: center;
    margin-top: -20px;
}
.result_main.qr_landing .card_st01{
    top: 120px;
}
.result_main.qr_landing .card_st01.reply{
    top: 0;
    margin-top: 80px;
}
.result_main.qr_landing .card_st01 .in_wrap{
    max-height: fit-content;
    /* height: 60dvh; */
    /* margin-top: 20px; */
    /* overflow-y: auto; */
}
.result_main .card_st01 .deco_ribbon{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-width: unset;
}
.result_main .card_st01 .deco_ribbon img{
    /* min-width: 240px; */
}
.result_main .item {
    display: flex;
    /* align-items: center; */
    margin-bottom: 0;
    color: #813D00;
}
.result_main .chart > div:not(:nth-child(1)){
    margin-top: 10px;
}
.result_main .quiz_title{
    display: block;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.2;
    color: #813D00;
    text-align: center;
}
.result_main .label {
    display: flex;
    gap: 8px;
    font-size: 16px;
    line-height: 1.4;
}
.result_main .label::before {
    content: '· ';
}
.result_main .percent {
    text-align: right;
    margin-left: 10px;
}
.result_main .bar {
    width: 100%;
    height: 24px;
    background: #FFEEB8;
    border: 1px solid #D3AF53;
    border-radius: 100px;
    overflow: hidden;
    margin-top: 4px;
    grid-column: 1 / 3;
}
.result_main .fill {
    position: relative;
    height: 100%;
    border: 1px solid #007B56;
    border-radius: 8px;
    border-radius: 100px;
    background: #00BC83;
    z-index: 1;
}
.result_main .collection .item{
    flex-direction: column;
}
.prize_zone{
    position: relative;
    top: 120px;
    background: #0066CC;
    box-shadow: 0px 3px 0px #004C98;
    border: 2px solid #004C98;
    border-radius: 20px;
    padding: 16px;
    margin-bottom: 40px;
}
.quiz_main .prize_zone{
    top: 20px;
}
.prize_zone::before{
    content: '';
    position: absolute;
    top: 12px;
    width: calc(100% - 32px);
    height: 25px;
    background: #0066CC 0% 0% no-repeat padding-box;
    box-shadow: 0px -2px 0px #005AB4;
    border-radius: 100px;
    z-index: 0;
}
.prize_zone::after{
    content: '';
    position: absolute;
    bottom: 12px;
    width: calc(100% - 32px);
    height: 25px;
    background: #0066CC 0% 0% no-repeat padding-box;
    box-shadow: 0px 2px 0px #9FCBFE;
    border-radius: 100px;
    z-index: 0;
}
.prize_zone h3{
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
    text-align: center;
    font-weight: 700;
    font-size: 20px;
    color: #fff;
    margin-top: 12px;
    z-index: 1;
}
.prize_zone h3::before{
    content: '';
    width: 26px;
    height: 9px;
    background: url('/assets/image/quiz/text_decoration_yellow.svg') no-repeat center center;
}
.prize_zone h3::after{
    content: '';
    width: 26px;
    height: 9px;
    background: url('/assets/image/quiz/text_decoration_yellow.svg') no-repeat center center;
}
.prize_zone p{
    font-size: 15px;
    text-align: center;
    color: #fff;
    opacity: 0.7;
    margin-top: 6px;
    line-height: 1.2;
}
.prize_list{
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 16px;
    gap: 12px;
    z-index: 1;
    padding-bottom: 16px;
}
.prize_list li{
    display: flex;
    align-items: center;
}
.prize_list li img:nth-of-type(2){
    transform: scaleX(-1);
}
.prize_list li .info{
    text-align: center;
    color: #FFEEB8;
}
.prize_list li .info b{
    font-size: 18px;
    font-weight: 600;
}   
.prize_list li .info p{
    font-size: 15px;
    color: #FFEEB8;
    opacity: 1;
    margin-top: 0;
}
.prize_list li .info span{
    color:  #fff;
    display: block;
    margin-top: 8px;
    opacity: 0.7;
}   
.btn_wrap .btn_basic_style{
    /* width: 128px; */
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.btn_wrap .btn_basic_style.next{
    flex-direction: row-reverse;
}
.btn_wrap .btn_basic_style::before{
    content: '';
    width: 10px;
    height: 12px;
    display: block;
    background: url('/assets/image/quiz/icon_triangle.svg') no-repeat center center;
}
.btn_wrap .btn_basic_style.next::before{
    transform: rotate(180deg);
}
.btn_wrap .btn_basic_style.arrow_none::before{
    content: none;
}
.btn_wrap .btn_basic_style.c_orange{
    background-color: #EB6E01;
    border-color: #C44402;
    box-shadow: 0 3px #C44402;
}
@media (max-height: 679px){
    .result_main .btn_wrap{
        margin-top: 124px;
    }
    .result_main.qr_landing .card_st01{
        top: 110px;
    }
    .result_main.qr_landing .card_st01 .in_wrap{
        /* height: 60dvh; */
    }
}