@charset "utf-8";
@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable.min.css');
.pc-best-wrap {
    width: 770px;
    margin-top: 10px;
    display: flex;
    gap: 20px;
    font-family: 'Noto Sans KR';
    align-items: flex-start;
}
.best-nav {
    width: 140px;
    border-radius: 1px;
    border: 1px solid #ebebeb;
    height: auto;
    box-sizing: border-box;
    background: #fff;
}
.best-nav-btn {
    border-bottom: 1px solid var(--neu--20);
}

.best-nav-btn .btn-label {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    height: 40px;
    padding-left: 14px;
    font-size: 14px;
    font-weight: 500;
    background: var(--neu--00);
    border: 0;
    width: 100%;
    color: var(--neu--900);
}
.best-nav-btn .btn-label:hover {
    background: #f5f5f5;
}
.best-nav-btn:last-of-type {
    border-bottom: 0;
}
.best-nav-btn .arrow {
    width: 11px;
    height: 11px;
    background-image: url('../../images/best/icon11-chevrondown.svg');
    position: absolute;
    top: 14px;
    right: 14px;
}
.best-nav-btn .btn-label .arrow.active {
    transform: rotate(-180deg);
    -webkit-transform: rotate(-180deg);
}
.sub-nav {
    padding: 0 14px 8px 14px;
    display: none;
}
.active .sub-nav {
    display: block;
}
.sub-nav a {
    color: var(--neu--500);
    font-size: 12px;
    display: flex;
    padding: 10px 0;
    text-align: left;
    letter-spacing: -0.1px;
}
.sub-nav a:hover,
.sub-nav a:focus,
.sub-nav a:active {
    color: var(--pri--500);
    text-decoration: none;
}
.sub-nav a.active {
    font-weight: 500;
    color: var(--pri--500);
}
.best-content {
    width: 610px;
}
.best-header {
    width: 100%;
    display: flex;
    gap: 4px;
    height: 30px;
    align-items: center;
    color: var(--neu--900);
    font-size: 20px;
    font-weight: 500;
}
.best-header span {
    position: relative;
}
.best-info-wrap {
    width: 100%;
    display: flex;
    height: 30px;
    align-items: center;
    justify-content: space-between;
    font-size: 14px;
    color: var(--neu--500);
    padding: 5px 0;
    margin: 0 0 20px 0;
}
.best-view-type {
    display: flex;
    gap: 8px;
}
.best-view-type button {
    border: 0;
    background-color: transparent;
    width: 24px;
    height: 24px;
    background-image: url('../../images/best/sprite-best-viewtype.svg');
    background-repeat: no-repeat;
}
.best-view-type button.type-list-btn {
    background-position: -34px 0;
}
.best-view-type button.type-list-btn:hover,
.best-view-type button.type-list-btn.active {
    background-position: 0 0;
}
.best-view-type button.type-grid-btn {
    background-position: -102px 0;
}
.best-view-type button.type-grid-btn:hover,
.best-view-type button.type-grid-btn.active {
    background-position: -68px 0;
}
.best-content-wrap {
    display: flex;
    gap: 32px;
    flex-direction: column;
}
/* top3 */
.novel-top3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    width: 100%;
}
.novel-top3 .contest {
    padding: 3px 8px;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 3;
    color: #fff;
    border-radius: 4px 0;
    background: #2882f5;
    font-size: 11px;
    font-weight: 500;
    line-height: 17px;
}
.novel-top3 .badge-19 {
    position: absolute;
    right: 8px;
    top: 8px;
    z-index: 3;
}
.novel-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    position: relative;
}

.novel-wrap:hover,
.novel-wrap:focus {
    text-decoration: none;
    outline: none;
}
.novel-cover {
    width: 100%;
    border-radius: 4px;
    box-sizing: border-box;
    overflow: hidden;
    flex-shrink: 0;
    position: relative;
}

