body {
    font-style: normal;
    background: #000;
}
body.scroll_none {overflow: hidden; padding-right: 0; touch-action: none; height: 100%; overscroll-behavior: contain;}

html {
    font-size: 10px;
}

@media (max-width:750px) {
    html {
        font-size: calc(1000vw/750);
    }
}

#main {
    max-width: 750px;
    margin: auto;
    background: #ebf0f8;
}

.cont_full {
    margin-top: -1px;

}

.cont_full img {
    width: 100%;
}

.cont_full.pos {
    position: relative;
    width: 100%;
}

.cont_full.pos > img {
    width: 100%;
    height: auto;
    display: block;
}

.btn_play {

}

/**************** 랭킹영역 시작 ******************/
/* 이미지는 원래 비율을 유지하며 부모 너비에 맞춤 */


.rank_box {
    /* border: 1px solid red; */ /* 박스 영역 확인용 */
    position: absolute;
    color: #ffffff;
    box-sizing: border-box;

    /* 핵심 1: px나 vw 대신 %로 이미지 속 박스 라인 위치 지정 : 이미지내 박스 안에 반응형으로 위치하려면 필요함.*/
    top: 20%;
    bottom: 15%;
    left: 13%;
    right: 13%;
    padding: 0;
    /* (width/height 대신 top/bottom/left/right %로 이미지 비율에 맞추기) */
    padding: 0;
}

/* 10개 리스트가 .rank_box 높이를 정확히 1/10씩 균등 할당 */
.rank_box > ul {
    width: 100%;
    height: 100%; /* .rank_box 전체 높이를 꽉 채움 */
    margin: 0;
    padding: 0;
    list-style: none;
    
    display: flex;
    flex-direction: column;
    gap: 2%;
}

.rank_box > ul > li {
    flex: 1;
    border: 1px solid #8f8b98;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    /* justify-content: center; */
    border-radius: 24px;

    /* 화면이 작아질 때 글씨가 넘치지 않도록 반응형 폰트 크기 지정 (선택) */
    /*font-size: clamp(10px, 1.5vw, 16px);*/
    font-size: 2.4rem; /*750px 기준 24px = 2.4rem */
    
    /*box-shadow: inset 0px 8px 2px -4px rgba(182, 135, 255, 0.3), 0px 0px 5px 1px rgba(142, 96, 185, 1);*/
    box-shadow: inset 0 0.8rem 0.2rem -0.4rem rgba(182, 135, 255, 0.3), 0 0 0.5rem 0.1rem rgba(142, 96, 185, 1); /* rem 변환 시 (소수점 이동) */

    background-color: rgba(255, 255, 255, 0.1);
    padding: 0 6rem;
}

.rank_box > ul > li.rank_top {
    position: relative;
    flex: 1.2;
    margin-bottom: 1%; /*4%;*/
    font-size: 3rem;
    color: #bbe345;
    border: 0.5rem solid #6139be;
    /*box-shadow: inset 0 0.8rem 0.2rem -0.4rem rgba(182, 135, 255, 0.3), 0 0 0.5rem 0.1rem rgba(142, 96, 185, 1);*/ /* rem 변환 시 (소수점 이동) */
    box-shadow: inset 0 0 0 0 transparent, 0 0 1.5rem 1rem #976aff80;
    border-radius: 50px;
}

.rank_box > ul > li.rank_top::after {
    content: '';
    display: block;
    width: 3rem;
    height: 3.7rem;
    /* border: 1px solid blue; */
    position: absolute;
    top: 15%;
    left: 6%;
    background: transparent url('../images/icon_bg02.png') no-repeat center center;
    background-size: contain;
}

.rank_box > ul > li em {
    display: inline-block;
    width: 5.0rem;
    text-align: right;
    margin-right: 1.8rem;
    font-weight: 600;
}

/* 사용자 이름 (span) */
.rank_box > ul > li > .user {
    flex: 1;
    text-align: left;
}

/**************** 랭킹영역 끝 ******************/


