@charset "utf-8";
.content {
    padding-bottom: 48px;
}

.novel-list-wrap {
    position: relative;
    width: 100%;
    background: var(--bg--neu--00-1);
}

.novel-list-wrap .novel-list .novel {
    padding: 10px 15px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--bor--neu--10-1);
    width: 100%;
    box-sizing: border-box;
}

.novel-list-wrap .novel-list.rank-list .novel {
    padding-left: 0;
}

.novel-list-wrap .novel-list .novel .rank-num-wrap {
    display: flex;
    width: 60px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    text-align: center;
    font-weight: 500;
    word-break: initial;
    flex: 0 0 auto;
    color: var(--txt--neu--900);
}

.novel-list-wrap .novel-list .novel .rank-num-wrap .rank-num {
    color: var(--txt--neu--900);
    text-align: center;
    font-family: 'Noto Sans KR';
    font-size: 15px;
    font-style: normal;
    font-weight: 500;
    line-height: 21px;
}

.novel-list-wrap .novel-list .novel .rank-num-wrap .rank-status-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    align-self: stretch;
    text-align: center;
}

.novel-list-wrap .novel-list .novel .rank-num-wrap .rank-status-wrap .rank-status {
    display: flex;
    height: 16px;
    justify-content: center;
    align-items: center;
    gap: 2px;
    align-self: stretch;
    font-family: 'Noto Sans KR';
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 16px;
}

.novel-list-wrap .novel-list .novel .rank-num-wrap .rank-status-wrap .rank-status svg {
    fill: var(--img--neu100);
}

.novel-list-wrap .novel-list .novel .rank-num-wrap .rank-status-wrap .rank-status.rank-down {
    color: var(--txt--sec--sky500);
}

.novel-list-wrap .novel-list .novel .rank-num-wrap .rank-status-wrap .rank-status.rank-up,
.novel-list-wrap .novel-list .novel .rank-num-wrap .rank-status-wrap .rank-status.rank-new {
    color: var(--txt--sec--red500);
}

.novel-list-wrap .novel-list .novel .rank-num-wrap .rank-status-wrap .rank-status.rank-up svg {
    fill: var(--img--red500);
}

.novel-list-wrap .novel-list .novel .rank-num-wrap .rank-status-wrap .rank-status.rank-down svg {
    fill: var(--img--sky500);
}

.novel-list-wrap .novel-list .novel .rank-num-wrap .rank-status-wrap span {
    color: var(--txt--neu--500);
    text-align: center;
    font-family: 'Noto Sans KR';
    font-size: 10px;
    font-style: normal;
    font-weight: 400;
    line-height: 13px;
}

.novel-list-wrap .novel-list .novel .novel-cover {
    position: relative;
    width: 66px;
    height: 92px;
    margin-right: 10px;
    border-radius: 5px;
    border: 1px solid var(--bor--neu--20-4);
    overflow: hidden;
    box-sizing: border-box;
}

.novel-list-wrap .novel-list .novel .novel-cover img {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
}

.novel-list-wrap .novel-list .novel .novel-info {
    flex: 1 1 0%;
    display: flex;
    flex-direction: column;
    gap: 2px;
    text-align: left;
}

