xmp,pre{
    max-width: 100%;
    white-space: pre-wrap;
    font-weight: inherit !important;
    font-size: inherit !important;
    font-family: inherit !important;
    line-height: inherit !important;
}

textarea{
    font-weight: inherit !important;
    font-size: inherit !important;
    font-family: inherit !important;
    line-height: inherit !important;
}
.layered-popup {
    display:none;
    position: absolute;
    width:400px;
    z-index: 8;
    top:70px;
    font-size:20px;
    padding-left:5px;
    padding-right:5px;
}
.popup-wrap {
    position: absolute;
    width: 100%;
    text-align: center;
}
.popup-inner{
    position: relative;
    width: 1460px;
    display: inline-block;
}
.layered-popup img {
    width: 100%;
    border: 1px solid black;
    float: left;
    /*height: 340px;*/
}
.layered-popup .button_area{
    text-align: center;
}
.layered-popup .button_area .button{
    background-color: #B69F6D;
    color: white;
    display: inline-block;
    width: 50%;
    float: left;
    font-size: 13px;
    padding: 8px 12px;
    cursor: pointer;
}
.layered-popup .button_area .button:nth-child(1){
    border-right: 1px solid black;
}
.text-tiny{
    font-size: 0.7em !important;
}
.text-small{
    font-size: 0.85em !important;
}
.text-big{
    font-size: 1.4em !important;
}
.text-huge{
    font-size: 1.8em !important;
}
input[type="password"],
input[type="email"]{
    border: 1px solid #ececec;
    padding: 10px;
    height: 55px;
    line-height: 55px;
    border-radius: 10px;
}
.joinPage div.bd-box:has(input[type=text]:read-only),
.joinPage input[type=text]:read-only{
    background-color: #ececec;
}
button:disabled{
    background-color: #D9D9D9 !important;
}
.category-list .search-box input{
    width: calc(100% - 50px);
}
.book-detail .sec-1 .box-1 > .flexBox{
    align-items: stretch;
}
.manhwa-show-box{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.manhwa-show-box .btn{
    padding: 8px 20px;
    height: auto;
    line-height: unset;
}

.flexBox.align-right{-webkit-box-align: end; -ms-flex-align: end; align-items: flex-end;justify-content: flex-end;}
.joinPage .btn-check-eye.on{
    width: 17px;
    height: 17px;
    background: url("../images/sub/btn-check-eye-black.svg") no-repeat center center;
}
.ntc-txt.ok{
    color: var(--primary);
    background: url(../images/sub/ntc-green.svg) no-repeat left center;
    background-size: 15px;
}

.epub-gnb {
    display: flex;
    gap: 20px;
}
.epub-gnb a {
    display: flex;
    align-items: center;
    font-weight: 600;
    gap: 6px;
}

.book-detail .sec-1 .img {
    width: 100%;
    max-width: 440px;
}

.sec-1 .info {
    width: calc(100% - 440px);
}

.badge-wrap {
    display: flex;
    gap: 0 6px;
}

.book-detail .badge {
    font-size: 16px;
    line-height: 1;
    padding: 8px 12px;
}

.ebook-detail-title h2 {
    margin-top: 22px;
    margin-bottom: 16px;
    line-height: 1;
    font-size: 30px;
}

.book-detail .sec-1 .tag li {
    border-radius: 5px;
    padding: 6px 12px;
    line-height: 1;
    font-size: 14px;
}

.book-detail .sec-1 .box-2 {
    margin-top: 32px;
}

.book-detail .sec-1 .box-2 .white {
    margin-bottom: 28px;
}

.book-detail .sec-1 .box-2 .bd-box button {
    border-radius: 0 0 10px 10px;
    text-decoration: none;
}

.book-detail .sec-1 .box-2 .bd-box button span {
    text-decoration: none;
}

.like-btn {
    display: flex;
    gap: 0 10px;
}

.like-btn span {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    gap: 0 10px;
    background: none;
}

.like-btn span:before {
    content: '';
    width: 16px;
    height: 16px;
    display: block;
    background: url(../images/sub/like-btn-off.svg) no-repeat center center;
    background-size: 16px;
}

.like-btn.on span:before {
    background: url(../images/sub/like-btn-on.svg) no-repeat center center;
    background-size: 16px;
}

.cmt-wrap .bottom .rp-btn {
    line-height: 1;
    display: flex;
    align-items: center;
    gap: 0 5px;
}

.ebook-detail-content.open {
    max-height: max-content !important;
}
.ebook-detail-content img {
    max-width: 100%;
}

.manhwa-show-box .share {
    border: 1px solid #EDEDED;
    border-radius: 50%;
}

@media only screen and (max-width: 1024px){
    .layered-popup{
        left: unset !important;
        right: 50px !important;
        top: 80px !important;
    }
    .popup-wrap{
        width: 100%;
    }
    .popup-inner{
        width: 100%;
    }
    .pop-img-wrap{
        height: 200px;
    }
}

@media only screen and (max-width: 768px){
    .layered-popup{
        left:0px!important;
        top:66px!important;
        width: 100% !important;
        padding:0px!important;
    }
    .layered-popup img{
        width: 100%;
        /*height: 100vw;*/
    }
}

.new-area .new-swiper .swiper-slide {
    padding: 0;
}

.thumb-container {
    position: relative;
}

.thumb-container .thumb-wrapper {
    position: relative;
    width: 136px;
    height: 136px;
    background-color: rgb(247, 248, 250);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
}

.rank-area .rank-swiper .swiper-slide .thumb-wrapper,
.new-area .new-swiper .swiper-slide .thumb-wrapper {
    display: flex;
    box-sizing: border-box;
    flex-direction: column;
    width: 100%;
    padding: 8px 8px 40px;
    height: 224px;
    &:hover {
        transition: 0.3s ease-in-out;
        background-color: rgb(240, 241, 245);
    }
}

.new-area .new-swiper .swiper-slide{
    overflow: hidden;
    border-radius: 10px;
}

.new-area .new-swiper .swiper-slide a  {
    width: 100%;
}

.rank-area .rank-swiper .swiper-slide .thumb-wrapper .img,
.new-area .new-swiper .swiper-slide .thumb-wrapper .img {
    display: flex;
    justify-content: center;
    align-items: center;
    border: 0;
}

.rank-area .swiper-slide .img img,
.new-area .new-swiper .swiper-slide .thumb-wrapper img {
    width: 122px !important;
    height: auto !important;
}

.thumb-wrapper img {
    box-shadow: rgba(28, 31, 46, 0.06) 3px 3px 12px 0px;
    border-radius: 2px;
}

.thumb-container .preview-btn {
    bottom: 8px;
    left: 8px;
    right: 8px;
    width: auto;
    text-align: center;
}

.preview-btn {
    position: absolute;
    bottom: 0;
    border-radius: 4px;
    border: 1px solid rgb(202, 206, 224);
    background-color: rgb(255, 255, 255);
    color: #6a708a;
    font-size: 14px;
    font-weight: 600;
    line-height: 22px;
    text-align: center;
    padding: 4px 12px;
    cursor: pointer;
}

.today-swiper .tbox .top h4 {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: calc(100% - 40px);
}

.pagination .num {
    display: flex;
}