.cover-badge-wrap {
    position: relative;
}
.novel-cover img {
    width: 100%;
    transition: 0.3s cubic-bezier(0.15, 0, 0.2, 1);
    margin: 0 auto;
}
.novel-top3 a:hover .novel-cover img,
.best-rank-grid a:hover .novel-cover img {
    transform: scale(1.04);
}
.novel-top3 a:hover,
.best-rank-grid a:hover {
    text-decoration: none;
}
.top3-rank {
    position: absolute;
    width: 95px;
    height: 48px;
    background-image: url("data:image/svg+xml,%3Csvg width='95' height='48' viewBox='0 0 95 48' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 48L95 0V48H0Z' fill='%23121212'/%3E%3C/svg%3E%0A");
    right: 0;
    bottom: 0;
    z-index: 2;
    border-radius: 0 0 6px 0;
}
.top3-rank > div {
    position: absolute;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    right: 10px;
    bottom: 8px;
}
.top3-rank .month {
    font-size: 34px;
    line-height: 1;
    position: absolute;
    right: 19px;
    bottom: -2px;
    font-family: 'Pretendard Variable';
}
.top3-rank span.outline {
    font-size: 34px;
    position: absolute;
    left: 0px;
    top: 0;
    -webkit-text-stroke: 5px #121212;
    z-index: -1;
}
.novel-cover:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 1px solid rgba(0, 0, 0, 0.16);
    border-radius: 4px;
    z-index: 10;
}
.cover-badge-wrap {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.cover-badge-wrap svg {
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: 1;
    display: block;
}
.novel-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    width: 100%;
    align-items: flex-start;
    text-align: left;
}
.novel-title {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    color: #121212;
    text-overflow: ellipsis;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 22px;
    text-align: left;
    height: 44px;
    word-break: break-all;
}
.novel-author {
    font-size: 13px;
    font-weight: 400;
    line-height: 18px;
    color: #454545;
    margin-top: 2px;
}
.novel-genre {
    font-size: 12px;
    font-weight: 400;
    line-height: 17px;
    color: #757575;
}
.novel-meta-wrap {
    margin-top: 6px;
    font-size: 12px;
    font-weight: 400;
    line-height: 18px;
    display: flex;
    align-items: flex-start;
    flex-direction: row;
    color: #757575;
}
.novel-meta {
    display: inline-flex;
    align-items: flex-start;
    gap: 2px;
    flex-direction: row;
}
.novel-meta-wrap .novel-meta + .novel-meta {
    padding-left: 16px;
}
.novel-meta-wrap .novel-meta + .novel-meta::before {
    display: inline-block;
    vertical-align: top;
    margin: 4px 0 0 -8px;
    width: 1px;
    height: 10px;
    background-color: rgba(0, 0, 0, 0.1);
    content: '';
    position: absolute;
}
.novel-meta span {
    font-weight: 500;
}
/* 베스트 리스트 */
.best-rank-list {
    width: 100%;
}
.best-rank-list a {
    display: flex;
    height: 48px;
    align-items: center;
    justify-content: flex-start;
    color: #454545;
    gap: 4px;
    padding: 0 10px;
    border-bottom: 1px solid #ebebeb;
    background: var(--neu--00);
}

.best-rank-list a:hover,
.best-rank-list a:focus {
    text-decoration: none;
    outline: none;
}
.best-rank-list .title-wrap:hover {
    text-decoration: underline;
}
.best-rank-list .index {
    border-top: 1px solid var(--neu--20);
    background-color: var(--neu--10);
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    color: var(--neu--900);
    gap: 4px;
    padding: 0 10px;
    border-bottom: 1px solid var(--neu--20);
}
.best-rank-list .index > div {
    text-align: center;
    font-size: 12px !important;
    color: #000 !important;
    font-weight: 400 !important;
    justify-content: center;
}
.best-rank-list .num {
    width: 30px;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    color: var(--neu--900);
    font-family: 'Pretendard Variable';
    flex-shrink: 0;
}
.best-rank-list .title {
    width: 240px;
    color: var(--neu--900);
    display: flex;
    align-items: center;
    gap: 2px;
    margin-left: 6px;
    word-break: break-all;
    font-size: 14px;
    flex-shrink: 0;
}

