@charset "utf-8";

/****************************************************************************************************************************************
레이어 팝업 공통
*****************************************************************************************************************************************/
#layerPopup {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 100;
    width: 100%;
    height: 100%;
}

.layer-bg {
    position: relative;
    padding: 30px 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.7);
    overflow-y: auto;
}

.layer-wrap {
    position: relative;
}

.layer-close {
    position: absolute;
    top: 20px;
    right: 25px;
    z-index: 9;
    transition: 0.3s;
    cursor: pointer;
}

.layer-close>i {
    font-size: 22px;
    color: #8df7ee;
}

.layer-con {
    position: relative;
}

@media (hover: hover) and (pointer: fine) {
    .layer-close:hover {
        transform: rotate(180deg);
    }
}

/****************************************************************************************************************************************
로그인과 회원가입 팝업
*****************************************************************************************************************************************/
.intro-wrap {
    position: relative;
    margin: 0 auto;
    padding: 30px 30px;
    width: 640px;
    text-align: center;
    background: #070d12;
    border-radius: 30px;
    border: solid 1px #1f3566;
    overflow: hidden;
}

.popup-logo {
    margin: 30px auto;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* intro-hd */
.intro-hd {
    position: relative;
    margin: 0 0 20px 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.intro-hd>i {
    margin-right: 5px;
    font-size: 30px;
    color: #ff4c83;
}

.intro-hd>span {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);
}

/* intro-form */
.intro-form {
    position: relative;
    margin: 0 auto;
    padding: 30px 30px;
    width: 100%;
    background: #0a131c;
    border: solid 1px #182033;
    border-radius: 30px;
}

ul.intro-list {
    position: relative;
    margin: 0 auto;
    padding: 0;
    width: 400px;
}

ul.intro-list>li .join_title {
    margin-left: 3px;
    text-align: left;
    width: 20%;
}

ul.intro-list>li {
    position: relative;
    margin: 0 0 15px 0;
    padding: 0;
    width: 100%;
    height: 45px;
    display: flex;
    align-items: center;
    background: #121c29;
    border: solid 1px #283345;
    border-radius: 15px;
}

ul.intro-list>li>i {
    padding: 0 15px;
    font-size: 18px;
    color: #57d5ff;
    border-right: solid 1px #344358;
}

ul.intro-list>li>input {
    font-size: 20px;
    padding: 0 15px;
    width: 82%;
    background: none;
    border: solid 1px #182033;
}

ul.intro-list>li>input:focus {
    outline: none;
}

ul.intro-list>li>input::placeholder {
    color: #6c758b;
}

ul.intro-list>li>select {
    padding: 0 15px;
    width: 96%;
    height: 45px;
    background: none;
    border: none;
}

ul.intro-list>li>select:invalid {
    color: #6c758b;
}

ul.intro-list>li>select:focus {
    outline: none;
}

ul.intro-list>li>select>option {
    color: #fff;
    background: #1f0a0a;
}

.intro-btns {
    position: relative;
    margin: 0 auto;
    padding: 0;
    width: 400px;
}

.intro-btns>button {
    position: relative;
    margin: 0 0 15px 0;
    padding: 0;
    width: 100%;
    height: 48px;
    font-weight: 600;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);
    border-radius: 25px;
    border: solid 1px #3f4e6b;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.25);
}

.intro-btns>.btn-login {
    background: linear-gradient(180deg, rgba(51, 63, 89, 1.0), rgba(51, 63, 89, 0));
}

.intro-btns>.btn-login>i {
    color: #48c1ee;
}

