/* =========================================================
   Newtoko Boylove - Clean style.css
   Màu chính:
   Nền: #5d3d2b
   Card: #41281e
   Chữ: #e8e5b4
========================================================= */

*{
    box-sizing:border-box;
}

html{
    width:100%;
    overflow-x:hidden;
}

body{
    margin:0;
    font-family:Arial, Helvetica, sans-serif;
    background:#5d3d2b;
    color:#e8e5b4;
    overflow-x:hidden;
}

a{
    text-decoration:none;
    color:#e8e5b4;
}

img{
    max-width:100%;
}

button{
    cursor:pointer;
    border:0;
    border-radius:10px;
    background:#9a633d;
    color:#e8e5b4;
    font-weight:bold;
}

input,
textarea,
select{
    font-family:Arial, Helvetica, sans-serif;
    background:#5d3d2b;
    color:#e8e5b4;
    border:1px solid #6e4a35;
    border-radius:10px;
}

input::placeholder,
textarea::placeholder{
    color:rgba(232,229,180,.72);
}

.wrap{
    max-width:1450px;
    margin:0 auto;
    padding:22px;
    background:#41281e;
}

/* =========================================================
   HEADER
========================================================= */

.topbar{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:20px;
    padding:22px 18px;
    background:#2b160f;
}

.logo{
    color:#ffe1b2;
    font-size:30px;
    font-weight:bold;
    white-space:nowrap;
}

.menu{
    display:flex;
    align-items:center;
    justify-content:flex-end;
    gap:18px;
    flex-wrap:wrap;
    font-size:15px;
    font-weight:bold;
}

.menu a{
    color:#fff3df;
    white-space:nowrap;
}

/* =========================================================
   SEARCH
========================================================= */

.search{
    display:flex;
    gap:12px;
    margin:14px 0 22px;
    padding:16px;
    background:#4a281c;
    border-radius:18px;
}

.search input{
    width:100%;
    padding:16px;
    border:0;
    border-radius:14px;
    font-size:17px;
    background:#fff;
    color:#111;
}

.search button{
    min-width:140px;
    padding:0 18px;
    background:#b87843;
    color:#fff;
    border-radius:14px;
}

/* =========================================================
   HOME
========================================================= */

.home-grid{
    display:grid;
    grid-template-columns:repeat(8,1fr);
    gap:16px;
    margin-top:20px;
}

.home-card{
    background:transparent;
    border:0;
    padding:0;
}

.home-card img{
    display:block;
    width:100%;
    height:250px;
    object-fit:cover;
    border-radius:10px;
}

.home-title{
    margin-top:8px;
    min-height:38px;
    overflow:hidden;
    color:#fff3df;
    font-size:14px;
    font-weight:bold;
    line-height:1.35;
}

.home-chap{
    display:inline-block;
    margin-top:6px;
    padding:5px 8px;
    background:#b87843;
    color:#fff;
    border-radius:6px;
    font-size:12px;
}

.home-chap.empty{
    background:#8b6a55;
}

.home-views{
    margin-top:6px;
    color:#e8c9a7;
    font-size:12px;
}

/* =========================================================
   GENRES HOME
========================================================= */

.genre-box{
    margin:22px 0 28px;
}

.genre-head{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:12px;
}

.genre-head h2{
    margin:0 0 12px;
}

.genre-head button{
    padding:7px 12px;
    background:#111;
    color:#fff;
    border-radius:8px;
}

.genre-list-home{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    max-height:92px;
    overflow:hidden;
}

.genre-list-home.show-all{
    max-height:none;
}

.genre-list-home a{
    background:#4a281c;
    border:1px solid #70432c;
    color:#fff3df;
    padding:8px 13px;
    border-radius:20px;
    font-size:14px;
    font-weight:bold;
}

.genre-list-home a:hover{
    background:#b87843;
    color:#fff;
}

.empty-genre{
    color:#c9b99e;
    margin:0;
}

/* =========================================================
   PAGINATION
========================================================= */

.pagination{
    margin:35px 0;
    display:flex;
    justify-content:center;
    align-items:center;
    gap:8px;
    flex-wrap:wrap;
}

.pagination a{
    min-width:38px;
    height:38px;
    padding:0 12px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:8px;
    background:#4a281c;
    border:1px solid #70432c;
    color:#fff3df;
    font-weight:bold;
}