.novel-list-wrap .novel-list .novel .novel-info .top-area {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.novel-list-wrap .novel-list .novel .novel-info .top-area > .left {
    color: var(--txt--neu--300);
    font-size: 12px;
    font-weight: 400;
    line-height: 16px;
}

.novel-list-wrap .novel-list .novel .novel-info .top-area > .right {
    display: flex;
    gap: 2px;
}

.novel-list-wrap .novel-list .novel .novel-info .top-area > .right .badge-contest {
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 34px;
    height: 16px;
    padding-top: 1px;
    border-radius: 3px;
    background: var(--img--con2024-rgba);
    color: var(--img--con2024);
    text-align: center;
    font-family: 'Noto Sans KR';
    font-size: 11px;
    font-style: normal;
    font-weight: 500;
    line-height: 1;
    letter-spacing: -0.33px;
    box-sizing: border-box;
}

.novel-list-wrap .novel-list .novel .novel-info .top-area > .right .badge-sale {
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 27px;
    height: 16px;
    padding: 1px 3px 0px;
    border-radius: 3px;
    background: var(--bg--sec--gold500-rgba);
    color: var(--txt--sec--orange500);
    text-align: center;
    font-family: 'Noto Sans KR';
    font-size: 11px;
    font-style: normal;
    font-weight: 500;
    line-height: 1;
    box-sizing: border-box;
}

.novel-list-wrap .novel-list .novel .novel-info .top-area > .right .badge-rent {
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 24px;
    height: 16px;
    padding-top: 1px;
    border-radius: 3px;
    background: var(--img--neu500-rgba);
    color: var(--img--neu500-2);
    text-align: center;
    font-family: 'Noto Sans KR';
    font-size: 11px;
    font-style: normal;
    font-weight: 500;
    line-height: 1;
    letter-spacing: -0.33px;
    box-sizing: border-box;
}

.novel-list-wrap .novel-list .novel .novel-info .title-area {
    position: relative;
    line-height: 0;
}

.novel-list-wrap .novel-list .novel .novel-info .title-area .badge-up {
    position: absolute;
    left: 0px;
    top: 0px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 19px;
    height: 16px;
    margin-right: 4px;
    padding-top: 1px;
    border-radius: 3px;
    border: 1px solid var(--img--org500-2);
    color: var(--img--org500-2);
    text-align: center;
    font-family: 'Noto Sans KR';
    font-size: 11px;
    font-weight: 500;
    line-height: 17px;
    letter-spacing: -0.44px;
    box-sizing: border-box;
}

.novel-list-wrap .novel-list .novel .novel-info .title-area .badge-up + label {
    text-indent: 23px;
}

.novel-list-wrap .novel-list .novel .novel-info .title-area .badge-finished {
    position: absolute;
    left: 0px;
    top: 0px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 24px;
    height: 16px;
    margin-right: 4px;
    padding-top: 1px;
    border-radius: 3px;
    background: var(--img--neu300-2);
    color: var(--img--neu00-1);
    text-align: center;
    font-family: 'Noto Sans KR';
    font-size: 11px;
    font-style: normal;
    font-weight: 500;
    line-height: 1;
    letter-spacing: -0.33px;
    box-sizing: border-box;
}

.novel-list-wrap .novel-list .novel .novel-info .title-area .badge-finished + label {
    text-indent: 28px;
}

.novel-list-wrap .novel-list .novel .novel-info .title-area label {
    position: relative;
    display: -webkit-inline-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    width: 100%;
    word-break: break-all;
    font-size: 14px;
    font-weight: 400;
    color: var(--txt--neu--900);
    line-height: 17px;
    text-overflow: ellipsis;
    overflow: hidden;
}

.novel-list-wrap .novel-list .novel .novel-info .novel-author {
    font-size: 12px;
    color: var(--txt--neu--300);
    font-weight: 400;
    line-height: 16px;
    margin-bottom: 2px;
}

.novel-list-wrap .novel-list .novel .novel-info .novel-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.novel-list-wrap .novel-list .novel .novel-info .novel-stats > .left {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0px 5px;
    color: var(--txt--neu--300);
    font-size: 12px;
    font-weight: 400;
    line-height: 16px;
}

.novel-list-wrap .novel-list .novel .novel-info .novel-stats > .left .divider {
    width: 1px;
    height: 10px;
    background: var(--bg--neu--50-2);
}

.novel-list-wrap .novel-list .novel .novel-info .novel-stats > .right {
    flex: 1 1 0%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.novel-list-wrap .novel-list .novel .novel-info .novel-stats > .right .novel-event-link {
    display: flex;
    align-items: center;
    width: 68px;
    height: 16px;
    font-size: 12px;
    font-weight: 400;
    line-height: 1;
    color: var(--txt-pri-6001);
    cursor: pointer;
}

.tabs-wrap {
    position: sticky;
    z-index: 10;
    background: var(--bg--neu--00-1);
    top: 46px;
}

.first-tabs {
    display: flex;
    width: 100%;
    height: 44px;
    padding: 0px;
    border-bottom: 1px solid var(--bor--neu--10-1);
    position: sticky;
    z-index: 10;
    background: var(--bg--neu--00-1);
}

.first-tabs.scroll {
    overflow: hidden;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    text-align: left;
    position: relative;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.first-tabs.scroll::-webkit-scrollbar {
    display: none;
}

.first-tabs .tab {
    flex: 1 1 0%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    height: 44px;
    font-family: 'Noto Sans KR';
    font-size: 15px;
    font-weight: 400;
    line-height: 1;
    color: var(--txt--neu--300);
    white-space: nowrap;
    border-bottom: 2px solid transparent;
    box-sizing: border-box;
    min-width: 62px;
}

.first-tabs .tab span {
    margin-top: 2px;
}

.first-tabs.scroll .tab.w-90 {
    min-width: 90px;
}

.first-tabs .tab.active {
    font-weight: 500;
    color: var(--txt--pri--500);
    border-color: var(--bor--pri--500);
}

.sub-tabs {
    display: flex;
    width: 100%;
    height: 40px;
    padding: 0px 10px;
    border-bottom: 1px solid var(--bor--neu--10-1);
    box-sizing: border-box;
    background: var(--bg--neu--00-1);
}

.sub-tabs .tab {
    flex: 1 1 0%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    height: 40px;
    font-family: 'Noto Sans KR';
    font-size: 14px;
    font-weight: 400;
    line-height: 1;
    color: var(--txt--neu--300);
    white-space: nowrap;
}

.sub-tabs.genre .tab {
    min-width: 47px;
}

.sub-tabs.genre .tab.newfantasy,
.sub-tabs.genre .tab.history {
    min-width: 73px;
}

.sub-tabs .tab.active {
    font-weight: 500;
    color: var(--txt--neu--900);
}

.badge-wrap {
    display: inline-block;
    width: 14px;
    height: 14px;
}

.badge-wrap svg {
    width: 14px;
    height: 14px;
}

.badge-wrap div {
    display: flex;
    align-items: center;
    width: 14px;
    height: 14px;
}

.novel-list-wrap .novel-list .novel .novel-cover .badge-19 {
    position: absolute;
    top: 3px;
    right: 3px;
    z-index: 1;
}

.tooltip-wrap {
    display: flex;
    height: 44px;
    padding: 15px 15px 0 15px;
    align-items: flex-start;
    gap: 4px;
    align-self: stretch;
    box-sizing: border-box;
}

.tooltip-label {
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--txt--neu--300);
    text-align: center;
    font-family: 'Noto Sans KR';
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 18px; /* 128.571% */
    position: relative;
}

.tooltip-btn {
    padding: 0;
    margin: 0;
    width: 16px;
    height: 16px;
}

.tooltip-btn svg {
    fill: var(--img--neu50-2);
}

.tooltip {
    position: absolute;
    width: 300px;
    top: 25px;
    left: 0;
    z-index: 201;
    padding: 16px 12px 18px 16px;
    border: 1px solid var(--bor--neu--20-4);
    background: var(--bg--neu--00-4);
    box-sizing: border-box;
    border-radius: 6px;
    line-height: normal;
    font-size: 13px;
    display: none;
    gap: 14px;
    align-items: flex-start;
    flex-direction: column;
    box-shadow: 0px 0px 6px 2px rgba(0, 0, 0, 0.05);
}

.tooltip > div {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: var(--txt--neu--500);
    font-weight: 500;
    height: 20px;
}

.tooltip button.tooltip-close {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 0;
    padding: 0;
    background-color: transparent;
}

.tooltip button.tooltip-close svg {
    stroke: var(--img--always-neu300);
}

.tooltip ul {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding-inline-start: 9px;
    margin-block: 0px;
    margin: 0;
}

.tooltip li {
    color: var(--txt--neu--500);
    text-align: left;
    font-size: 13px;
    font-weight: 400;
    line-height: 17px;
    position: relative;
    list-style-type: '- ';
}

.tooltip-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 200;
    display: none;
    background: transparent;
}

.pagination {
    height: 64px;
    position: relative;
    color: var(--txt--neu--300);
    text-align: center;
    font-size: 15px;
    align-items: center;
    justify-content: center;
    display: flex;
}

.pagination a {
    width: 36px;
    height: 36px;
    display: flex;
    position: absolute;
    top: 14px;
    cursor: pointer;
    background-color: var(--bg--neu--00-4);
    -webkit-border-radius: 6px;
    border-radius: 6px;
    box-sizing: border-box;
    border: 1px solid var(--bor--neu--20-4);
    align-items: center;
    justify-content: center;
}

.pagination a svg {
    stroke: var(--img--neu300);
}

.pagination a.disabled {
    pointer-events: none;
}

.pagination a.disabled svg {
    stroke: var(--img--neu40-1);
}

.pagination a.first {
    left: 14px;
}

.pagination a.prev {
    left: 55px;
}

.pagination a.next {
    right: 55px;
}

.pagination a.last {
    right: 14px;
}

.pagination > div {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2px;
    color: var(--txt--neu--300);
    font-size: 15px;
    line-height: 21px;
}

.pagination .current-page {
    font-weight: 500;
    color: var(--txt--pri--500);
}

.filter-wrap {
    display: flex;
    padding: 15px 15px 11px;
    align-items: center;
    gap: 12px;
    align-self: stretch;
}

.dropdown-wrap {
    position: relative;
}

.dropdown {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 400;
    line-height: 18px;
    color: var(--txt--neu--500);
}

.dropdown .arrow-icon {
    width: 14px;
    height: 14px;
    transition: transform 0s; /* 애니메이션 없음 */
}

.dropdown .arrow-icon {
    stroke: var(--img--neu500);
}

.dropdown.open .arrow-icon {
    transform: rotate(180deg);
}

.options-wrap {
    position: absolute;
    top: 27px;
    left: -3px;
    display: none;
    flex-direction: column;
    z-index: 10;
    width: max-content; /* 내용이 길면 그에 맞게 자동 확장 */
    white-space: nowrap;
    border-radius: 8px;
    border: 1px solid var(--bor--neu--20-4);
    background: var(--bg--neu--00-4);
    box-shadow: 0 0 6px 2px rgba(0, 0, 0, 0.06);
    padding: 8px 10px;
    align-items: flex-start;
    max-height: 240px;
    overflow: scroll;
    z-index: 1;
    scrollbar-width: none;
    box-sizing: border-box;
}

.options-wrap .option-item {
    padding: 0 12px;
    height: 41px;
    min-height: 41px;
    cursor: pointer;
    border-radius: 6px;
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
    line-height: 21px;
    color: var(--txt--neu--500);
    line-height: 18px;
    width: 100%;
    text-align: left;
    box-sizing: border-box;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 10px;
    align-self: stretch;
    display: flex;
    background: var(--bg--neu--00-4);
}

.options-wrap .option-item.selected {
    background: var(--bg--pri--30-2);
    color: var(--txt--neu--900);
}

.options-wrap.show {
    display: flex;
}

.empty {
    display: flex;
    width: 100%;
    box-sizing: border-box;
    height: 360px;
    padding: 0 0 4px 0;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--txt--neu--300);
    text-align: center;
    font-size: 14px;
    font-weight: 400;
    line-height: 17px;
}

@media screen and (max-width: 344px) {
    .sub-tabs {
        overflow: hidden;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x proximity;
        text-align: left;
        position: relative;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    .sub-tabs::-webkit-scrollbar {
        display: none;
    }
}

@media screen and (max-width: 375px) {
    .first-tabs {
        overflow: hidden;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x proximity;
        text-align: left;
        position: relative;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    .first-tabs::-webkit-scrollbar {
        display: none;
    }
}