.btxt {
    display: flex;
    margin-top: 2rem;
    font-size: 2rem;
    line-height: 1.4;
    color: #ad0e0e;
    word-break: keep-all;
}

.btxt div {
    flex: 1;
    min-width: 0;
    margin-left: 0.6rem;
}

.notice {
    /* padding: 7.5rem 3.5rem 17rem 3.5rem; */
    padding: 12rem 3.5rem 17rem 3.5rem;
    color: #ffffff;
    font-size: 2.4rem;
    /* font-weight: 500; */
    line-height: 1.4;
    word-break: keep-all;
    background: #664da4;
    margin-top: -120px;
    letter-spacing: -0.075em;
}

.notice h2 {
    display: inline-block;
    margin: 0 0 1.6rem 2rem;
    padding: 0.1rem 1rem 0.4rem 1rem;
    font-size: 3rem;
    font-weight: 600;
    border-radius: 0.6rem;
    background: #ffffff;
    color: #6139be;
    vertical-align: middle;
}

.notice h2 ~ h2 {
    margin-top: 4rem;
}

.notice h3 {
    position: relative;
    padding-left: 1.2rem;
    margin-top: 3rem;
}

.notice h3::before {
    position: absolute;
    top: 0;
    left: 0;
    content: '-';
}

.notice h3.privacy {
    position: relative;
    padding-left: 2.2rem;
    margin-top: 3rem;
}

.notice h3.privacy::before {
    position: absolute;
    top: 0;
    left: 0;
    content: '※';
}

.privacy_table {
    overflow: hidden;
    padding-left: 2.2rem;
}

.privacy_table table {
    width: 100%;
    table-layout: fixed;
}

.privacy_table th,
.privacy_table td {
    border: 1px solid #848484;
    font-size: 2.5rem;
    font-weight: 500;
    text-align: center;
    line-height: 1.25;
    border-left: 0;
}

.privacy_table th {
    padding: 1.5rem 0.5rem;
    color: #959595;
    white-space: nowrap;
    border-top: 1px solid #848484;
}

.privacy_table td {
    height: 8rem;
    padding: 1.4rem 0.5rem;
    font-size: 2.4rem;
    color: #959595;
}

.fc_point {
    color: #f6eda9 !important;
}

.list_t1>li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
}

.list_t1>li::before {
    position: absolute;
    left: 0.4rem;
    top: 1.5rem;
    width: 0.6rem;
    height: 0.6rem;
    border-radius: 100%;
    background: #ffffff;
    content: '';
}

.list_t1>li.li_point::before {
    background: #f6eda9;
}

.list_t2>li {
    position: relative;
    padding-left: 2.2rem;
}

.list_t2>li::before {
    position: absolute;
    top: 0;
    left: 0.6rem;
    content: '-';
}

.list_t3>li {
    position: relative;
    padding-left: 1.1rem;
    line-height: 1.55;
}

.list_t3>li::before {
    position: absolute;
    left: 0rem;
    top: 1.4rem;
    width: 0.4rem;
    height: 0.4rem;
    border-radius: 100%;
    background: #919191;
    content: '';
}

.list_t4 li {
    display: flex;
    position: relative;
    padding-left: 1.1rem;
    line-height: 1.55;
}

.list_t4 li>span {
    margin-right: 0.7rem;
}

.list_t4 li>p {
    flex: 1;
    min-width: 0;
}

.cont_t1 {
    display: flex;
    gap: 0.5rem;
    margin-left: -2rem;
}

.cont_t1 p {
    flex: 1;
    min-width: 0;
}

.btn_event {
    position: fixed;
    left: 50%;
    bottom: 0;
    z-index: 999;
    width: 100%;
    transform: translateX(-50%);
    max-width: 750px;
    height: 17rem;
    line-height: 17rem;
    text-align: center;
    font-size: 3.8rem;
    font-weight: 600;
    color: transparent;
    /*background: #4a65fd;*/

    /* 화면 변환 시 부드러운 위치 이동 애니메이션 */
    transform: translate(-50%, 0);
    transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;

    background: url('../images/icon_play2.png') no-repeat center center;
    background-size: cover;
}