.pagination a.active{
    background:#b87843;
    color:#fff;
    border-color:#b87843;
}

/* =========================================================
   STORY PAGE - NEW LAYOUT
========================================================= */

.story-page-new{
    max-width:1180px;
    margin:0 auto;
    padding:20px;
}

.story-back,
.back{
    display:inline-block;
    margin:15px 0;
    color:#e8e5b4 !important;
}

.box-ui{
    background:#41281e;
    border-radius:18px;
    padding:22px;
    margin-bottom:22px;
    box-shadow:0 8px 25px rgba(0,0,0,.25);
}

.story-top{
    display:grid;
    grid-template-columns:260px 1fr;
    gap:25px;
}

.story-cover-new img{
    width:100%;
    aspect-ratio:3/4;
    object-fit:cover;
    border-radius:14px;
}

.story-title{
    margin:0 0 18px;
    color:#e8e5b4;
    font-size:42px;
    line-height:1.15;
}

.story-meta p{
    margin:12px 0;
    color:#e8e5b4;
    line-height:1.55;
}

.story-genre-tag{
    display:inline-block;
    background:#9a633d;
    color:#e8e5b4;
    padding:5px 10px;
    border-radius:999px;
    margin:3px;
    font-size:14px;
    font-weight:700;
}

.story-desc-new{
    max-height:170px;
    overflow:hidden;
    color:#e8e5b4;
    line-height:1.8;
    white-space:pre-line;
}

.story-desc-new.open{
    max-height:none;
}

.more-btn{
    margin-top:14px;
    background:#5d3d2b;
    color:#e8e5b4;
    padding:10px 20px;
    border-radius:10px;
}

/* Danh sách chap trong trang truyện */
.chapter-scroll{
    max-height:430px;
    overflow-y:auto;
}

.chapter-item-new{
    display:block;
    color:#e8e5b4 !important;
    text-decoration:none;
    padding:14px 8px;
    border-bottom:1px solid rgba(232,229,180,.12);
}

.chapter-item-new:hover{
    background:#5d3d2b;
}

/* =========================================================
   STORY PAGE - OLD CLASS FALLBACK
========================================================= */

.story-box{
    display:flex;
    gap:24px;
    margin-top:20px;
}

.story-cover{
    width:220px;
    flex-shrink:0;
}

.story-cover img{
    width:100%;
    height:320px;
    object-fit:cover;
    border-radius:10px;
}

.story-info{
    flex:1;
}

.story-info h1{
    margin:0 0 20px;
    color:#e8e5b4;
    font-size:44px;
}

.story-info p{
    color:#e8e5b4;
    font-size:18px;
    line-height:1.7;
}

.desc{
    white-space:pre-line;
}

.chapter-list{
    margin-top:30px;
}

.chapter-item,
.chapter-list a{
    display:block;
    color:#e8e5b4 !important;
    padding:12px 0;
    border-bottom:0 !important;
}

.chapter-item:hover,
.chapter-list a:hover{
    background:#5d3d2b;
    color:#fff !important;
}

/* =========================================================
   COMMENTS
========================================================= */

.comment-box{
    max-width:760px;
    margin-top:30px;
    color:#e8e5b4;
}

.comment-box h3{
    margin-top:0;
    color:#e8e5b4;
}

.comment-form{
    max-width:760px;
    background:transparent !important;
    border:none !important;
    box-shadow:none !important;
    padding:0 !important;
    margin:0 !important;
}

.comment-form input[type="text"],
.comment-form input[type="email"]{
    display:block;
    width:420px !important;
    max-width:100%;
    height:48px !important;
    padding:0 16px !important;
    margin-bottom:12px !important;
    border-radius:10px !important;
    font-size:18px !important;
}

.comment-form input[type="file"]{
    width:auto;
    display:block;
    color:#e8e5b4;
    margin:10px 0 14px;
    font-size:15px;
}

.comment-form textarea{
    display:block;
    width:640px !important;
    max-width:100%;
    min-height:150px !important;
    padding:14px !important;
    border-radius:12px !important;
    font-size:18px !important;
}

.comment-form button{
    min-width:140px;
    height:46px;
    margin-top:14px;
    background:#c47a3c;
    color:#fff;
    border-radius:10px;
    font-size:18px;
}

.comment-item{
    display:flex !important;
    align-items:flex-start;
    gap:12px;
    max-width:760px;
    padding:14px;
    margin:14px 0;
    border:1px solid rgba(232,229,180,.25);
    border-radius:12px;
    background:#512719;
}