.intro-btns>.btn-join {
    background: linear-gradient(180deg, #48c1ee, #2156c0);
}

.intro-btns>.btn-join>i {
    color: #1c4b6e;
}

.btn_check {
    margin: 0 5px;
    padding: 5px 15px;
    font-weight: 600;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);
    background: linear-gradient(180deg, #48c1ee, #2156c0);
    border-radius: 25px;
    border: solid 1px #3f4e6b;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.25);
}

@media (hover: hover) and (pointer: fine) {
    .intro-btns>.btn-login:hover {
        background: linear-gradient(180deg, rgba(72, 85, 115, 1.0), rgba(51, 63, 89, 0));
    }

    .intro-btns>.btn-join:hover,
    .btn_check:hover {
        background: linear-gradient(180deg, #67e3ff, #00b9e3);
    }
}


/****************************************************************************************************************************************
팝업 게임
*****************************************************************************************************************************************/
.layer-game {
    position: relative;
    margin: 0 auto;
    padding: 30px 30px;
    width: 1200px;
    text-align: center;
    background: #070d12;
    border-radius: 30px;
    border: solid 1px #1f3566;
    overflow: hidden;
}

.layer-tit {
    padding: 0;
    width: 100%;
    height: 56px;
    line-height: 56px;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    background-image: linear-gradient(45deg, rgba(23, 31, 50, 0.25), rgba(32, 41, 65, 0.9), rgba(23, 31, 50, 0.25));
    border: none;
}

.layer-scroll {
    position: relative;
    width: 100%;
    /*height: auto; 
     max-height: 540px; 
    */
    overflow-x: hidden;
    overflow-y: auto;
}

.layer-scroll::-webkit-scrollbar {
    width: 3px;
    height: 3px;
}

.layer-scroll::-webkit-scrollbar-track {
    background-color: transparent;
}

.layer-scroll::-webkit-scrollbar-thumb {
    border-radius: 3px;
    background-color: #27334d;
}

.layer-scroll::-webkit-scrollbar-button {
    width: 0;
    height: 0;
}

ul.game-card {
    position: relative;
    margin: 20px 0;
    padding: 0;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

ul.game-card>li {
    width: calc(100% / 6 - 10px);
    cursor: pointer;
}

ul.game-card>li>h3 {
    color: #93e5ff;
    font-weight: 500;
}

@media (hover: hover) and (pointer: fine) {
    ul.game-card>li:hover {
        filter: brightness(130%);
    }
}

/****************************************************************************************************************************************
테이블 스타일 01 시작
*****************************************************************************************************************************************/
.list-type {
    position: relative;
    margin: 20px 0;
    width: 100%;
}

.list-type th,
.list-type td {
    padding: 0 15px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    font-size: 13px;
    border: 1px solid #033c66;
}

.list-type th {
    color: #fff;
    background: #05243b;
}

.list-type td {
    background: #02121e;
}

.list-type td.td_cursor {
    text-align: left;
    cursor: pointer;
}

/* view-type */
.view-type {
    position: relative;
    margin: 20px 0;
    width: 100%;
}

/*  write-type*/
.write-type {
    position: relative;
    margin: 20px 0;
    width: 100%;
}

.write-type th,
.write-type td {
    padding: 5px 15px;
    height: 40px;
    line-height: 40px;
    text-align: left;
    font-size: 13px;
    border: 1px solid #033c66;
}

.write-type th {
    width: 15%;
    text-align: center;
    color: #fff;
    background: #05243b;
}

.write-type td {
    background: #02121e;
}

.write-type td>input {
    margin: 0 auto;
    padding: 0 10px;
    line-height: 30px;
    text-align: right;
    font-size: 13px;
    color: #0a0b0d;
    background: #fff;
    border: 1px solid #38383a;
    border-radius: 5px;
}

.write-type td>span,
.write-type td>p,
.write-type td>font {
    display: inline-block;
    font-size: 13px;
}

.write-type td>.lv-icon {
    margin-right: 5px
}

.write-type td>.tb-subject {
    margin: 0 auto;
    padding: 0 25px 0 10px;
    width: 100%;
    height: 30px;
    font-size: 13px;
    font-weight: 500;
    color: #0a0b0d;
    border: 1px solid #38383a;
    border-radius: 5px;
}

.write-type td>textarea {
    margin: 0 auto;
    padding: 20px 20px;
    width: 100%;
    min-height: 310px;
    font-weight: 500;
    color: #0a0b0d;
    background: #fff;
    border: 1px solid #38383a;
    border-radius: 10px
}

.wallet-dl {
    position: relative;
    width: 220px;
    display: inline-flex;
    border: 1px solid #167dd0;
    border-radius: 5px;
    overflow: hidden;
}

.wallet-dl dt,
.wallet-dl dd {
    padding: 0 10px;
    width: 50%;
    line-height: 28px;
    font-size: 13px;
    color: #fff;
}

.wallet-dl dt {
    text-align: center;
    background: #167dd0;
}

.wallet-dl dd {
    text-align: right;
    border-left: 1px solid #167dd0;
}

.refresh-btn {
    margin-left: 5px;
}

.refresh-btn>svg {
    color: #fff;
}

/* money-btns */
ul.money-btns {
    position: relative;
    margin: 0 0 0 10px;
    display: inline-flex;
}

ul.money-btns>li {
    position: relative;
}

ul.money-btns>li>a {
    display: block;
    margin: 0 2px;
    width: 65px;
    line-height: 28px;
    text-align: center;
    font-size: 13px;
    font-weight: 500;
    color: #fff;
    background: #874dee;
    border: 1px solid #9564ed;
    border-radius: 5px;
}

@media (hover: hover) and (pointer: fine) {
    .list-type td.td_cursor:hover {
        text-decoration: underline;
    }

    ul.money-btns>li>a:hover {
        background: #9564ed;
    }
}

/****************************************************************************************************************************************
board-btns 시작
*****************************************************************************************************************************************/
.ask-btn {
    margin-left: 5px;
    padding: 0 14px;
    line-height: 30px;
    font-size: 13px;
    font-weight: 500;
    color: #fff;
    background: #ff5722;
    border: 1px solid #ff5722;
    border-radius: 5px;
}

.board-btn {
    position: relative;
    margin: 40px auto 0 auto;
    padding: 0;
    width: 100%;
    text-align: center;
}

.board-btn>button {
    display: inline-block;
    margin: 0 5px;
    width: 110px;
    line-height: 40px;
    text-align: center;
    font-weight: 500;
    color: #fff;
    border-radius: 5px;
}

.btn-cancel {
    background: #5f5f5f;
}

@media (hover: hover) and (pointer: fine) {
    .ask-btn:hover {
        background: #b73106;
    }

    .btn-cancel:hover {
        background: #7d7d7d;
    }
}

/****************************************************************************************************************************************
미디어쿼리문
*****************************************************************************************************************************************/
@media (max-width: 1200px) {
    .layer-con {
        padding: 0 15px
    }

    .layer-game {
        padding: 30px 10px;
        width: 100%;
    }
}

/* 미디어쿼리문 끝 */


@media (max-width: 992px) {
    ul.game-card>li {
        width: calc(100% / 5 - 10px)
    }
}

/* 미디어쿼리문 끝 */

@media (max-width: 767px) {
    ul.game-card>li {
        width: calc(100% / 4 - 10px)
    }
}

/* 미디어쿼리문 끝 */

@media (max-width: 670px) {
    .layer-game {
        min-width: 330px;
        max-width: 330px;
    }

    .layer-scroll {
        overflow-x: auto;
    }

    .intro-wrap {
        margin: 0;
        padding: 30px 20px;
        width: 100%;
    }

    .intro-form {
        padding: 30px 0;
        background: none;
    }

    ul.intro-list,
    .intro-btns {
        width: 100%;
    }

    ul.game-card>li {
        width: calc(100% / 3 - 10px)
    }

    .list-type th,
    .list-type td {
        padding: 5px 5px;
        line-height: 1.5;
    }

    .write-type th,
    .write-type td {
        padding: 5px 5px;
        line-height: 1.5;
    }

    .write-type td>.desc {
        margin-top: 5px;
    }

    ul.money-btns {
        margin: 5px 0;
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    ul.money-btns>li>a {
        margin: 2px 2px;
    }

}

/* 미디어쿼리문 끝 */

@media (max-width: 500px) {
    .layer-scroll {
        max-height: 470px;
    }

    ul.game-card>li {
        width: calc(100% / 2 - 10px)
    }

    .wallet-dl {
        width: 200px;
    }
}

/* 미디어쿼리문 끝 */




/*-------------------------------------------------------------------------------------*
 *  popup                                                                              *
 *-------------------------------------------------------------------------------------*/
.main_pop_wrap {
    float: left;
    width: 100%;
    height: 85vh;
    background: rgba(0, 0, 0, 0.6);
    position: fixed;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.main_pop_box {
    float: left;
    width: 500px;
    margin: 5px;
    background: black;
    border-radius: 10px;
    overflow: hidden;
}

.main_pop_title {
    float: left;
    width: 100%;
    height: 50px;
    line-height: 50px;
    text-align: left;
    padding: 0 20px;
    background: linear-gradient(45deg, rgba(23, 31, 50, 1), rgba(32, 41, 65, 1), rgba(23, 31, 50, 1));
    position: relative;
}

.main_pop_title img {
    width: 140px;
}

.close_btn_cu {
    color: #d4d4d4;
    font-size: 30px;
    font-weight: 700;
    position: absolute;
    right: 20px;
    transition: all 0.3s;
}

.close_btn_cu i {
    transition: all 0.3s;
    font-size: 20px;
}

.close_btn_cu:hover i {
    transform: rotate(-360deg);
}

.main_pop_con {
    float: left;
    width: 100%;
    min-height: 600px;
    max-height: 600px;
    overflow: hidden;
    overflow-y: auto;
    background: #222c43;
    text-align: center;
    padding: 10px;
    font-family: 'EsaManru';
    font-weight: 500;
    font-size: 14px;
    color: #ffffff;
    line-height: 1.4;
}

.main_pop_con img {
    width: 100%;
}

.main_pop_con::-webkit-scrollbar {
    width: 3px;
    /* 스크롤바의 너비 */
}

.main_pop_con::-webkit-scrollbar-thumb {
    height: 30%;
    /* 스크롤바의 길이 */
    background: rgba(255, 255, 255, 0.1);
    /* 스크롤바의 색상 */
    border-radius: 5px;
}

.main_pop_con::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    /*스크롤바 뒷 배경 색상*/
}

.main_pop_con_title {
    float: left;
    width: 100%;
    margin: 20px 0 10px 0;
    font-family: 'EsaManru';
    font-weight: 500;
    font-size: 18px;
    color: #ffffb0;
}

.main_popup_close {
    float: left;
    width: 100%;
    height: 40px;
    line-height: 40px;
    text-align: center;
}

.main_popup_close button {
    background: linear-gradient(to bottom, #0D1521 5%, #0D1521 70%, #12202F 100%);
    width: 100%;
    height: 40px;
    line-height: 40px;
    display: inline-block;
    text-align: center;
    border-radius: 0px;
    font-family: 'EsaManru';
    font-weight: 500;
    font-size: 14px;
    /*color: #000000;*/
}

.main_popup_close button:hover {
    filter: brightness(120%);
}

@media screen and (max-width:720px) {
    .main_pop_wrap {}

    .main_pop_box {
        position: absolute;
        width: 90%;
        max-width: 500px;
        margin: 0;
    }
}