/* 2. 원래 자리에 올라갔을 때 적용되는 클래스 */
.btn_event.is-inline {
    /* JS에서 계산한 실시간 Y축 좌표(--inline-y)를 대입 */
    transform: translate(-50%, var(--inline-y, 0px));
}

.btn_box {
    margin-top: -15rem;
    position: relative;
    z-index: 10; /* 이미지보다 확실하게 위에 올라오도록 조정 */
}

/* 3. 원래 자리의 높이와 영역을 지켜주는 앵커 스타일 */
.btn_anchor {
    width: 100%;
    height: 13rem;
}

.btn_event2 {
    position: fixed;
    left: 50%;
    bottom: 0;
    z-index: 1110;
    width: 100%;
    transform: translateX(-50%);
    max-width: 750px;
    height: 13rem;
    line-height: 13rem;
    text-align: center;
    font-size: 3.8rem;
    font-weight: 600;
    color: #2a2a2a;
    background: #ff87ff;
}


/* 정보입력 및 동의 팝업*/
.fbox {
    padding: 4.7rem 5rem 0;
    background: #ffffff;
    border: 2px solid #6139be;
}

.agree_pop {
    /* display:none; */
    position:fixed; 
    top: 50%;
    left: 50%;
    z-index: 100001;
    transform: translate(-50%, -50%);
    width: 95%;
    max-width: 66rem;
    border-radius: 4rem;
}

.agree_box {
    padding: 4rem 4rem 5rem 9rem;
    background: #fff;
    background: #fff;
}

.agree_box .tit {
    margin: 0 -5rem;
    font-size: 5.2rem;
    color: #1f3fed;
    font-weight: 600;
    text-align: center;
    letter-spacing: -0.04em;
}

.agree_box .stxt {
    margin-top: 1.5rem;
    font-size: 2rem;
    color: #6b6b6b;
    line-height: 1.3333;
    font-weight: 500;
    word-break: keep-all;
    letter-spacing: -0.08em;
}

.agree_chk {
    /*margin: 5rem 0 6rem;*/
}

.agree_chk li {
    display: flex;
    align-items: center;
}

.agree_chk li+li {
    margin-top: 1.1rem;
}

.agree_chk button {
    position: relative;
    font-size: 2.5rem;
    color: #2a2a2a;
    font-weight: 500;
}

.agree_chk button::after {
    content: '';
    display: block;
    width: 1.1rem;
    height: 1.1rem;
    /* background-color: #6139be; */
    border: 2px solid #6139be;
    position: absolute;
    right: -1.5rem;
    top: 33%;
    transform: rotate(45deg);
    border-left: 0;
    border-bottom: 0;
}

.agree_info {
    background-color: #6139be;
    color: #ffffff;
        padding: 2rem 5rem 2rem 7.5rem;
}

.agree_info > ul > li {
    position: relative;
    font-size: 2.4rem;
    font-weight: 500;
    padding-left: 0.8rem;
    letter-spacing: -0.07em;
}

.agree_info > ul > li ~ li {
    margin-top: 1.3rem;
}

.agree_info > ul > li .cont_t1 {
    margin-left: 0;
    font-size: 1.6rem;
    font-weight: normal;
    margin-top: 1rem;
    letter-spacing: -0.05em;
}

.agree_info > ul > li::before {
    content: '';
    display: block;
    width: 0.4rem;
    height: 0.4rem;
    background-color: #fff;
    border-radius: 50%;
    position: absolute;
    top: 1.4rem;
    left: 0;
}

.inp_chk {
    display: inline-flex;
    align-items: center;
    position: relative;
    vertical-align: middle;
    cursor: pointer;
}