.comment-item > img,
.comment-avatar{
    width:52px !important;
    height:52px !important;
    max-width:52px !important;
    max-height:52px !important;
    min-width:52px !important;
    min-height:52px !important;
    border-radius:50% !important;
    object-fit:cover !important;
    display:block !important;
    flex-shrink:0 !important;
}

.comment-content{
    flex:1;
    color:#e8e5b4;
}

.comment-content p{
    margin:8px 0;
}

.comment-delete-btn{
    background:#111;
    color:#fff;
    padding:8px 14px;
    border-radius:8px;
}

/* =========================================================
   ADS
========================================================= */

.chapter-ad,
.ad-box{
    width:100% !important;
    display:flex !important;
    justify-content:center !important;
    align-items:center !important;
    text-align:center !important;
    margin:20px auto !important;
    clear:both;
    overflow:hidden;
}

.ad-inner{
    width:100% !important;
    min-width:320px;
    display:flex !important;
    justify-content:center !important;
    align-items:center !important;
    text-align:center !important;
    margin:auto;
}

.ad-inner > *,
.ad-box > *,
.chapter-ad > *,
.ad-box iframe,
.chapter-ad iframe,
.ad-box img,
.ad-box div{
    margin-left:auto !important;
    margin-right:auto !important;
    float:none !important;
}

/* =========================================================
   CHAPTER READER PAGE
========================================================= */

body.chapter-page{
    background:#f2f2f2;
    color:#111;
    padding-top:70px;
}

body.chapter-page .top{
    background:#fff;
    border-bottom:1px solid #ddd;
    padding:14px 16px;
    position:fixed;
    top:0;
    left:0;
    width:100%;
    z-index:999;
    transition:transform .25s ease;
}

body.chapter-page .top.hide{
    transform:translateY(-100%);
}

.top-inner{
    max-width:1400px;
    margin:auto;
    display:flex;
    justify-content:space-between;
    align-items:center;
}

body.chapter-page .logo,
body.chapter-page .back{
    color:#111 !important;
}

.chapter-head{
    text-align:center;
    padding:24px 10px 16px;
}

.chapter-head h1{
    margin:0;
    font-size:42px;
}

.chapter-head h2{
    margin:10px 0;
    font-size:32px;
}

.nav{
    display:flex;
    justify-content:center;
    gap:10px;
    flex-wrap:wrap;
    margin:18px 0;
}

.nav a,
.disabled-btn{
    padding:12px 18px;
    border-radius:8px;
    font-size:18px;
}

.nav a{
    background:#111;
    color:#fff;
}

.disabled-btn{
    background:#bbb;
    color:#fff;
}

.reader{
    max-width:900px;
    margin:0 auto;
    background:#fff;
}

.reader img{
    display:block;
    width:100%;
    height:auto;
}

.bottom-space{
    height:40px;
}

/* nút lên đầu trang */
#toTopBtn{
    position:fixed;
    left:18px;
    bottom:22px;
    z-index:9999;
    width:56px;
    height:56px;
    border-radius:14px;
    background:rgba(0,0,0,.72);
    color:#fff;
    font-size:26px;
    display:flex;
    align-items:center;
    justify-content:center;
}

/* =========================================================
   REPORT
========================================================= */

.report-box{
    max-width:700px;
    margin:30px auto;
}

.report-box select,
.report-box textarea{
    width:100%;
    padding:10px;
    margin:8px 0 16px;
    border:1px solid #6e4a35;
    border-radius:6px;
}

.report-box textarea{
    min-height:150px;
}

