/* -----------------
        공통 
----------------- */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@100..900&display=swap');
*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    color: #fff;
    font-family: "Noto Sans KR", sans-serif;
    line-height: 1.2;
}
img{
    display: block;
    -webkit-touch-callout: none;
}
a{  
    text-decoration: none;
    color: initial;
}
body{
    background: #000;
    max-width: 500px;
    margin: 0 auto;
    touch-action: pan-x pan-y;
}
#content{
    padding-bottom: 81px;
}
.flex{
    display: flex;
}
.truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.input,
.select{
    width: 100%;
    /* height: 46px; */
    padding: 15px 0;
    background: #19191E;
    border: none;
    border-radius: 5px;
    padding-left: 23px;
}
.button{
    background: #A147F5;
    border-radius: 10px;
    height: 53px;
    width: 100%;
    display: grid;
    place-content: center;
    border: none;
    padding: 15px 0;
    cursor: pointer;
}
.card{
    background: #19191E;
    border-radius: 5px;
    width: 100%;
}
.popup_cover{
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    position: fixed;
    top: 0;
    left: 0;
    display: none;
    z-index: 2;
}
.popup,
.main_popup{
    display: none;
    background: #0F0F17;
    border-radius: 15px;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 30px;
    z-index: 3;
}
.popup_header b{
    font-size: 18px;
    margin-left: 30px;
}
#main_popup{
    z-index: 2;
    max-width: 450px;
    width: 90%;
}
#main_popup .m_popup_header{
    display: flex;
    justify-content: space-between;
    font-size: 21px;
    
}
#main_popup .m_popup_body img{
    width: 214px;
    height: 206px;
    margin: 0 auto 54px;
}
#main_popup .m_popup_body .info{
    flex-direction: column;
    font-size: 18px;
    text-align: center;
}
#main_popup .m_popup_body p{
    margin: 9px 0 35px;
} 
#main_popup .m_popup_body .button{
    margin: 0 auto !important;
    width: 72% !important;
    font-weight: bold;
}
.colse_btn{
    cursor: pointer;
}
#loading{
    display: none;
}
.loader_cover {
    background: rgb(71 71 71 / 60%);
    width: 100%; 
    height: 100%; 
    max-width: 500px; 
    position: fixed;
    top: 0;
    left: 50%; 
    z-index: 3;
    transform: translateX(-50%); 
    display: flex;
    justify-content: center; 
    align-items: center; 
}
.loader {
    width: 48px;
    height: 48px;
    border: 5px solid #FFF;
    border-bottom-color: transparent;
    border-radius: 50%;
    animation: rotation 1s linear infinite;
}
@keyframes rotation {
    0% {transform: rotate(0deg);}
    100% {transform: rotate(360deg);}
} 
/* -----------------
        Header 
----------------- */
header{
    /* height: 121px; */
    width: 100%;
    padding: 22px 20px;
}
header .logo_wrap{
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}
header .logo{
    max-width: 260px;
    /* width: 100%; */
    height: 30px;
}
.header_flex{
    margin-top: 27px;
    display: flex;
    align-items: center;
}
#country_wrap{
    display: flex;
    gap: 12px;
}
.country_opacity{
    opacity: 0.3;
}
#country_wrap img{
    width: 20px;
    height: 20px;
    cursor: pointer;
}
#stellagem{
    text-align: right;
    width: 100%;
    font-size: 14px;
    position: relative;
}
#stellagem .stellagem_inner{
    background: linear-gradient(270deg, rgb(255, 0, 255) 0%, rgb(0, 210, 255) 100%);
    border-radius: 23px;
    display: inline-block;
    padding: 1px;
    /* width: 39.6%; */
    min-width: 182px;
    height: 28px;
    cursor: pointer;
}
#stellagem .stellagem_inner p{
    padding-left: 12px;
    font-size: 14px;
    width: 160px !important;
}
#stellagem .stellagem_inner > div{
    background: #000;
    border-radius: 23px 0 0 23px;
    width: 89%;
    height: 100%;
    align-items: center;
    justify-content: center;
}
#stellagem .stella_icon{
    align-items: center;
    gap: 5px;
    margin-top: -1px;
    margin-right: 10px;
}
#stellagem .stella_icon img{
    width: 13px;
    height: 13px;
}
#stellagem .space{
    margin: 0 14px 3px;
    display: block;
}
#stellagem .plus_icon{
    position: absolute;
    top: 50%;
    right: 9px;
    transform: translate(0, -50%);
}
.close_btn {
    cursor: pointer;
}
/* -----------------
        Footer 
----------------- */
footer{
    background: #19191E;
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 61px;
    max-width: 500px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: center;
    justify-items: center;
    z-index: 1;
}
#footer a{
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
}
#footer div{
    width: 100%;
    height: 100%;
}
.active{
    fill: #fff;
}
/* 본인확인 창 */
.imp-dialog{
    border-radius: 0 !important;
    transform: initial !important;
    padding: initial !important;
}
#Language{
    color: #9d9d9d;
}
/* 반응형 */
@media screen and (max-width: 499px){
    input, select{
        font-size: 16px;
    }
    #Language{
        height: 100%;
        min-height: 54px;
        -webkit-appearance: none; 
        appearance: none;
    }
}