﻿#notice-detail-page {
    background-color: var(--bg-color-sub);
}

.lnw-notice+.lnw-notice {
    margin-top: 2rem;
}

.lnw-notice.emptbox {
    display: flex;
    justify-content: center;
    align-items: center;
}

.lnw-notice.emptbox p {
    color: #717375;
    text-align: center;
    display: block;
    font-size: 1.2rem;
}

.lnw-notice .notice-header {
    margin-bottom: .5rem;
    padding-bottom: .5rem;
    border-bottom: 1px solid var(--border-color-4);
}

.lnw-notice .notice-header h3 {
    font-size: .925rem;
    font-weight: 600;
}

.lnw-notice .notice-header span {
    font-size: .75rem;
}

.lnw-notice .notice-content {
    font-size: .875rem;
    position: relative;
    max-height: 15rem;
    overflow: hidden;
}

.lnw-notice .notice-content ul {
    list-style-type: disc;
    margin-block-start: 1em;
    margin-block-end: 1em;
    padding-inline-start: 40px;
}

.lnw-notice .notice-content ul li {
    list-style-type: disc;
    margin-bottom: 1em;
}

.lnw-notice .notice-content p {
    margin-bottom: 1rem;
}

.lnw-notice .notice-content .fade {
    position: absolute;
    bottom: 0;
    display: block;
    height: 4rem;
    width: 100%;
    background: linear-gradient(to bottom, transparent 0%, var(--fade) 20%, var(--bg-color-2) 90%);
}

.notice-page-body {
    display: flex;
    flex-direction: column;
    padding: 0;
}

.notice-page-body .notice-list {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.notice-page-body .new-novels {
    margin-top: 1rem;
}

.notice-page-body .new-novels h2 {
    font-size: 1.2rem;
    margin-top: 0;
    margin-bottom: 14px;
    padding-bottom: 6px;
    border-bottom: 2px solid #d3d5d7;
}

.notice-page-body .notice-comments {
    padding: 16px 13px;
    background-color: var(--bg-color-2);
}

.notice-page-body .notice-comments h3 {
    font-weight: 600;
    padding-bottom: 14px;
    border-bottom: 1px solid #d3d5d7;
    font-size: 1.2rem;
    border-color: var(--border-color-2);
}

.notice-page-body .notice-comments .comment-list {
    background-color: transparent;
    padding: 0;
    min-height: 300px;
}

.notice-page-body .notice-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    border-top: 1px solid var(--border-color-4);
    padding-top: .5rem;
}

.notice-page-body .notice-footer .stats {
    display: flex;
}

.notice-page-body .notice-footer .stats>span {
    display: block;
    background-color: var(--bg-color-5);
    color: var(--text-color);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: .825rem;
    font-weight: 600;
}

.notice-page-body .notice-footer .stats>span+span {
    margin-left: 12px;
}

.notice-page-body .notice-footer .stats>span i {
    font-size: 1rem;
    line-height: 1;
}

.notice-page-body .notice-footer .notice-btn {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: .825rem;
    height: auto;
    text-transform: capitalize;
}

.notice-page-body .notice-footer .notice-btn+.notice-btn {
    margin-left: 10px;
}

.notice-page-body .notice-footer .notice-btn.voted {
    background-color: var(--button-secondary);
    color: #d7d7d7;
}

.notice-page-body .notice-footer .notice-btn i {
    font-size: 1rem;
    line-height: 1;
    margin-right: .3rem;
}

.notice-detail {
    padding: 5%;
    background-color: #fff;
    -webkit-box-shadow: none;
    box-shadow: none;
    background-color: var(--bg-color);
}

.notice-detail header {
    margin-bottom: 1rem;
    padding-bottom: .8rem;
    border-bottom: 1px solid var(--border-color-4);
    display: flex;
    flex-direction: column;
}

.notice-detail header h1 {
    margin: 0;
    font-size: 1rem;
}

.notice-detail header span {
    font-size: .875rem;
}

