/**
 * DFK Team Style v2.0 - Clean dark manga UI
 * Bulletproof overrides for MangaStream base theme
 */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;600;700;800&display=swap');

/* ============================================================
   NUCLEAR RESET - Kill all old theme layout
   ============================================================ */
body {
    font-family: 'Cairo', sans-serif !important;
    background: #0d0c11 !important;
    color: #ccc;
}
a { transition: color 0.2s; text-decoration: none; }

/* Kill old header completely */
.th,
.topmobile,
.topmobcon,
.blox.mlb.kln,
.kln {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    overflow: hidden !important;
}

/* Kill WP admin bar / customizer gear */
#wpadminbar,
#wpadminbar * {
    display: none !important;
    height: 0 !important;
}
html.admin-bar { margin-top: 0 !important; }
body.admin-bar { padding-top: 0 !important; }
body.admin-bar .dfk-header { top: 0 !important; }

/* Kill genre filter if it leaks from cache */
.dfk-genres {
    display: none !important;
}

/* Kill ajaxy live-search elements that may escape */
body > .searchx,
body > #live-search_sb,
.live-search_ajaxy-selective-close,
.live-search_ajaxy-selective-search,
.live-search_ajaxy-selective-input {
    display: none !important;
}

/* Kill old theme surprise/random button */
.surprise { display: none !important; }

/* ============================================================
   LAYOUT FOUNDATION
   ============================================================ */
#content {
    overflow: visible !important;
    background: none !important;
}
.wrapper {
    max-width: 1220px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
    position: relative;
}
.wrapper::after {
    content: '';
    display: table;
    clear: both;
}

/* Force postbody full-width on home */
.postbody.dfk-fullwidth,
body .postbody.dfk-fullwidth {
    float: none !important;
    width: 100% !important;
    clear: both !important;
}

/* ============================================================
   HEADER
   ============================================================ */