.best-rank-list.column-5 .title {
    width: 294px;
}
.best-rank-list .title .contest {
    color: #2882f5;
    flex-shrink: 0;
}
.best-rank-list .title .contest + .badge-19 {
    margin-left: 4px;
}
.best-rank-list .title .contest + .title-wrap {
    margin-left: 4px;
}
.best-rank-list.row5 li .title {
    width: 294px;
}
.best-rank-list .title .title-wrap {
    font-size: 14px;
    font-weight: 500;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    color: #121212;
}
.best-rank-list .author {
    width: 80px;
    font-size: 12px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    text-align: center;
    color: var(--neu--500);
    flex-shrink: 0;
}
.best-rank-list .genre {
    width: 100px;
    font-size: 12px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    text-align: left;
    color: var(--neu--500);
}
.best-rank-list .time {
    width: 50px;
    font-size: 12px;
    text-align: center;
}
.best-rank-list .view-count {
    width: 70px;
    font-size: 12px;
    text-align: center;
    color: var(--neu--500);
}
.best-top-btn {
    padding: 10px 15px;
    display: block;
    border-radius: 5px;
    border: 1px solid var(--neu--50);
    background: var(--neu--00);
    color: var(--neu--500);
    font-size: 15px;
    text-align: center;
}
.best-top-btn:hover {
    color: #555;
    text-decoration: none;
    background: #f8f8f8;
}
.best-rank-list.contest div {
    flex-shrink: 0;
    box-sizing: border-box;
    padding: 0 10px;
}
.best-rank-list.contest a {
    gap: 0;
    padding: 0;
}
.best-rank-list.contest .index {
    padding: 0;
    gap: 0;
}
.best-rank-list.contest .num {
    width: 54px;
}
.best-rank-list.contest .author {
    width: 80px;
}
.best-rank-list.contest.no-percent .title {
    width: 268px;
}
.best-rank-list.contest .title {
    width: 204px;
    margin: 0;
}
.best-rank-list.contest .genre {
    width: 100px;
}
.best-rank-list.contest .index .genre {
    padding: 0 20px 0 0;
}
.best-rank-list.contest .view-count {
    width: 54px;
}
.best-rank-list.contest .rank-changes {
    width: 54px !important;
    display: flex;
    align-items: center;
    gap: 4px;
    justify-content: center;
    color: var(--neu--500);
}
.best-rank-list.contest .percent {
    width: 64px;
    font-size: 12px;
    text-align: center;
}
.best-rank-list.contest .rank-changes .new {
    color: var(--sec--orange--500);
}
/* 베스트 그리드 */
.best-rank-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 32px 20px;
}
.best-rank-grid .rank-num {
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 4px 0;
    background-color: #454545;
    color: #fff;
    z-index: 3;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: bold;
    font-family: 'Pretendard Variable';
}
.best-rank-grid .novel-wrap {
    gap: 4px;
}
.best-rank-grid .novel-cover {
    border-radius: 4px;
}
.best-rank-grid .badge-19 {
    position: absolute;
    right: 6px;
    top: 6px;
    z-index: 3;
}
.best-rank-grid .novel-genre {
    font-size: 11px;
    line-height: 16px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
    text-overflow: ellipsis;
}
.best-rank-grid .novel-title {
    font-size: 13px;
    line-height: 18px;
    height: 36px;
}
.best-rank-grid .novel-title .contest {
    color: #2882f5;
    margin-right: 3px;
}

.best-rank-grid .novel-author {
    font-size: 11px;
    line-height: 16px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-all;
    display: -webkit-box;
}
.best-tab {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    background: #fff;
    border-bottom: 1px solid #ebebeb;
}
.best-tab.grid-5 {
    grid-template-columns: repeat(5, 1fr);
}
.best-tab.grid-2 {
    grid-template-columns: repeat(2, 1fr);
    width: 400px;
}

.best-tab a {
    text-align: center;
    height: 40px;
    box-sizing: border-box;
    border: 1px solid #ebebeb;
    line-height: 40px;
    margin: 0 -1px -1px 0;
    color: #121212;
    line-height: 39px;
}
.best-tab a.on {
    font-weight: 500;
}
.best-tab a.on,
.best-tab a:hover {
    border: 1px solid #3082fe;
    z-index: 3;
    color: #3082fe;
    text-decoration: none;
}
.best-tab a:active,
.best-tab a:focus {
    text-decoration: none;
}
/* 툴팁 */
.tooltip {
    position: absolute;
    width: 300px;
    top: 5px;
    left: 26px;
    z-index: 11;
    padding: 16px 38px 16px 16px;
    background-color: #fff;
    border: 1px solid #dbdbdb;
    box-sizing: border-box;
    border-radius: 6px;
    line-height: normal;
    font-size: 13px;
    display: none;
}
.tooltip .tooltip-close {
    display: inline-block;
    position: absolute;
    top: 17px;
    right: 13px;
    width: 16px;
    height: 16px;
    background-image: url('../../images/best/icon20-close.svg');
    background-size: 100%;
}
.tooltip p {
    margin-top: 8px;
    color: #555;
    font-size: 13px;
    font-weight: 400;
}
.tooltip p:first-of-type {
    margin: 0;
}
.empty {
    display: flex;
    height: 480px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #888;
    font-size: 14px;
}

.best-rank-list .index div:last-of-type,
.best-rank-list a > div:last-of-type {
    width: 70px;
}