.msg{
    color:#86d37c;
    font-weight:bold;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media(max-width:1000px){
    .home-grid{
        grid-template-columns:repeat(4,1fr);
    }
}

@media(max-width:700px){

    .wrap{
        width:100%;
        max-width:none;
        padding:12px;
    }

    .topbar{
        display:block;
        padding:18px 14px;
    }

    .logo{
        display:block;
        margin-bottom:14px;
        font-size:26px;
    }

    .menu{
        width:100%;
        justify-content:flex-start;
        gap:12px 16px;
        font-size:16px;
        line-height:1.8;
    }

    .search{
        display:block;
        padding:12px;
    }

    .search input{
        margin-bottom:10px;
    }

    .search button{
        width:100%;
        height:44px;
    }

    .home-grid{
        grid-template-columns:repeat(2,1fr);
        gap:12px;
    }

    .home-card img{
        height:230px;
    }

    .home-title{
        font-size:16px;
        min-height:42px;
    }

    .genre-list-home{
        gap:8px;
        max-height:88px;
    }

    .genre-list-home a{
        font-size:13px;
        padding:7px 10px;
    }

    /* Story mobile: card rộng giống web cũ */
    .story-page-new{
        max-width:none !important;
        width:100% !important;
        padding:14px 12px !important;
        margin:0 !important;
    }

    .box-ui{
        width:100% !important;
        max-width:none !important;
        border-radius:24px !important;
        padding:24px 20px !important;
        margin:18px 0 !important;
    }

    .story-top{
        grid-template-columns:1fr !important;
        gap:24px !important;
    }

    .story-cover-new{
        max-width:none !important;
        width:100% !important;
        margin:0 auto !important;
    }

    .story-cover-new img{
        width:100% !important;
        max-width:100% !important;
        border-radius:18px !important;
    }

    .story-title{
        font-size:42px !important;
        line-height:1.15 !important;
    }

    .story-meta p{
        font-size:24px !important;
        line-height:1.55 !important;
    }

    .story-desc-new,
    .chapter-item-new,
    .comment-box{
        font-size:22px !important;
    }

    .chapter-scroll{
        max-height:520px !important;
    }

    .comment-form input[type="text"],
    .comment-form input[type="email"],
    .comment-form textarea{
        width:100% !important;
    }

    .story-box{
        display:block;
    }

    .story-cover{
        width:220px;
        margin:auto;
    }

    .story-info h1{
        margin-top:15px;
        font-size:28px;
    }

    .story-info p{
        font-size:16px;
    }

    body.chapter-page{
        padding-top:60px;
    }

    .chapter-head h1{
        font-size:28px;
    }

    .chapter-head h2{
        font-size:24px;
    }

    .nav{
        display:grid;
        grid-template-columns:1fr 1fr;
        gap:10px;
    }

    .nav a,
    .disabled-btn{
        text-align:center;
        font-size:16px;
        padding:12px 10px;
    }

    .reader{
        width:100%;
        max-width:none;
    }
}
/* FIX MOBILE STORY FONT + FILE INPUT */
@media(max-width:768px){

    .story-title{
        font-size:34px !important;
    }

    .story-meta p{
        font-size:19px !important;
        line-height:1.45 !important;
    }

    .box-ui h2,
    .comment-box h3{
        font-size:28px !important;
    }

    .story-desc-new,
    .chapter-item-new,
    .comment-box{
        font-size:18px !important;
    }

    .comment-form input[type="text"],
    .comment-form input[type="email"],
    .comment-form textarea{
        font-size:17px !important;
    }

    .comment-form input[type="file"]{
        width:100% !important;
        max-width:100% !important;
        font-size:15px !important;
        overflow:hidden !important;
        display:block !important;
        box-sizing:border-box !important;
    }

    .comment-form{
        overflow:hidden !important;
    }

    .comment-form button{
        font-size:18px !important;
    }
}
/* FIX STORY OVERFLOW + GENRE CLICK */
.story-desc-new,
.comment-content,
.comment-content p,
.chapter-item-new,
.story-meta p{
    overflow-wrap:anywhere;
    word-break:break-word;
}

.story-desc-new{
    max-height:170px;
    overflow:hidden;
}

.story-desc-new.open{
    max-height:none !important;
    overflow:visible !important;
}

.story-genre-tag{
    display:inline-block;
    background:#9a633d;
    color:#e8e5b4 !important;
    padding:6px 12px;
    border-radius:999px;
    margin:4px;
    font-weight:700;
    text-decoration:none;
}

.story-genre-tag:hover{
    background:#b97848;
}

/* FIX COMMENT TEXT TRÀN */
.comment-item{
    overflow:hidden;
}

.comment-content{
    min-width:0;
    max-width:100%;
}

.comment-content p{
    max-width:100%;
    white-space:pre-wrap;
}

/* DESKTOP */
@media(min-width:769px){
    .story-page-new{
        max-width:1180px;
    }

    .box-ui{
        overflow:hidden;
    }
}

/* MOBILE */
@media(max-width:768px){
    .story-title{
        font-size:34px !important;
    }

    .story-meta p{
        font-size:19px !important;
    }

    .box-ui h2,
    .comment-box h3{
        font-size:28px !important;
    }

    .comment-content p{
        font-size:16px !important;
    }
}
.reply-btn{
    background:#5d3d2b;
    color:#e8e5b4;
    border:0;
    border-radius:8px;
    padding:7px 12px;
    margin-top:8px;
    cursor:pointer;
    font-weight:bold;
}

.reply-list{
    margin-left:54px;
    margin-top:8px;
}

.comment-reply{
    background:#3a2119 !important;
    border-color:#7a4d38 !important;
}

@media(max-width:768px){
    .reply-list{
        margin-left:24px;
    }
}
/* CHAPTER DARK LAYOUT */
body.chapter-dark{
    background:#5d3d2b !important;
    color:#e8e5b4 !important;
    padding-top:80px;
}

.chapter-topbar{
    background:#41281e !important;
    border-bottom:0 !important;
}

.chapter-topbar .logo,
.chapter-topbar .back{
    color:#e8e5b4 !important;
}

.chapter-layout{
    max-width:1180px;
    margin:0 auto;
    padding:22px;
}

.chapter-title-card,
.chapter-comment-card{
    background:#41281e;
    color:#e8e5b4;
    border-radius:20px;
    padding:24px;
    margin-bottom:24px;
    box-shadow:0 8px 25px rgba(0,0,0,.22);
}

.chapter-title-card{
    text-align:center;
}

.chapter-title-card h1{
    margin:0 0 8px;
    font-size:38px;
    color:#e8e5b4;
}

.chapter-title-card h2{
    margin:0 0 10px;
    font-size:26px;
    color:#e8e5b4;
}

.chapter-title-card p{
    color:#e8e5b4;
}

.chapter-nav a,
.chapter-nav .disabled-btn{
    min-width:52px;
    min-height:44px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:10px;
    font-weight:bold;
}

.chapter-nav a{
    background:#d97a27 !important;
    color:#fff !important;
}

.chapter-nav .disabled-btn{
    background:#7b5945 !important;
    color:#c9b78d !important;
}

.chapter-reader{
    max-width:900px;
    margin:0 auto 24px;
    background:#41281e !important;
    border-radius:20px;
    overflow:hidden;
    padding:0;
    box-shadow:0 8px 25px rgba(0,0,0,.22);
}

.chapter-reader img{
    display:block;
    width:100%;
    height:auto;
    margin:0 auto;
    background:#fff;
}

.chapter-ad{
    background:transparent !important;
    padding:0 !important;
    margin:8px auto !important;
    box-shadow:none !important;
    border:0 !important;
}

.bottom-nav-card{
    padding:18px;
}

.chapter-comment-card{
    max-width:900px;
    margin-left:auto;
    margin-right:auto;
}

#toTopBtn{
    position:fixed;
    left:18px;
    bottom:28px;
    width:52px;
    height:52px;
    border-radius:14px;
    background:rgba(0,0,0,.72);
    color:#fff;
    font-size:24px;
    z-index:9999;
    opacity:.8;
}