.notice-detail .notice-content {
    font-size: .875rem;
}

.notice-detail .notice-content p {
    margin-bottom: 16px;
}

.notice-detail .notice-content ul {
    list-style-type: disc;
    margin-block-start: 1em;
    margin-block-end: 1em;
    padding-inline-start: 40px;
}

.notice-detail .notice-content ul li {
    list-style-type: disc;
    margin-bottom: 1em;
}

@media screen and (min-width:768px) {
    #notice-detail-page {
        background-color: var(--bg-color);
    }

    .notice-page-body .new-novels h2 {
        font-size: 20px;
        margin-top: 0;
        margin-bottom: 14px;
        padding-bottom: 6px;
        border-bottom: 2px solid #d3d5d7;
    }

    .notice-page-body .new-novels .novel-list.horizontal .novel-item .cover-wrap {
        width: 11%;
    }

    .notice-page-body .notice-comments {
        padding: 16px 5%;
    }

    .notice-page-body .notice-comments h3 {
        border-bottom: 0;
        font-size: 22px;
    }

    .notice-page-body .notice-comments .comment-list {
        background-color: transparent;
        padding: 0;
        min-height: 300px;
    }

    .notice-page-body .notice-footer {
        display: flex;
        flex-wrap: nowrap;
        justify-content: space-between;
        padding-top: 16px;
    }

    .notice-page-body .notice-footer .stats {
        width: auto;
        display: flex;
        justify-content: flex-start;
    }

    .notice-page-body .notice-footer .stats+.stats {
        margin: 0;
    }

    .notice-page-body .notice-footer .stats>span {
        display: block;
        padding: 6px 10px;
        border-radius: 4px;
        font-size: 14px;
        font-weight: 600;
    }

    .notice-page-body .notice-footer .stats>span+span {
        margin-left: 16px;
    }

    .notice-page-body .notice-footer .stats>span i {
        font-size: 16px;
    }

    .notice-page-body .notice-footer .notice-btn {
        padding: 6px 10px;
        border-radius: 4px;
        font-size: 14px;
    }

    .notice-page-body .notice-footer .notice-btn+.notice-btn {
        margin-left: 16px;
    }

    .lnw-notice.emptbox {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .lnw-notice.emptbox p {
        text-align: center;
        width: 50%;
        display: block;
        font-size: 1.4rem;
    }

    .lnw-notice .notice-header {
        margin-bottom: 16px;
        padding-bottom: 14px;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .lnw-notice .notice-header h3 {
        font-size: 20px;
    }

    .lnw-notice .notice-header span {
        font-size: 14px;
    }

    .lnw-notice .notice-content {
        font-size: 16px;
        max-height: 168px;
    }

    .lnw-notice .notice-content p {
        margin-bottom: 1rem;
    }

    .lnw-notice .notice-content .fade {
        height: 56px;
    }

    .notice-detail {
        padding: 5%;
        margin-right: 0;
        margin-left: 0;
        background-color: var(--bg-color-2);
        border-bottom: 2px solid var(--border-color);
    }

    .notice-detail header {
        margin-bottom: 20px;
        padding-bottom: 16px;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .notice-detail header h1 {
        margin: 0;
        font-size: 22px;
    }

    .notice-detail header span {
        font-size: 16px;
    }

    .notice-detail .notice-content {
        font-size: 16px;
    }

    .notice-detail .notice-content p {
        margin-bottom: 16px;
    }
}

@media screen and (min-width:1024px) {
    .notice-page-body .new-novels {
        width: 30%;
        flex-shrink: 0;
        padding-left: 16px;
    }

    .notice-page-body .new-novels .novel-list {
        margin-left: 0;
    }

    .notice-page-body .new-novels .novel-list.horizontal.col2 .novel-item {
        width: 100%;
        margin-left: 0;
    }

    .notice-page-body .new-novels .novel-list.horizontal.col2 .novel-item .cover-wrap {
        width: 15.6%;
    }
}