.dfk-header {
    background: #0d0c11;
    position: sticky;
    top: 0;
    z-index: 99999;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.dfk-header-inner {
    max-width: 1220px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    height: 58px;
    position: relative;
    gap: 0;
}

/* Logo */
.dfk-header header {
    float: none !important;
    margin: 0 !important;
    flex-shrink: 0;
    padding: 0 !important;
    width: auto !important;
    height: auto !important;
}
.dfk-header .logox {
    margin: 0 !important;
    padding: 0 !important;
}
.dfk-header .logos {
    display: flex !important;
    align-items: center;
    width: auto !important;
    min-height: auto !important;
    float: none !important;
    padding: 0 !important;
    margin: 0 !important;
}
.dfk-header .logos img {
    max-height: 38px;
    width: auto !important;
}
.dfk-header .logos .hdl {
    margin-left: 8px;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
}

/* Mobile hamburger */
.shme {
    display: none;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
nav#main-menu.dfk-nav,
.dfk-nav {
    display: flex !important;
    background: none !important;
    margin: 0 !important;
    margin-bottom: 0 !important;
    position: static !important;
    flex: 1;
    height: auto !important;
    float: none !important;
    width: auto !important;
    padding: 0 !important;
}
nav#main-menu.dfk-nav ul,
.dfk-nav ul {
    display: flex !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 0 0 15px !important;
    float: none !important;
    position: relative !important;
}
nav#main-menu.dfk-nav ul li,
.dfk-nav ul li {
    float: none !important;
    margin: 0 !important;
    position: relative;
}
nav#main-menu.dfk-nav ul li a,
.dfk-nav ul li > a {
    display: flex !important;
    align-items: center;
    padding: 0 13px !important;
    height: 58px !important;
    line-height: 58px !important;
    color: #999 !important;
    font-size: 14px !important;
    font-weight: 500;
    background: none !important;
    border: none !important;
    text-align: left !important;
    white-space: nowrap;
}
nav#main-menu.dfk-nav ul li a:hover,
nav#main-menu.dfk-nav ul li.current-menu-item > a,
.dfk-nav ul li a:hover,
.dfk-nav ul li.current-menu-item > a {
    color: #fff !important;
    background: none !important;
}
/* Kill the old blue hover bar */
nav#main-menu.dfk-nav ul li a:hover:before,
nav#main-menu ul li a:hover:before,
.dfk-nav ul li a:hover:before {
    display: none !important;
    content: none !important;
}

/* Dropdowns */
nav#main-menu.dfk-nav ul li ul,
.dfk-nav ul li ul {
    position: absolute !important;
    top: 58px !important;
    left: 0 !important;
    min-width: 200px !important;
    background: #1a1920 !important;
    border-radius: 8px !important;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5) !important;
    display: none !important;
    z-index: 999 !important;
    margin: 0 !important;
    padding: 6px 0 !important;
    border: 1px solid rgba(255,255,255,0.06) !important;
    flex-direction: column !important;
    float: none !important;
    width: auto !important;
}
nav#main-menu.dfk-nav ul li:hover > ul,
.dfk-nav ul li:hover > ul {
    display: block !important;
}
nav#main-menu.dfk-nav ul li ul li a,
.dfk-nav ul li ul li a {
    height: auto !important;
    line-height: normal !important;
    padding: 9px 15px !important;
    font-size: 13px !important;
    color: #aaa !important;
}
nav#main-menu.dfk-nav ul li ul li a:hover,
.dfk-nav ul li ul li a:hover {
    background: rgba(255,255,255,0.05) !important;
    color: #fff !important;
}

/* Kill old menu children arrow + random */
nav#main-menu ul .menu-item-has-children > a:after { display: none !important; }
nav#main-menu .random { display: none !important; }

/* ============================================================
   HEADER ACTIONS (search + theme toggle + login)
   ============================================================ */
.dfk-actions {
    display: flex !important;
    align-items: center;
    gap: 10px;
    margin-left: auto;
    flex-shrink: 0;
}
.dfk-actions #thememode {
    float: none !important;
    margin: 0 !important;
    position: static !important;
}
.dfk-login-btn {
    display: inline-flex !important;
    align-items: center;
    gap: 5px;
    padding: 7px 18px;
    background: #e63946;
    color: #fff !important;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}
.dfk-login-btn:hover { background: #c1121f; }

/* ============================================================
   SEARCH BOX (inline, no ajaxyLiveSearch)
   ============================================================ */
.dfk-search-box {
    position: relative;
}
.dfk-search-box form {
    display: flex;
    align-items: center;
    position: relative;
    padding: 0;
    margin: 0;
}
.dfk-search-box input[name=s] {
    width: 200px;
    height: 34px;
    background: #1a1920 !important;
    border: 1px solid rgba(255,255,255,0.08) !important;
    border-radius: 8px !important;
    color: #fff !important;
    padding: 0 34px 0 12px !important;
    font-size: 13px !important;
    font-family: 'Cairo', sans-serif !important;
    transition: width 0.3s, border-color 0.2s;
    box-sizing: border-box;
    outline: none;
    box-shadow: none !important;
}
.dfk-search-box input[name=s]:focus {
    width: 260px;
    border-color: #e63946 !important;
}
.dfk-search-box input[name=s]::placeholder {
    color: #555;
}
.dfk-search-box button {
    position: absolute;
    right: 2px;
    top: 50%;
    transform: translateY(-50%);
    background: none !important;
    border: none !important;
    color: #666;
    padding: 6px 8px;
    cursor: pointer;
    font-size: 13px;
}
.dfk-search-box button:hover { color: #fff; }

/* ============================================================
   COVER SLIDER (AsuraScans-style hero)
   ============================================================ */
.dfk-cover-slider {
    background: linear-gradient(180deg, #0d0c11 0%, #131220 30%, #1a1530 50%, #131220 70%, #0d0c11 100%);
    padding: 25px 0;
    overflow: hidden;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    position: relative;
}
.dfk-cover-slider::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(ellipse at 50% 40%, rgba(100,50,180,0.12) 0%, transparent 65%);
    pointer-events: none;
}
.dfk-cover-carousel.owl-carousel {
    position: relative;
    z-index: 1;
}
.dfk-cover-carousel .owl-stage {
    display: flex;
    align-items: center;
}
.dfk-cover-slide {
    transition: transform 0.5s ease, opacity 0.5s ease;
    opacity: 0.45;
    transform: scale(0.82);
}
.dfk-cover-carousel .owl-item.center .dfk-cover-slide {
    opacity: 1;
    transform: scale(1);
}
.dfk-cover-img {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 2/3;
    background: #1a1920;
    box-shadow: 0 8px 30px rgba(0,0,0,0.5);
}
.dfk-cover-carousel .owl-item.center .dfk-cover-img {
    box-shadow: 0 12px 50px rgba(100,50,180,0.3), 0 8px 30px rgba(0,0,0,0.6);
}
.dfk-cover-img img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block;
    border-radius: 12px;
}
.dfk-cover-info {
    text-align: center;
    margin-top: 10px;
    opacity: 0;
    transition: opacity 0.4s;
    height: 0;
    overflow: hidden;
}
.dfk-cover-carousel .owl-item.center .dfk-cover-info {
    opacity: 1;
    height: auto;
    overflow: visible;
}
.dfk-cover-rating {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(255,215,0,0.15);
    border: 1px solid rgba(255,215,0,0.3);
    color: #ffd700;
    font-size: 12px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 12px;
    margin-bottom: 6px;
}
.dfk-cover-rating i { font-size: 10px; }
.dfk-cover-title {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 220px;
    margin: 0 auto;
}
.dfk-cover-slide a { color: #fff; display: block; }
.dfk-cover-slide a:hover { color: #fff; }

/* ============================================================
   HOT SECTION (Owl Carousel)
   ============================================================ */
.dfk-hot-section {
    background: #16151d;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.04);
    margin-bottom: 18px;
    overflow: hidden;
}
.dfk-hot-carousel.owl-carousel .owl-stage-outer { padding: 15px 0; }
.dfk-hot-carousel.owl-carousel { padding: 0 15px; }
.dfk-hot-carousel.owl-carousel .owl-stage {
    display: flex !important;
}
.dfk-hot-carousel.owl-carousel .owl-item {
    flex-shrink: 0;
}
.dfk-hot-item { text-align: center; }
.dfk-hot-item a { display: block; color: #ccc; }
.dfk-hot-item a:hover { color: #fff; }
.dfk-hot-cover {
    position: relative !important;
    border-radius: 8px;
    overflow: hidden !important;
    padding-bottom: 140%;
    background: #222;
}
.dfk-hot-cover img {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    max-width: none !important;
}
.dfk-hot-rating {
    position: absolute !important;
    top: 6px !important;
    left: 6px !important;
    background: rgba(0,0,0,0.75);
    color: #ffd700;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    z-index: 2;
    display: inline-flex !important;
    align-items: center;
    gap: 3px;
}
.dfk-hot-rating i { font-size: 8px; }
.dfk-hot-status {
    position: absolute !important;
    top: 6px !important;
    right: 6px !important;
    font-size: 9px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 4px;
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    display: inline-block !important;
}
.dfk-hot-status.Ongoing { background: rgba(46,125,50,0.85); color: #a5d6a7; }
.dfk-hot-status.Completed { background: rgba(21,101,192,0.85); color: #90caf9; }
.dfk-hot-status.Hiatus { background: rgba(239,108,0,0.85); color: #ffcc80; }
.dfk-hot-type {
    position: absolute !important;
    bottom: 6px !important;
    left: 6px !important;
    font-size: 8px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 2px 7px;
    border-radius: 3px;
    z-index: 2;
    letter-spacing: 0.5px;
    display: inline-block !important;
}
.dfk-hot-type.Manhwa { background: #a12e24; color: #fff; }
.dfk-hot-type.Manga { background: #0c70de; color: #fff; }
.dfk-hot-type.Manhua { background: #009688; color: #fff; }
.dfk-hot-type.Comic { background: #673ab7; color: #fff; }
.dfk-hot-title {
    margin: 8px 0 0;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 0 3px;
}

/* Owl nav/dots */
.dfk-hot-carousel .owl-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    padding: 0;
    margin: 0;
    left: 0;
}
.dfk-hot-carousel .owl-nav button {
    pointer-events: all;
    width: 32px; height: 32px;
    background: rgba(0,0,0,0.6) !important;
    border-radius: 50%;
    color: #fff !important;
    font-size: 14px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 -5px;
    border: none !important;
    padding: 0 !important;
}
.dfk-hot-carousel .owl-nav button:hover { background: #e63946 !important; }
.dfk-hot-carousel .owl-dots,
.dfk-hot-section .owl-dots,
.owl-dots { display: none !important; }

/* ============================================================
   SOCIAL LINKS
   ============================================================ */
.dfk-social-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 18px;
}
.dfk-social-card {
    display: flex;
    align-items: center;
    padding: 15px 18px;
    border-radius: 10px;
    color: #fff;
    transition: transform 0.2s;
}
.dfk-social-card:hover { transform: translateY(-2px); color: #fff; }
.dfk-telegram {
    background: linear-gradient(135deg, #1a2332, #1e3a5f);
    border: 1px solid rgba(0,136,204,0.2);
}
.dfk-discord {
    background: linear-gradient(135deg, #1a1a2e, #2d2654);
    border: 1px solid rgba(114,137,218,0.2);
}
.dfk-social-icon {
    width: 42px; height: 42px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}
.dfk-telegram .dfk-social-icon { background: rgba(0,136,204,0.2); color: #0088cc; }
.dfk-discord .dfk-social-icon { background: rgba(114,137,218,0.2); color: #7289da; }
.dfk-social-info { margin-left: 12px; }
.dfk-social-name { display: block; font-size: 15px; font-weight: 700; color: #fff; }
.dfk-social-desc { display: block; font-size: 11px; color: rgba(255,255,255,0.45); }
.dfk-social-arrow { margin-left: auto; color: rgba(255,255,255,0.25); font-size: 13px; }

/* ============================================================
   SECTION COMPONENTS
   ============================================================ */
.dfk-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 15px;
    border-bottom: 2px solid rgba(230,57,70,0.25);
}
.dfk-section-header h2 {
    font-size: 17px;
    font-weight: 700;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 0;
}
.dfk-section-header h2 i { color: #e63946; font-size: 15px; }
.dfk-view-all {
    background: #e63946;
    font-size: 11px;
    padding: 4px 12px;
    border-radius: 12px;
    font-weight: 600;
    color: #fff;
}
.dfk-view-all:hover { background: #c1121f; color: #fff; }

.dfk-section {
    background: #16151d;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.04);
    margin-bottom: 18px;
    overflow: hidden;
}

/* ============================================================
   GRID + CARDS (Latest Update / custom sections)
   ============================================================ */
.dfk-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    padding: 15px;
}
.dfk-card {
    background: #1e1d26;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.04);
    display: flex;
    flex-direction: row;
    transition: transform 0.2s, border-color 0.2s;
}
.dfk-card:hover {
    border-color: rgba(230,57,70,0.25);
    transform: translateY(-2px);
}
.dfk-card-cover {
    width: 105px;
    min-height: 155px;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
    background: #222;
}
.dfk-card-cover a {
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0; left: 0;
    z-index: 1;
}
.dfk-card-cover img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    max-width: none !important;
}
.dfk-badge {
    position: absolute !important;
    z-index: 2;
    font-weight: 700;
    border-radius: 4px;
    padding: 2px 6px;
    font-size: 10px;
    line-height: 1.3;
    display: inline-block !important;
}
.dfk-badge-rating { top: 5px !important; left: 5px !important; background: rgba(0,0,0,0.7); color: #ffd700; display: flex; align-items: center; gap: 2px; }
.dfk-badge-rating i { font-size: 8px; }
.dfk-badge-status { top: 5px !important; right: 5px !important; font-size: 9px; }
.dfk-status-ongoing { background: rgba(46,125,50,0.85); color: #a5d6a7; }
.dfk-status-completed { background: rgba(21,101,192,0.85); color: #90caf9; }
.dfk-status-hiatus { background: rgba(239,108,0,0.85); color: #ffcc80; }
.dfk-badge-type { bottom: 5px !important; left: 5px !important; font-size: 8px; text-transform: uppercase; letter-spacing: 0.4px; }
.dfk-type-manhwa { background: #a12e24; color: #fff; }
.dfk-type-manga { background: #0c70de; color: #fff; }
.dfk-type-manhua { background: #009688; color: #fff; }
.dfk-type-comic { background: #673ab7; color: #fff; }

.dfk-card-body {
    flex: 1;
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.dfk-card-title {
    margin: 0 0 auto;
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.35;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
}
.dfk-card-title a { color: #ddd; }
.dfk-card-title a:hover { color: #fff; }
.dfk-chapters { list-style: none; margin: 8px 0 0; padding: 0; }
.dfk-chapters li { margin-bottom: 3px; }
.dfk-chapters li:last-child { margin-bottom: 0; }
.dfk-chapters li a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 5px 8px;
    background: rgba(255,255,255,0.03);
    border-radius: 5px;
    color: #999;
    font-size: 11.5px;
}
.dfk-chapters li a:hover { background: rgba(230,57,70,0.12); color: #fff; }
.dfk-ch-name { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dfk-ch-new { background: #e63946; color: #fff; font-size: 8px; font-weight: 700; padding: 1px 5px; border-radius: 3px; text-transform: uppercase; flex-shrink: 0; }
.dfk-ch-time { color: #666; font-size: 10px; flex-shrink: 0; }
.dfk-pagination { display: flex; justify-content: center; gap: 10px; padding: 15px; }
.dfk-page-btn { background: #e63946; color: #fff; padding: 8px 22px; border-radius: 8px; font-weight: 600; font-size: 13px; }
.dfk-page-btn:hover { background: #c1121f; color: #fff; }

/* ============================================================
   OLD THEME STRUCTURE OVERRIDES (bixbox/listupd/utao)
   ============================================================ */
.dfk-fullwidth .bixbox,
.postbody.dfk-fullwidth .bixbox {
    background: #16151d !important;
    border-radius: 10px !important;
    border: 1px solid rgba(255,255,255,0.04) !important;
    box-shadow: none !important;
    margin-bottom: 18px !important;
    overflow: hidden;
}
.dfk-fullwidth .releases,
.postbody.dfk-fullwidth .releases {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    padding: 12px 15px;
    border-bottom: 2px solid rgba(230,57,70,0.25);
    background: none !important;
}
.dfk-fullwidth .releases h1,
.dfk-fullwidth .releases h2,
.dfk-fullwidth .releases h3 {
    font-size: 17px !important;
    font-weight: 700 !important;
    color: #fff !important;
    margin: 0 !important;
}
.dfk-fullwidth .releases .vl {
    background: #e63946 !important;
    font-size: 11px;
    padding: 4px 12px;
    border-radius: 12px;
    font-weight: 600;
    color: #fff !important;
}
.dfk-fullwidth .listupd,
.postbody.dfk-fullwidth .listupd {
    padding: 15px !important;
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 12px !important;
}
.dfk-fullwidth .listupd .utao {
    float: none !important;
    width: auto !important;
    padding: 0 !important;
}
.dfk-fullwidth .listupd .utao .uta {
    background: #1e1d26 !important;
    border-radius: 8px !important;
    border: 1px solid rgba(255,255,255,0.04) !important;
    padding: 10px !important;
    overflow: hidden;
    transition: transform 0.2s, border-color 0.2s;
}
.dfk-fullwidth .listupd .utao .uta:hover {
    border-color: rgba(230,57,70,0.25) !important;
    transform: translateY(-2px);
}
.dfk-fullwidth .listupd .utao .uta .imgu {
    height: auto !important;
    border-radius: 6px;
    overflow: hidden;
}
.dfk-fullwidth .listupd .utao .uta .imgu img {
    width: 75px;
    height: auto;
    border-radius: 6px;
}
.dfk-fullwidth .listupd .utao .uta .luf h4 {
    font-size: 13px;
    font-weight: 600;
    margin: 0 0 5px;
    color: #ddd !important;
}
.dfk-fullwidth .listupd .utao .uta .luf ul {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}
.dfk-fullwidth .listupd .utao .uta .luf ul li {
    margin-bottom: 3px !important;
    padding: 0 !important;
    border: none !important;
}
.dfk-fullwidth .listupd .utao .uta .luf ul li a {
    font-size: 11.5px !important;
    color: #999 !important;
    display: flex !important;
    align-items: center;
    gap: 6px;
    padding: 4px 7px !important;
    background: rgba(255,255,255,0.03) !important;
    border-radius: 5px;
    height: auto !important;
    line-height: normal !important;
}
.dfk-fullwidth .listupd .utao .uta .luf ul li a:hover {
    background: rgba(230,57,70,0.12) !important;
    color: #fff !important;
}
.dfk-fullwidth .listupd .utao .uta .luf ul li span {
    color: #666 !important;
    font-size: 10px;
    margin-left: auto;
}
.dfk-fullwidth .listupd .hpage {
    grid-column: 1 / -1;
    text-align: center;
    padding: 10px;
}
.dfk-fullwidth .listupd .hpage a {
    display: inline-block;
    background: #e63946;
    color: #fff !important;
    padding: 8px 22px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 13px;
}
.dfk-fullwidth .listupd .hpage a:hover { background: #c1121f; }
.dfk-fullwidth .bloglist {
    padding: 15px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

/* Old theme's series-gen tabs (random genre recommendation) */
.dfk-fullwidth .series-gen .nav-tabs {
    display: flex !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 10px 15px !important;
    gap: 6px;
    flex-wrap: wrap;
    border: none !important;
}
.dfk-fullwidth .series-gen .nav-tabs li {
    float: none !important;
    margin: 0 !important;
}
.dfk-fullwidth .series-gen .nav-tabs li a {
    display: inline-block !important;
    padding: 6px 14px !important;
    border-radius: 20px !important;
    background: rgba(255,255,255,0.05) !important;
    border: 1px solid rgba(255,255,255,0.08) !important;
    color: #999 !important;
    font-size: 12.5px !important;
    font-weight: 500;
    height: auto !important;
    line-height: normal !important;
}
.dfk-fullwidth .series-gen .nav-tabs li a:hover,
.dfk-fullwidth .series-gen .nav-tabs li.active a {
    background: #e63946 !important;
    border-color: #e63946 !important;
    color: #fff !important;
}

/* ============================================================
   FOOTER
   ============================================================ */
#footer,
.dfk-footer {
    background: #0d0c11 !important;
    border-top: 1px solid rgba(255,255,255,0.05);
}
.dfk-footer .footermenu,
#footer .footermenu {
    background: none !important;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.dfk-footer .footermenu ul li a,
#footer .footermenu ul li a { color: #aaa !important; }
.dfk-footer .footermenu ul li a:hover,
#footer .footermenu ul li a:hover { color: #e63946 !important; }
.dfk-footer .copyright .txt p,
#footer .copyright .txt p { color: #555; font-size: 12px; }

/* ============================================================
   SIDEBAR
   ============================================================ */
/* Force sidebar below content on homepage */
.dfk-sidebar-area {
    clear: both !important;
    float: none !important;
    width: 100% !important;
    max-width: 1220px;
    margin: 0 auto;
    padding: 0 20px 20px;
}
.dfk-sidebar-area #sidebar {
    float: none !important;
    width: 100% !important;
    position: static !important;
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
/* Also catch sidebar if it gets placed as sibling */
.dfk-fullwidth + #sidebar,
.dfk-fullwidth ~ #sidebar {
    float: none !important;
    width: 100% !important;
    position: static !important;
}

/* Sidebar widget containers */
.dfk-sidebar-area #sidebar .section,
#sidebar .section {
    background: #16151d !important;
    border-radius: 10px !important;
    border: 1px solid rgba(255,255,255,0.04) !important;
    box-shadow: none !important;
    overflow: hidden;
}
.dfk-sidebar-area #sidebar .section h4,
#sidebar .section h4 {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #fff !important;
    padding: 12px 15px !important;
    margin: 0 !important;
    border-bottom: 2px solid rgba(230,57,70,0.25);
    background: none !important;
}

/* Sidebar series lists */
.dfk-sidebar-area #sidebar .serieslist ul,
#sidebar .serieslist ul {
    list-style: none !important;
    margin: 0 !important;
    padding: 10px !important;
}
.dfk-sidebar-area #sidebar .serieslist ul li,
#sidebar .serieslist ul li {
    padding: 8px 5px !important;
    border-bottom: 1px solid rgba(255,255,255,0.04);
}
.dfk-sidebar-area #sidebar .serieslist ul li:last-child,
#sidebar .serieslist ul li:last-child { border-bottom: none; }
.dfk-sidebar-area #sidebar a,
#sidebar a { color: #ccc !important; }
.dfk-sidebar-area #sidebar a:hover,
#sidebar a:hover { color: #fff !important; }

/* Sidebar filter search widget */
#sidebar .section .advancedsearch {
    padding: 12px 15px;
}
#sidebar .section .advancedsearch select,
#sidebar .section .advancedsearch input {
    width: 100%;
    background: #1e1d26 !important;
    border: 1px solid rgba(255,255,255,0.08) !important;
    border-radius: 6px !important;
    color: #ccc !important;
    padding: 8px 10px;
    font-family: 'Cairo', sans-serif;
    font-size: 13px;
    margin-bottom: 8px;
    box-sizing: border-box;
}
#sidebar .section button.searchz {
    background: #e63946 !important;
    border-color: #e63946 !important;
    color: #fff !important;
    border-radius: 8px !important;
    padding: 8px 20px !important;
    font-weight: 600;
    width: 100%;
    cursor: pointer;
}
#sidebar .section button.searchz:hover {
    background: #c1121f !important;
}

/* Sidebar popular widget tabs */
#sidebar .ts-wpop-series-gen .ts-wpop-nav-tabs,
#sidebar .section .ts-wpop-nav-tabs {
    display: flex !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
#sidebar .ts-wpop-series-gen .ts-wpop-nav-tabs li,
#sidebar .section .ts-wpop-nav-tabs li {
    flex: 1;
    margin: 0 !important;
    float: none !important;
}
#sidebar .ts-wpop-series-gen .ts-wpop-nav-tabs li a,
#sidebar .section .ts-wpop-nav-tabs li a {
    display: block !important;
    text-align: center;
    padding: 10px 8px !important;
    color: #888 !important;
    font-size: 13px !important;
    font-weight: 600;
    border: none !important;
    height: auto !important;
    line-height: normal !important;
    background: none !important;
}
#sidebar .ts-wpop-series-gen .ts-wpop-nav-tabs li.active a,
#sidebar .section .ts-wpop-nav-tabs li.active a {
    color: #fff !important;
    background: rgba(230,57,70,0.15) !important;
    border-bottom: 2px solid #e63946 !important;
}

/* Sidebar popular items */
#sidebar .serieslist.pop ul li {
    display: flex !important;
    align-items: flex-start;
    gap: 10px;
    padding: 10px !important;
    border-bottom: 1px solid rgba(255,255,255,0.04);
}
#sidebar .serieslist.pop ul li .ctr {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    flex-shrink: 0;
    background: rgba(255,255,255,0.06) !important;
    color: #888 !important;
    border: none !important;
}
#sidebar .serieslist.pop ul li.topone .ctr,
#sidebar .serieslist.pop ul li:first-child .ctr {
    background: #e63946 !important;
    color: #fff !important;
}
#sidebar .serieslist.pop ul li .leftseries {
    flex: 1;
    min-width: 0;
}
#sidebar .serieslist.pop ul li .leftseries h2 {
    font-size: 13px !important;
    font-weight: 600;
    margin: 0 0 2px !important;
    color: #ddd !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
#sidebar .serieslist.pop ul li .leftseries span {
    font-size: 11px;
    color: #666 !important;
}

/* ============================================================
   TEXT + COLORS
   ============================================================ */
.dfk-fullwidth h1, .dfk-fullwidth h2, .dfk-fullwidth h3,
.dfk-fullwidth h4, .dfk-fullwidth h5, .dfk-fullwidth h6,
.postbody h1, .postbody h2, .postbody h3 { color: #fff !important; }
.dfk-fullwidth a, .postbody a { color: #ccc; }
.dfk-fullwidth a:hover, .postbody a:hover { color: #fff; }
.dfk-fullwidth .kln, .postbody .kln { display: none !important; }
.scrollToTop { background: #e63946 !important; }

/* Custom scrollbar */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: #0d0c11; }
::-webkit-scrollbar-thumb { background: #333; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #555; }

/* ============================================================
   SINGLE MANGA PAGE
   ============================================================ */
/* Two-column layout: content left, sidebar right */
body.single-manga .postbody {
    float: left !important;
    width: 70% !important;
    padding-right: 20px !important;
    box-sizing: border-box;
}
body.single-manga #sidebar {
    float: right !important;
    width: 30% !important;
    box-sizing: border-box;
}

/* Main info box */
.animefull {
    background: #16151d !important;
    border-radius: 12px !important;
    border: 1px solid rgba(255,255,255,0.04) !important;
    overflow: hidden;
    margin-bottom: 18px !important;
    box-shadow: none !important;
}

/* Banner cover */
.animefull .bigcover {
    position: relative;
    overflow: hidden;
}
.animefull .bigcover .ime {
    padding-bottom: 30% !important;
}
.animefull .bigcover .ime img {
    filter: blur(2px) brightness(0.5);
}
.animefull .bigcover:before {
    background: linear-gradient(to bottom, rgba(22,21,29,0) 30%, #16151d 100%) !important;
    z-index: 1;
}

/* Content area */
.bigcontent {
    position: relative !important;
    z-index: 2 !important;
    padding: 15px 20px 25px 215px !important;
    background: none !important;
}
.bigcontent.nobigcover {
    padding-left: 215px !important;
}

/* Thumbnail */
.bigcontent .thumbook {
    position: absolute !important;
    left: 20px !important;
    top: -80px !important;
    width: 175px;
    z-index: 3;
}
.bigcontent .thumb {
    border-radius: 10px !important;
    overflow: hidden !important;
    box-shadow: 0 8px 25px rgba(0,0,0,0.5);
    border: 3px solid rgba(255,255,255,0.08);
}
.bigcontent .thumb img {
    width: 100% !important;
    display: block;
}

/* Bookmark button */
.bigcontent .rt .bookmark {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    padding: 8px 18px;
    background: #e63946 !important;
    color: #fff !important;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    border: none !important;
}
.bigcontent .rt .bookmark:hover { background: #c1121f !important; }
.bigcontent .rt .bmc { font-size: 11px; color: #666; margin-top: 5px; }

/* Rating */
.bigcontent .rating { margin: 10px 0; }
.bigcontent .rating .rtp { display: flex; align-items: center; gap: 8px; }
.bigcontent .rating .rtb {
    flex: 1;
    height: 6px;
    background: #2a2938 !important;
    border-radius: 3px;
    overflow: hidden;
}
.bigcontent .rating .rtb span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, #e63946, #ff6b6b) !important;
    border-radius: 3px;
}
.bigcontent .rating .num {
    font-size: 16px;
    font-weight: 800;
    color: #ffd700 !important;
    min-width: 30px;
    text-align: right;
}

/* Status/Type info */
.bigcontent .tsinfo {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 10px 0;
}
.bigcontent .tsinfo .imptdt {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    background: rgba(255,255,255,0.04) !important;
    border-radius: 6px;
    font-size: 12.5px;
    color: #999;
    border: 1px solid rgba(255,255,255,0.06);
}
.bigcontent .tsinfo .imptdt i,
.bigcontent .tsinfo .imptdt a { color: #fff !important; font-style: normal; font-weight: 600; }

/* Title */
.bigcontent .infox h1.entry-title {
    font-size: 22px !important;
    font-weight: 800 !important;
    color: #fff !important;
    margin: 0 0 12px !important;
    line-height: 1.3;
}

/* Social share */
.bigcontent .infox .socialx a,
.bigcontent .infox .shareit a {
    display: inline-block;
    padding: 5px 14px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    margin: 0 3px 6px 0;
}

/* Alt titles & Synopsis */
.bigcontent .infox .wd-full {
    margin-bottom: 12px;
}
.bigcontent .infox .wd-full b {
    display: block;
    font-size: 13px;
    color: #888;
    margin-bottom: 4px;
}
.bigcontent .infox .wd-full span {
    color: #ccc;
    font-size: 13.5px;
}
.bigcontent .infox .wd-full h2 {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #e63946 !important;
    margin: 8px 0 6px !important;
}
.bigcontent .infox .entry-content,
.bigcontent .infox .entry-content-single {
    color: #aaa !important;
    font-size: 13.5px;
    line-height: 1.75;
}
.bigcontent .infox .entry-content p,
.bigcontent .infox .entry-content-single p {
    margin-bottom: 10px;
    color: #aaa !important;
}

/* Meta rows */
.bigcontent .infox .flex-wrap {
    display: flex;
    gap: 0;
    margin-bottom: 2px;
}
.bigcontent .infox .fmed {
    flex: 1;
    display: flex;
    gap: 5px;
    padding: 8px 0;
    font-size: 13px;
    border-bottom: 1px solid rgba(255,255,255,0.04);
}
.bigcontent .infox .fmed b {
    color: #777;
    font-weight: 500;
    min-width: 100px;
    flex-shrink: 0;
}
.bigcontent .infox .fmed span,
.bigcontent .infox .fmed span i {
    color: #ccc;
    font-style: normal;
}

/* Genre pills */
.bigcontent .infox .mgen {
    display: flex !important;
    flex-wrap: wrap;
    gap: 6px;
}
.bigcontent .infox .mgen a {
    display: inline-block !important;
    padding: 4px 14px !important;
    border-radius: 20px !important;
    font-size: 12px !important;
    font-weight: 500;
    background: rgba(255,255,255,0.05) !important;
    border: 1px solid rgba(255,255,255,0.08) !important;
    color: #bbb !important;
    transition: all 0.2s;
}
.bigcontent .infox .mgen a:hover {
    background: #e63946 !important;
    border-color: #e63946 !important;
    color: #fff !important;
}

/* Keywords row */
.animefull .bottom {
    padding: 12px 20px !important;
    border-top: 1px solid rgba(255,255,255,0.04);
    font-size: 11.5px;
    color: #555;
}
.animefull .bottom strong { color: #777; }

/* NSFW alert */
.alr {
    background: rgba(230,57,70,0.12) !important;
    border: 1px solid rgba(230,57,70,0.25) !important;
    border-radius: 8px;
    padding: 10px 16px;
    color: #f87171;
    font-size: 13px;
    margin-bottom: 18px;
}

/* Chapter list section */
.bixbox.bxcl.epcheck {
    background: #16151d !important;
    border-radius: 12px !important;
    border: 1px solid rgba(255,255,255,0.04) !important;
    margin-bottom: 18px !important;
    overflow: hidden;
}
.bixbox.bxcl .releases {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    padding: 12px 18px !important;
    border-bottom: 2px solid rgba(230,57,70,0.25) !important;
    background: none !important;
}
.bixbox.bxcl .releases h2 {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #fff !important;
    margin: 0 !important;
}

/* First/Latest chapter buttons */
.lastend {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 15px 18px;
}
.lastend .inepcx a {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 18px 16px !important;
    border-radius: 10px !important;
    background: linear-gradient(135deg, #e63946, #c1121f) !important;
    color: #fff !important;
    transition: transform 0.2s, box-shadow 0.2s;
    text-decoration: none;
    text-align: center;
    min-height: 70px;
    box-sizing: border-box;
}
.lastend .inepcx a:hover { 
    transform: translateY(-2px); 
    box-shadow: 0 6px 20px rgba(230,57,70,0.3);
}
.lastend .inepcx a span:first-child {
    font-size: 12px;
    opacity: 0.8;
    margin-bottom: 4px;
    font-weight: 500;
}
.lastend .inepcx a .epcur {
    font-size: 17px;
    font-weight: 700;
}

/* Chapter search */
.search-chapter {
    padding: 10px 18px;
}
.search-chapter input {
    width: 100% !important;
    padding: 10px 14px !important;
    background: #1e1d26 !important;
    border: 1px solid rgba(255,255,255,0.08) !important;
    border-radius: 8px !important;
    color: #fff !important;
    font-size: 13px;
    font-family: 'Cairo', sans-serif;
    box-sizing: border-box;
}
.search-chapter input:focus {
    outline: none;
    border-color: #e63946 !important;
}

/* Chapter list items */
.eplister {
    max-height: 500px;
    overflow-y: auto;
}
.eplister ul { list-style: none !important; margin: 0 !important; padding: 0 !important; }
.eplister li {
    border-bottom: 1px solid rgba(255,255,255,0.04) !important;
}
.eplister li:last-child { border-bottom: none !important; }
.eplister li a,
.bxcl ul li {
    display: flex !important;
    align-items: center;
    padding: 12px 18px !important;
    color: #ccc !important;
    font-size: 13.5px;
    transition: background 0.15s;
    border-bottom: 1px solid rgba(255,255,255,0.04) !important;
    background: none !important;
}
.eplister li a:hover,
.bxcl ul li:hover {
    background: rgba(230,57,70,0.06) !important;
    color: #fff !important;
}
.bxcl ul li .chbox {
    display: flex !important;
    align-items: center;
    width: 100%;
    background: none !important;
    padding: 0 !important;
    border: none !important;
}
.bxcl ul li .eph-num {
    flex: 1;
}
.bxcl ul li .eph-num a {
    color: #ccc !important;
    font-size: 13.5px;
    font-weight: 500;
    padding: 0 !important;
    border: none !important;
}
.bxcl ul li .eph-num a:hover { color: #fff !important; }
.bxcl ul li .chapterdate,
.bxcl ul li .dt {
    color: #555 !important;
    font-size: 12px;
    margin-left: auto;
    flex-shrink: 0;
}
.bxcl ul li .dt a { color: #555 !important; font-size: 12px !important; }
.bxcl .eplister::-webkit-scrollbar { width: 4px; }
.bxcl .eplister::-webkit-scrollbar-track { background: #16151d; }
.bxcl .eplister::-webkit-scrollbar-thumb { background: #2a2938; border-radius: 2px; }
.bxcl .show-more-btn,
.bxcl .expandmore { 
    display: block; 
    padding: 10px; 
    text-align: center; 
    color: #e63946 !important;
    cursor: pointer;
    font-weight: 600;
    font-size: 13px;
    border-top: 1px solid rgba(255,255,255,0.04);
}

/* Comments section */
.bixbox.comments-area {
    background: #16151d !important;
    border-radius: 12px !important;
    border: 1px solid rgba(255,255,255,0.04) !important;
    margin-bottom: 18px !important;
    overflow: hidden;
}
.bixbox.comments-area .releases {
    padding: 12px 18px !important;
    border-bottom: 2px solid rgba(230,57,70,0.25) !important;
    background: none !important;
}
.bixbox.comments-area .releases h2 {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #fff !important;
    margin: 0 !important;
}
.commentx {
    padding: 18px !important;
}
.commentx .logged-in-as {
    font-size: 13px;
    color: #888;
    margin-bottom: 15px;
}
.commentx .logged-in-as a { color: #e63946 !important; }
.commentx label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #aaa;
    margin-bottom: 6px;
}
.commentx textarea,
.commentx input[type="text"],
.commentx input[type="email"],
.commentx input[type="url"] {
    width: 100% !important;
    padding: 10px 14px !important;
    background: #1e1d26 !important;
    border: 1px solid rgba(255,255,255,0.08) !important;
    border-radius: 8px !important;
    color: #fff !important;
    font-size: 14px;
    font-family: 'Cairo', sans-serif;
    resize: vertical;
    box-sizing: border-box;
}
.commentx textarea:focus,
.commentx input:focus {
    outline: none;
    border-color: #e63946 !important;
}
.commentx #submit,
.commentx .submit input[type="submit"] {
    display: inline-flex;
    align-items: center;
    padding: 10px 24px !important;
    background: #e63946 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 8px !important;
    font-size: 14px;
    font-weight: 600;
    font-family: 'Cairo', sans-serif;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 10px;
}
.commentx #submit:hover { background: #c1121f !important; }

/* Comment list */
.comment-list {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}
.comment-list .comment {
    padding: 15px 0;
    border-bottom: 1px solid rgba(255,255,255,0.04);
}
.comment-list .comment-body {
    display: flex;
    gap: 12px;
}
.comment-list .comment-body .avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    flex-shrink: 0;
}
.comment-list .comment-author { font-size: 13.5px; font-weight: 600; color: #ddd; }
.comment-list .comment-meta { font-size: 11px; color: #555; margin-bottom: 4px; }
.comment-list .comment-content { font-size: 13.5px; color: #aaa; line-height: 1.6; }
.comment-list .comment-content p { margin: 0; }
.comment-list .reply a {
    font-size: 11.5px;
    color: #e63946 !important;
    font-weight: 600;
    border: none !important;
    background: none !important;
}

/* Related manga */
body.single-manga .bixbox .releases {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    padding: 12px 18px !important;
    border-bottom: 2px solid rgba(230,57,70,0.25) !important;
    background: none !important;
}
body.single-manga .bixbox .releases h2 {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #fff !important;
    margin: 0 !important;
}
body.single-manga .bixbox {
    background: #16151d !important;
    border-radius: 12px !important;
    border: 1px solid rgba(255,255,255,0.04) !important;
    margin-bottom: 18px !important;
    overflow: hidden;
    box-shadow: none !important;
}
body.single-manga .bixbox .listupd {
    padding: 15px !important;
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)) !important;
    gap: 12px !important;
}

/* Breadcrumb */
.bixbox .ts-breadcrumb,
body.single-manga .ts-breadcrumb {
    padding: 10px 0 !important;
    font-size: 12.5px;
    color: #666;
}
body.single-manga .ts-breadcrumb a { color: #999 !important; }
body.single-manga .ts-breadcrumb a:hover { color: #e63946 !important; }

/* Gallery section */
.bixbox.image-list {
    background: #16151d !important;
    border-radius: 12px !important;
    border: 1px solid rgba(255,255,255,0.04) !important;
    margin-bottom: 18px !important;
    overflow: hidden;
}

/* Sidebar on manga page - styled widgets */
body.single-manga #sidebar .section {
    background: #16151d !important;
    border-radius: 10px !important;
    border: 1px solid rgba(255,255,255,0.04) !important;
    margin-bottom: 18px !important;
    overflow: hidden;
    box-shadow: none !important;
}
body.single-manga #sidebar .section h4 {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #fff !important;
    padding: 12px 15px !important;
    margin: 0 !important;
    border-bottom: 2px solid rgba(230,57,70,0.25);
    background: none !important;
}

/* Filter Search widget */
body.single-manga #sidebar .advancedsearch {
    padding: 15px;
}
body.single-manga #sidebar .advancedsearch select,
body.single-manga #sidebar .advancedsearch input[type="text"] {
    width: 100% !important;
    background: #1e1d26 !important;
    border: 1px solid rgba(255,255,255,0.08) !important;
    border-radius: 6px !important;
    color: #ccc !important;
    padding: 9px 12px !important;
    font-size: 13px;
    font-family: 'Cairo', sans-serif;
    margin-bottom: 8px;
    box-sizing: border-box;
    -webkit-appearance: none;
}
body.single-manga #sidebar .advancedsearch button.searchz {
    width: 100%;
    background: #e63946 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 10px !important;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
}
body.single-manga #sidebar .advancedsearch button.searchz:hover {
    background: #c1121f !important;
}

/* Popular widget */
body.single-manga #sidebar .ts-wpop-series-gen .ts-wpop-nav-tabs {
    display: flex !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
body.single-manga #sidebar .ts-wpop-nav-tabs li {
    flex: 1;
    margin: 0 !important;
    float: none !important;
}
body.single-manga #sidebar .ts-wpop-nav-tabs li a {
    display: block !important;
    text-align: center;
    padding: 10px 8px !important;
    color: #888 !important;
    font-size: 13px !important;
    font-weight: 600;
    border: none !important;
    height: auto !important;
    line-height: normal !important;
    background: none !important;
}
body.single-manga #sidebar .ts-wpop-nav-tabs li.active a {
    color: #fff !important;
    background: rgba(230,57,70,0.15) !important;
    border-bottom: 2px solid #e63946 !important;
}

/* Popular list items */
body.single-manga #sidebar .serieslist.pop ul {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}
body.single-manga #sidebar .serieslist.pop ul li {
    display: flex !important;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 15px !important;
    border-bottom: 1px solid rgba(255,255,255,0.04);
}
body.single-manga #sidebar .serieslist.pop ul li .ctr {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    flex-shrink: 0;
    background: rgba(255,255,255,0.06) !important;
    color: #888 !important;
    border: none !important;
}
body.single-manga #sidebar .serieslist.pop ul li:first-child .ctr {
    background: #e63946 !important;
    color: #fff !important;
}
body.single-manga #sidebar .serieslist.pop ul li .leftseries {
    flex: 1;
    min-width: 0;
}
body.single-manga #sidebar .serieslist.pop ul li .leftseries h2 {
    font-size: 13px !important;
    font-weight: 600;
    margin: 0 0 2px !important;
    color: #ddd !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
body.single-manga #sidebar .serieslist.pop ul li .leftseries span {
    font-size: 11px;
    color: #666 !important;
}
body.single-manga #sidebar .serieslist.pop ul li .leftseries span a {
    color: #888 !important;
    font-size: 11px;
}

/* Genres widget on sidebar */
body.single-manga #sidebar .section .genre-list,
body.single-manga #sidebar .section .ts-genres,
body.single-manga #sidebar .section .tagcloud {
    padding: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
body.single-manga #sidebar .section .genre-list a,
body.single-manga #sidebar .section .ts-genres a,
body.single-manga #sidebar .section .tagcloud a {
    display: inline-block !important;
    padding: 4px 12px !important;
    border-radius: 16px !important;
    font-size: 12px !important;
    background: rgba(255,255,255,0.04) !important;
    border: 1px solid rgba(255,255,255,0.06) !important;
    color: #999 !important;
}
body.single-manga #sidebar .section .genre-list a:hover,
body.single-manga #sidebar .section .ts-genres a:hover,
body.single-manga #sidebar .section .tagcloud a:hover {
    background: #e63946 !important;
    border-color: #e63946 !important;
    color: #fff !important;
}

/* Sidebar general link colors */
body.single-manga #sidebar a { color: #ccc !important; }
body.single-manga #sidebar a:hover { color: #fff !important; }

/* ============================================================
   AUTH PAGES (Login / Profile)
   ============================================================ */
.dfk-auth-page {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 40px 20px 60px;
    min-height: 50vh;
}
.dfk-auth-card, .dfk-profile-card {
    width: 100%;
    max-width: 420px;
    background: #16151d;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.06);
    overflow: hidden;
}
.dfk-profile-card { max-width: 500px; }
.dfk-auth-header {
    text-align: center;
    padding: 30px 25px 20px;
    background: linear-gradient(135deg, #1a0a2e 0%, #16213e 100%);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.dfk-auth-header i.fa-user-circle { font-size: 48px; color: #e63946; margin-bottom: 10px; display: block; }
.dfk-auth-header h2 { font-size: 20px; font-weight: 700; color: #fff; margin: 0 0 4px; }
.dfk-auth-header p { font-size: 13px; color: rgba(255,255,255,0.4); margin: 0; }
.dfk-auth-header .dfk-avatar { border-radius: 50%; border: 3px solid #e63946; margin-bottom: 10px; }
.dfk-auth-error {
    margin: 15px 20px 0;
    padding: 10px 14px;
    background: rgba(230,57,70,0.12);
    border: 1px solid rgba(230,57,70,0.3);
    border-radius: 8px;
    color: #f87171;
    font-size: 13px;
}
.dfk-auth-success {
    margin: 15px 20px 0;
    padding: 10px 14px;
    background: rgba(46,125,50,0.12);
    border: 1px solid rgba(46,125,50,0.3);
    border-radius: 8px;
    color: #a5d6a7;
    font-size: 13px;
}
.dfk-auth-form { padding: 20px 25px; }
.dfk-form-group { margin-bottom: 16px; }
.dfk-form-group label {
    display: block;
    font-size: 12.5px;
    font-weight: 600;
    color: #aaa;
    margin-bottom: 6px;
}
.dfk-form-group label i { margin-right: 5px; color: #666; }
.dfk-form-group input,
.dfk-form-group textarea {
    width: 100%;
    padding: 10px 14px;
    background: #1e1d26 !important;
    border: 1px solid rgba(255,255,255,0.08) !important;
    border-radius: 8px;
    color: #fff !important;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.2s;
    box-sizing: border-box;
}
.dfk-form-group input:focus,
.dfk-form-group textarea:focus {
    outline: none;
    border-color: #e63946 !important;
}
.dfk-form-group textarea { resize: vertical; min-height: 70px; }
.dfk-form-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}
.dfk-checkbox {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #999;
    cursor: pointer;
}
.dfk-checkbox input { width: auto; margin: 0; accent-color: #e63946; }
.dfk-forgot-link { font-size: 12.5px; color: #e63946; }
.dfk-forgot-link:hover { color: #ff6b6b; }
.dfk-auth-submit {
    width: 100%;
    padding: 12px;
    background: #e63946;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.dfk-auth-submit:hover { background: #c1121f; }
.dfk-auth-footer {
    text-align: center;
    padding: 15px 25px 20px;
    border-top: 1px solid rgba(255,255,255,0.06);
    font-size: 13px;
    color: #777;
}
.dfk-auth-footer a { color: #e63946; font-weight: 600; }
.dfk-auth-footer a:hover { color: #ff6b6b; }
.dfk-logout-link { color: #e63946 !important; font-weight: 600; }
.dfk-logout-link:hover { color: #ff6b6b !important; }
.dfk-divider { border: none; border-top: 1px solid rgba(255,255,255,0.06); margin: 20px 0 15px; }
.dfk-form-section-title { font-size: 14px; font-weight: 600; color: #ccc; margin: 0 0 15px; }
.dfk-form-section-title i { color: #666; margin-right: 6px; }
.dfk-profile-stats {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.dfk-stat { text-align: center; }
.dfk-stat-num { display: block; font-size: 20px; font-weight: 700; color: #fff; }
.dfk-stat-label { display: block; font-size: 11px; color: #777; text-transform: uppercase; letter-spacing: 0.5px; }

/* ============================================================
   REPORT MODAL
   ============================================================ */
.dfk-report-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    margin-left: 8px;
    padding: 8px 18px;
    background: transparent;
    color: #e63946;
    border: 1.5px solid #e63946;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
    line-height: 1;
}
.dfk-report-btn:hover {
    background: #e63946;
    color: #fff;
}
.dfk-report-btn i { font-size: 12px; }

#dfk-report-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 999999;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.25s ease;
}
#dfk-report-overlay.active { opacity: 1; }

#dfk-report-overlay .dfk-report-modal {
    background: #16162a;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 30px 80px rgba(0,0,0,0.7);
    transform: translateY(25px) scale(0.96);
    transition: transform 0.3s cubic-bezier(.22,.68,0,1.1);
    overflow: hidden;
}
#dfk-report-overlay.active .dfk-report-modal {
    transform: translateY(0) scale(1);
}

@keyframes dfkReportShake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}
.dfk-report-shake { animation: dfkReportShake 0.25s ease 2; }

.dfk-report-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 22px;
    background: rgba(255,255,255,0.02);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.dfk-report-modal-header h3 {
    margin: 0;
    font-size: 16px;
    color: #fff;
    font-weight: 700;
    font-family: 'Cairo', sans-serif;
    display: flex; align-items: center; gap: 8px;
}
.dfk-report-modal-header h3 i { color: #e63946; font-size: 14px; }

.dfk-report-close {
    background: rgba(255,255,255,0.05);
    border: none;
    color: #666;
    font-size: 13px;
    cursor: pointer;
    width: 30px; height: 30px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.2s;
}
.dfk-report-close:hover { background: rgba(230,57,70,0.15); color: #e63946; }

.dfk-report-modal-body { padding: 20px 22px; }

.dfk-report-reasons {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
}
.dfk-report-reason {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 16px;
    background: rgba(255,255,255,0.025);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
}
.dfk-report-reason:hover {
    border-color: rgba(230,57,70,0.3);
    background: rgba(230,57,70,0.04);
}
.dfk-report-reason.selected {
    border-color: rgba(230,57,70,0.5);
    background: rgba(230,57,70,0.08);
}
.dfk-report-reason input[type="radio"] {
    display: none;
}
.dfk-report-reason i {
    color: #555;
    font-size: 14px;
    width: 18px;
    text-align: center;
    transition: color 0.2s;
}
.dfk-report-reason.selected i { color: #e63946; }
.dfk-report-reason span {
    color: #999;
    font-size: 13px;
    font-family: 'Cairo', sans-serif;
    transition: color 0.2s;
}
.dfk-report-reason.selected span { color: #fff; }

.dfk-report-message {
    display: block;
    width: 100%;
    min-height: 70px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    padding: 12px 16px;
    color: #fff;
    font-size: 13px;
    font-family: 'Cairo', sans-serif;
    resize: vertical;
    margin-bottom: 16px;
    box-sizing: border-box;
}
.dfk-report-message::placeholder { color: #444; }
.dfk-report-message:focus { outline: none; border-color: rgba(230,57,70,0.35); }

.dfk-report-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 13px;
    background: #e63946;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    font-family: 'Cairo', sans-serif;
    transition: all 0.2s;
}
.dfk-report-submit:hover {
    background: #ff4757;
    box-shadow: 0 4px 18px rgba(230,57,70,0.3);
}
.dfk-report-submit:disabled { opacity: 0.5; cursor: not-allowed; box-shadow: none; }
.dfk-report-submit i { font-size: 13px; }

.dfk-report-success {
    display: none;
    text-align: center;
    padding: 40px 20px;
    color: #4ade80;
}
.dfk-report-success i {
    font-size: 46px;
    display: block;
    margin-bottom: 12px;
}
.dfk-report-success span {
    font-size: 15px;
    font-weight: 600;
    font-family: 'Cairo', sans-serif;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
    .dfk-grid,
    .dfk-fullwidth .listupd { grid-template-columns: repeat(3, 1fr) !important; }
}
@media (max-width: 880px) {
    .dfk-grid,
    .dfk-fullwidth .listupd { grid-template-columns: repeat(2, 1fr) !important; }
    .dfk-social-links { grid-template-columns: 1fr; }
    .dfk-fullwidth .bloglist { grid-template-columns: 1fr; }
    .dfk-sidebar-area #sidebar { grid-template-columns: repeat(2, 1fr) !important; }
    /* Manga page: stack sidebar below */
    body.single-manga .postbody {
        float: none !important;
        width: 100% !important;
        padding-right: 0 !important;
    }
    body.single-manga #sidebar {
        float: none !important;
        width: 100% !important;
        margin-top: 18px;
    }
}
@media (max-width: 800px) {
    .dfk-header-inner {
        flex-wrap: wrap;
        height: auto;
        padding: 10px 15px;
    }
    nav#main-menu.dfk-nav,
    .dfk-nav {
        display: none !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        background: rgba(13,12,17,0.98) !important;
        z-index: 99998 !important;
        flex-direction: column !important;
        height: 100% !important;
        overflow-y: auto !important;
        padding-top: 60px !important;
    }
    nav#main-menu.dfk-nav.shwx,
    .dfk-nav.shwx { display: flex !important; }
    nav#main-menu.dfk-nav ul,
    .dfk-nav ul {
        flex-direction: column !important;
        margin: 0 !important;
        width: 100% !important;
    }
    nav#main-menu.dfk-nav ul li a,
    .dfk-nav ul li a {
        height: auto !important;
        line-height: normal !important;
        padding: 11px 18px !important;
    }
    nav#main-menu.dfk-nav ul li ul,
    .dfk-nav ul li ul {
        position: static !important;
        display: block !important;
        box-shadow: none !important;
        border: none !important;
        border-radius: 0 !important;
        background: rgba(255,255,255,0.03) !important;
        padding: 0 !important;
    }
    .shme {
        display: block !important;
        float: none !important;
        color: #fff;
        cursor: pointer;
        padding: 8px;
        font-size: 22px;
        margin-right: 10px;
        position: relative;
        z-index: 99999;
    }
    .shme.active { color: #e63946; }
    .dfk-header header {
        display: block !important;
    }
    .dfk-header .logos img {
        max-height: 32px;
    }
    .dfk-hero { padding: 35px 15px 25px; }
    .dfk-hero-title { font-size: 21px; }
    .dfk-cover-slider { padding: 18px 0; }
    .dfk-cover-title { font-size: 13px; max-width: 160px; }
    .dfk-login-btn span { display: none; }
    .dfk-search-box { display: none; }
    .dfk-actions { gap: 6px; }
    /* Manga page mobile */
    .bigcontent {
        padding: 15px !important;
        padding-top: 0 !important;
    }
    .bigcontent.nobigcover { padding-left: 15px !important; }
    .bigcontent .thumbook {
        position: relative !important;
        left: auto !important;
        top: auto !important;
        width: 100% !important;
        display: flex;
        gap: 12px;
        margin-bottom: 15px;
    }
    .bigcontent .thumb { max-width: 140px; }
    .bigcontent .rt { flex: 1; padding-top: 5px; }
    .lastend { grid-template-columns: 1fr; }
}
@media (max-width: 670px) {
    .dfk-grid,
    .dfk-fullwidth .listupd { grid-template-columns: repeat(2, 1fr) !important; gap: 10px !important; padding: 10px !important; }
    .dfk-card-cover { width: 88px; min-height: 135px; }
}
@media (max-width: 500px) {
    .dfk-grid,
    .dfk-fullwidth .listupd { grid-template-columns: 1fr !important; }
    .dfk-card-cover { width: 95px; min-height: 145px; }
    .dfk-hero-tabs { gap: 5px; }
    .dfk-hero-tab { padding: 7px 14px; font-size: 12px; }
    .dfk-sidebar-area #sidebar { grid-template-columns: 1fr !important; }
}
