@charset "UTF-8";
.event-wrap {
    position: relative;
    display: flex;
    background: var(--bg--neu--00-1);
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}
.event-banner,
.event-banner img {
    width: 100%;
}
/* 공통 */
.novel-wrap {
    position: relative;
}
.novel-wrap .novel-cover {
    border-radius: 5px;
    box-sizing: border-box;
    overflow: hidden;
    flex-shrink: 0;
    position: relative;
}
.novel-wrap .novel-cover img {
    width: 100%;
}
.novel-wrap .novel-cover:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 1px solid var(--bor--neu--bk-rgba08);
    border-radius: 5px;
    z-index: 10;
}
.novel-wrap .novel-cover.label_19:before {
    content: '';
    width: 14px;
    height: 14px;
    position: absolute;
    top: 4px;
    right: 4px;
    background-image: url(https://cdn2.munpia.com/asset/img/2nd/Aged19-56.png);
    background-size: 100%;
    background-repeat: no-repeat;
}
.novel-wrap .event-badge-wrap {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 1;
}
.novel-wrap .event-badge {
    background-color: #292929;
    color: #fff;
    z-index: 1;
    height: 24px;
    padding: 0 8px;
    border-radius: 5px 0 4px 0;
    font-size: 12px;
    align-items: center;
    display: inline-flex;
}
.novel-wrap .novel-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    text-align: left;
}
.novel-wrap .novel-genre {
    color: var(--txt--neu--500);
    font-weight: 400;
}
.novel-wrap .novel-title {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: var(--txt--neu--900);
    text-overflow: ellipsis;
    font-weight: 500;
}
.novel-wrap .novel-author {
    color: var(--txt--neu--500);
    font-weight: 400;
}
.novel-wrap .novel-meta-wrap {
    color: var(--txt--neu--500);
    font-weight: 400;
}
.novel-meta {
    display: inline-flex;
    align-items: flex-start;
    gap: 2px;
    flex-direction: row;
}
.novel-meta span {
    flex-shrink: 0;
}
.meta-label {
    margin-right: 1px;
}
.novel-meta .price,
.novel-meta .discount {
    color: var(--txt--sec--orange500);
    display: inline-flex;
    gap: 1px;
}

/* 단일작품형 */
.novel-list.type-single {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    margin: 32px auto;
    max-width: 480px;
    padding: 0 16px;
}
.type-single .novel-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background-color: rgba(255, 255, 255, 0.12);
    overflow: hidden;
    position: relative;
}
.type-single .novel-wrap:hover {
    text-decoration: none;
}
.type-single .novel-cover:after {
    border: 0;
}
.type-single .novel-cover.label_19:before {
    width: 18px;
    height: 18px;
    top: 5px;
    right: 5px;
}
.type-single .novel-cover {
    width: 100%;
    border-radius: 0;
    box-sizing: border-box;
    overflow: hidden;
    flex-shrink: 0;
    position: relative;
}
.type-single .novel-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 100%;
    align-items: center;
    padding: 16px 0px 20px 0px;
}
.type-single .novel-title {
    -webkit-line-clamp: 2;
    color: #f5f5f5;
    font-size: 16px;
    font-weight: 500;
    line-height: 22px;
    text-align: center;
    max-height: 44px;
    padding: 0 20px;
}
.type-single .novel-author {
    font-size: 12px;
    font-weight: 400;
    line-height: 16px;
    color: rgba(245, 245, 245, 0.8);
    padding: 0 20px;
}
.type-single .novel-meta-wrap {
    margin-top: 6px;
    font-size: 12px;
    font-weight: 400;
    line-height: 18px;
    display: flex;
    align-items: center;
    flex-direction: column;
    color: rgba(245, 245, 245, 0.6);
    text-align: center;
    padding: 0 20px;
}
.type-single .novel-meta {
    display: block;
    overflow: hidden;
}
.type-single .novel-meta .price {
    display: inline-flex;
    gap: 1px;
}
/* 리스트형 */
.novel-list-wrap {
    width: 100%;
}
.event-list.type-list {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    padding: 8px 16px;
    gap: 0 16px;
}
.type-list .novel-wrap {
    padding: 10px 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    border-top: 1px solid var(--bor--neu--20-4);
}
.type-list .novel-wrap:first-of-type {
    border-top: 0;
}
.type-list .novel-wrap:hover {
    text-decoration: none;
}
.type-list .novel-wrap .event-badge-wrap {
    top: 10px;
    display: flex;
}
.type-list .novel-wrap .event-badge {
    height: 20px;
    padding: 0 5px;
    border-radius: 5px 0 4px 0;
    font-size: 11px;
}
.type-list .novel-cover {
    width: 62px;
}
.type-list .novel-genre {
    font-size: 12px;
    line-height: 16px;
}
.type-list .novel-title {
    -webkit-line-clamp: 1;
    font-size: 14px;
    line-height: 18px;
}
.type-list .novel-author {
    font-size: 12px;
    line-height: 18px;
}
.type-list .novel-meta-wrap {
    margin-top: 6px;
    font-size: 12px;
    line-height: 16px;
    align-items: center;
    gap: 4px;
}
.type-list .novel-meta-wrap .novel-meta + .novel-meta {
    padding-left: 4px;
}
.type-list .novel-meta-wrap .novel-meta + .novel-meta::before {
    display: inline-block;
    vertical-align: top;
    margin: 3px 4px 0 0;
    width: 1px;
    height: 10px;
    background-color: var(--bor--neu--50-2);
    content: '';
}