@media(max-width:768px){
    body.chapter-dark{
        padding-top:70px;
    }

    .chapter-layout{
        padding:12px;
    }

    .chapter-title-card,
    .chapter-comment-card{
        border-radius:22px;
        padding:20px 16px;
        margin-bottom:18px;
    }

    .chapter-title-card h1{
        font-size:28px;
    }

    .chapter-title-card h2{
        font-size:22px;
    }

    .chapter-reader{
        width:100%;
        max-width:none;
        border-radius:0;
        background:transparent !important;
        box-shadow:none;
    }

    .chapter-reader img{
        width:100%;
        max-width:100%;
    }

    .chapter-nav{
        display:grid;
        grid-template-columns:1fr 1fr;
        gap:10px;
    }

    .chapter-nav a,
    .chapter-nav .disabled-btn{
        width:100%;
        min-height:44px;
    }

    .chapter-comment-card{
        max-width:none;
    }
}
/* FIX CHAPTER HEADER COLORS */
.chapter-topbar .logo,
.chapter-topbar .back{
    color:#e8e5b4 !important;
}

/* BỎ KHUNG BAO 4 NÚT CHAPTER */
.chapter-title-card .chapter-nav,
.bottom-nav-card{
    background:transparent !important;
    box-shadow:none !important;
    border-radius:0 !important;
    padding:0 !important;
}