.inp_chk input {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.inp_chk i {
    display: block;
    width: 2.6rem;
    height: 2.6rem;
    margin-right: 1rem;
    border: 0.2rem solid #e8e8e8;
}

.inp_chk i::after {
    background-color: transparent;
    position: absolute;
    top: 50%;
    left: 8%;
    width: 1rem;
    height: 1rem;
    margin-top: -0.3rem;
    border-style: solid;
    border-color: #ffffff;
    border-width: 0 0 0.2rem 0.2rem;
    transform: rotate(-45deg) scale(0);
    transition: none;
    content: '';
    transition: transform 0.2s;
}

.inp_chk input:checked+i {
    background-color: #6139be;
}

.inp_chk input:checked+i::after {
    transform: rotate(-45deg) scale(1) translate(29%, -43%);
}

.inp_chk .req {
    font-size: 2.5rem;
    font-weight: 700;
    color: #6139be;
    padding-right: 0.8rem;
}

.btn_all_agree {
    display: block;
    width: 100%;
    height: 11.6rem;
    margin: auto;
    font-size: 5rem;
    font-weight: 500;
    color: #fff;
    text-align: center;
    background: #1f3fed;
}

.frow {
    display: flex;
    align-items: center;
    margin-top: 2rem;
}

.frow label {
    width: 12rem;
    padding: 0 1.5rem 0 0;
    font-size: 3.5rem;
    font-weight: 600;
    color: #000000;
    flex-shrink: 0;
    text-align: right;
}

.frow input {
    min-width: 0;
    width: 33rem;
    height: 5.2rem;
    padding-left: 2rem;
    border: 1px solid #e8e8e8;
    font-size: 2.6rem;
    color: #232323;
}

/* 휴대폰 번호 입력 영역 가로 정렬 */
.frow_hp .hp_group {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

/* 3개의 input 입력창 스타일 */
.frow_hp .hp_group input[type="tel"] {
    /*flex: 1; */
    width: 12rem;
    text-align: center; 
    box-sizing: border-box; 
    padding-left: 0;
}

/* 구분 기호 (-) 스타일 */
.frow_hp .hp_group .dash {
    margin: 0 1.6rem;
    flex-shrink: 0;
    color: #000000;
    font-weight: 500;
    font-size: 3.5rem;
}

.btn_pop_group {
    display: flex;
    margin-top: 1.5rem;
    gap: 1.5rem;
    width: 100%;
}

.btn_pop_group button {
    height: 8rem;
    color: #ffffff;
    font-size: 3.5rem;
    font-weight: 500;
    letter-spacing: -0.05em;
}

/* 첫 번째 버튼: 너비 26rem 고정 */
.btn_pop_group button:first-child {
    width: 26rem;
    flex-shrink: 0; 
    background-color: #646464;
}

/* 두 번째 버튼: 남은 영역 전체 차지 */
.btn_pop_group button:last-child {
    flex: 1;
    background-color: #6139be;
}


/**/

.privacy_pop {
    /* display:none; */
    position:fixed;
    top: 50%;
    left: 50%;
    z-index: 100001;
    transform: translate(-50%, -50%);
    width: 95%;
    max-width: 66rem;
    background: #fff;
    border: 2px solid #6139be;
}

.privacy_pop .top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 10.6rem;
    padding: 0 3.5rem;
    border-bottom: 1px solid #e7e7e7;
}

.privacy_pop h2 {
    font-size: 3.4rem;
    color: #2e2e2e;
    font-weight: 600;
}

.privacy_pop .btn_pop_close {
    width: 4rem;
    height: 4rem;
    background: url(../images/icon_close.png) no-repeat center;
    background-size: 2rem auto;
    position: absolute;
    right: 2%;
    top: 3%;
}

.privacy_pop .pcont {
    padding: 4rem 3rem;
    color: #2e2e2e;
    word-break: keep-all;
    font-size: 2.05rem;
}

.ptit {
    font-size: 2.4rem;
    font-weight: 500;
    letter-spacing: -0.07em;
}

.ptxt1 {
    font-size: 2rem;
    letter-spacing: -0.07em;
}

.ptxt1 strong {
    font-weight: 600;
}

.privacy_pop .pcont .subTit {
    font-size: 1.8rem;
    margin-top: 2.5rem;
    line-height: 2.8rem;
    letter-spacing: -0.05em;
}

.privacy_pop .pcont > ul {
    font-size: 1.8rem;
    letter-spacing: -0.05em;
}

.privacy_pop .pcont > ul > li {
    position: relative;
    display: flex;
    padding-left: 0.8rem;
    line-height: 2.8rem;
}
.privacy_pop .pcont > ul > li em {
    flex-shrink: 0;
    margin-right: 0.5rem;
}

.privacy_pop .pcont > ul > li::before {
    content: '·';
    display: block;
    /* width: 0.3rem;
    height: 0.3rem;
    background-color: #000000;
    border-radius: 50%; */
    position: absolute;
    top: 0;
    left: 0;
}

.mt_10 {
    margin-top: 1rem;
}

.mt_30 {
    margin-top: 3rem;
}

.mt_40 {
    margin-top: 4rem;
}

.fs_22 {
    font-size: 2.2rem !important;
}

.fc_red {
    color: #aa2638 !important;
}

.fc_blue {
    color: #2639aa !important;
}

.fc_gray {
    color: #97989a !important;
}

.ptable {
    overflow: hidden;
}

.ptable>div {
    margin: 0 -1px;
}
/*
.ptable table {
    width: 100%;
    table-layout: fixed;
}

.ptable th,
.ptable td {
    border: 1px solid #e7e7e7;
    font-size: 1.9rem;
    font-weight: 500;
    text-align: center;
    line-height: 1.25;
}

.ptable th {
    padding: 2.5rem 0.5rem;
    color: #4f4f4f;
    white-space: nowrap;
    border-top: 1px solid #97989a;
    background: #f2f2f2;
}

.ptable td {
    height: 8rem;
    padding: 1.4rem 0.5rem;
    font-size: 2.05rem;
    color: #000000;
}
*/
.ptxt2 {
    display: flex;
    font-size: 2rem;
    letter-spacing: -0.07em;
    line-height: 2.8rem;
}

.ptxt2::before {
    margin-right: 0.5rem;
    font-weight: 500;
    content: '※';
}

.ptxt2>div {
    flex: 1;
}

.dimmed_bg {
    display: none;
    position: fixed;
    z-index: 10000;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(25, 25, 25, 0.8);
}

.alert_pop {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: 100001;
    transform: translate(-50%, -50%);
    width: 95%;
    max-width: 61rem;
    border-radius: 4rem;
    background: #fff;
}

.alert_pop .pbox {
    padding: 7.5rem 0 4rem;
    text-align: center;
}

.alert_pop .tit {
    padding-top: 17rem;
    margin-bottom: 3rem;
    font-size: 5.1rem;
    color: #3f45cf;
    font-weight: 600;
    line-height: 1;
    background: url('../images/pop_i.png') no-repeat center top;
    background-size: 12rem auto;
}

.alert_pop .ptxt {
    font-size: 2.9rem;
    color: #424242;
    font-weight: 500;
    text-align: center;
}

.alert_pop .ptxt.small {
    font-size: 2rem;
}

.btn_wrap {
    display: flex;
    justify-content: center;
    margin-top: 6rem;
}

.btn_wrap .btn {
    width: 24.7rem;
    height: 8rem;
    border-radius: 1.5rem;
    font-size: 3.2rem;
    color: #fff;
    font-weight: 500;
    line-height: 8rem;
    background: #3f45cf;
}

.btn_wrap .btn+.btn {
    margin-left: 1.6rem;
    color: #3f45cf;
    background: #e2e5f9;
}

.alert_pop .tdesc>li {
    position: relative;
    padding-left: 8rem;
    text-align: left;
    font-size: 2.6rem;
}

.alert_pop .tdesc>li::before {
    position: absolute;
    top: 0;
    left: 6rem;
    content: '*';
}