/* 캐로셀 형 */
.event-list.type-carousel {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding: 20px 16px;
    gap: 20px 8px;
}
.type-carousel .novel-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}
.type-carousel .novel-wrap:hover {
    text-decoration: none;
}
.type-carousel .novel-cover {
    width: 100%;
}
.type-carousel .novel-cover.label_19:before {
    width: 18px;
    height: 18px;
    top: 5px;
    right: 5px;
}
.novel-cover img {
    width: 100%;
}
.type-carousel .novel-info {
    width: 100%;
}
.type-carousel .novel-genre {
    color: #6c7379;
    font-size: 12px;
    font-weight: 400;
    line-height: 17px;
}
.type-carousel .novel-title {
    -webkit-line-clamp: 2;
    font-size: 14px;
    line-height: 18px;
    height: 36px;
}
.type-carousel .novel-author {
    font-size: 12px;
    line-height: 16px;
}
.type-carousel .novel-meta-wrap {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 6px;
}
.type-carousel .meta-label {
    margin-right: 2px;
}
.type-carousel .novel-meta {
    font-size: 12px;
    line-height: 16px;
    display: block;
}

.bg-color .novel-cover:after {
    border: 1px solid rgba(255, 255, 255, 0.16);
}
.bg-color .novel-title {
    color: #f5f5f5;
}
.bg-color .novel-genre,
.bg-color .novel-author,
.bg-color .novel-meta-wrap {
    color: rgba(245, 245, 245, 0.8);
}
.bg-color .novel-meta .price,
.bg-color .novel-meta .discount {
    color: #ffa46b;
}
.event-footer-wrap {
    width: 100%;
    background-color: var(--bg--neu--00-1);
}
.novel-list-wrap + .event-footer-wrap {
    border-top: 1px solid var(--bor--neu--20-4);
}
.novel-list-wrap.bg-color + .event-footer-wrap {
    border-top: 0;
}
.event-footer {
    display: flex;
    padding: 24px 16px 28px 16px;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
}
.event-footer-wrap .title {
    color: var(--txt--neu--500);
    font-size: 16px;
    font-weight: 500;
    height: 22px;
    display: flex;
    align-items: center;
    gap: 4px;
}
.event-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    justify-content: flex-start;
    font-size: 13px;
    line-height: 17px;
    color: var(--txt--neu--200);
    font-weight: 400;
    text-align: left;
}
.event-info .event-info-title {
    font-weight: 500;
    color: var(--txt--neu--300);
}
@media (min-width: 640px) {
    .event-list.type-carousel {
        grid-template-columns: repeat(5, 1fr);
        max-width: 608px;
        margin: 40px auto;
    }
    .event-footer {
        max-width: 608px;
        margin: 0 auto;
    }
}

.toast {
    overflow: hidden;
    position: fixed;
    bottom: 72px;
    left: 0;
    right: 0;
    z-index: 1001;
    display: flex;
}
.toast > div{
    text-align: center;
    color: #fff;
    background: rgba(0, 0, 0, 0.9);
    border-radius: 6px;
    font-size: 14px;
    min-width: 140px;
    max-width: 320px;
    padding: 10px 14px;
    margin: 0 auto;
    word-break: keep-all;
    box-sizing: border-box;
    display: none;
}

.toast.show {
    visibility: visible;
    opacity: 1;
}

.toast.hide {
    opacity: 0;
}