.bottom-nav-card{
    margin-bottom:24px !important;
}

/* chỉ giữ phần title card ở đầu */
.chapter-title-card{
    background:#41281e;
}

/* nhưng nav trong title không có nền riêng */
.chapter-title-card .nav{
    background:transparent !important;
}
/* đổi màu chữ topbar chapter */
.chapter-topbar .logo,
.chapter-topbar .back,
.chapter-topbar a{
    color:#ffffff !important;
}

.chapter-topbar .logo:hover,
.chapter-topbar .back:hover{
    color:#e8e5b4 !important;
}

/* =========================================================
   FINAL FIX - CHAPTER PAGE V2
   - Chữ topbar trắng
   - Bỏ khung bao tên chap + nút chap
   - Giữ khung bình luận
========================================================= */

body.chapter-page.chapter-dark{
    background:#5d3d2b !important;
    color:#e8e5b4 !important;
    padding-top:78px !important;
}

body.chapter-page.chapter-dark .chapter-topbar,
body.chapter-page.chapter-dark .top.chapter-topbar{
    background:#41281e !important;
    border:0 !important;
    box-shadow:none !important;
}

body.chapter-page.chapter-dark .chapter-topbar .logo,
body.chapter-page.chapter-dark .chapter-topbar .back,
body.chapter-page.chapter-dark .chapter-topbar a,
body.chapter-page.chapter-dark .top-inner .logo,
body.chapter-page.chapter-dark .top-inner .back{
    color:#ffffff !important;
}

.chapter-simple-head{
    text-align:center;
    background:transparent !important;
    box-shadow:none !important;
    border:0 !important;
    padding:22px 10px 18px !important;
    margin:0 auto 18px !important;
    color:#e8e5b4 !important;
}

.chapter-simple-head h1{
    margin:0 0 8px !important;
    color:#e8e5b4 !important;
    font-size:38px !important;
    line-height:1.2 !important;
}

.chapter-simple-head h2{
    margin:0 0 8px !important;
    color:#e8e5b4 !important;
    font-size:26px !important;
    line-height:1.25 !important;
}

.chapter-simple-head p{
    margin:0 0 12px !important;
    color:#e8e5b4 !important;
}

.no-card-nav,
.chapter-simple-head .chapter-nav,
.bottom-nav-card{
    background:transparent !important;
    box-shadow:none !important;
    border:0 !important;
    border-radius:0 !important;
    padding:0 !important;
    margin:16px auto 22px !important;
}

.chapter-nav a,
.chapter-nav .disabled-btn{
    background:#dd7b28 !important;
    color:#ffffff !important;
    min-width:52px !important;
    min-height:44px !important;
    padding:0 16px !important;
    border-radius:10px !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    font-weight:700 !important;
}

.chapter-nav .disabled-btn{
    background:#7b5945 !important;
    color:#c9b78d !important;
}

.chapter-reader{
    background:transparent !important;
    box-shadow:none !important;
    border-radius:0 !important;
    overflow:visible !important;
}

.chapter-reader img{
    background:#fff !important;
}

.chapter-comment-card{
    background:#41281e !important;
    color:#e8e5b4 !important;
    border-radius:20px !important;
    padding:24px !important;
    margin:24px auto !important;
    box-shadow:0 8px 25px rgba(0,0,0,.22) !important;
}

@media(max-width:768px){
    body.chapter-page.chapter-dark{
        padding-top:70px !important;
    }

    .chapter-layout{
        padding:10px !important;
    }

    .chapter-simple-head{
        padding:14px 8px 10px !important;
        margin-bottom:12px !important;
    }

    .chapter-simple-head h1{
        font-size:28px !important;
    }

    .chapter-simple-head h2{
        font-size:22px !important;
    }

    .chapter-nav{
        display:grid !important;
        grid-template-columns:1fr 1fr !important;
        gap:10px !important;
        width:100% !important;
    }

    .chapter-nav a,
    .chapter-nav .disabled-btn{
        width:100% !important;
        min-height:44px !important;
    }

    .chapter-comment-card{
        padding:16px !important;
        border-radius:18px !important;
    }
}
.story-desc-new,
.story-desc-new *,
.comment-content,
.comment-content p{
    overflow-wrap:anywhere !important;
    word-break:break-word !important;
    max-width:100% !important;
}