/* 
Theme Name: Madara-Child-Darkitus 
Description: A child theme for Madara - Manga WordPress Theme. 
Codename: TP 
Author: Mangabooth / WPStylish 
Author URI: https://mangabooth.com/ 
Template: madara 
Tags: one-column, two-columns, right-sidebar, custom-header, custom-menu, editor-style, featured-images, microformats, post-formats, rtl-language-support, sticky-post, translation-ready 
Version: 1.0.4
*/

/* --- ESTILIZAÇÃO PMS (Paid Member Subscriptions) --- */

/* 1. Navegação por Abas (Menu de Conta) */
.pms-account-navigation ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 25px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
}

.pms-account-navigation-link a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 6px;
    transition: 0.3s;
}

.pms-account-navigation-link a:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
}

/* Aba Ativa */
.pms-account-navigation-link a.pms-account-navigation-link--active {
    background: var(--accent-color);
    color: white;
}

/* 2. Formulário de Perfil */
.pms-form-fields-wrapper {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr; /* Duas colunas no desktop */
    gap: 20px;
}

.pms-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Campos que ocupam a linha inteira */
.pms-user-login-field, 
.pms-user-email-field,
.pms-form-fields-wrapper li:last-child {
    grid-column: span 2;
}

.pms-field label {
    font-weight: 600;
    color: var(--text-main);
}

.pms-field input[type="text"],
.pms-field input[type="password"],
.pms-field input[type="email"] {
    width: 100%;
    padding: 12px;
    border-radius: 6px;
    border: 1px solid var(--border-color);
    background: #0f111a;
    color: white;
}

.pms-field input:disabled {
    background: #12141d;
    color: #64748b;
    cursor: not-allowed;
    border-style: dashed;
}

/* Botão de Salvar */
input[name="pms_edit_profile"] {
    background: var(--accent-color);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 6px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
    margin-top: 10px;
}

input[name="pms_edit_profile"]:hover {
    background: var(--accent-hover);
}

/* 3. Tabela de Pagamentos */
.pms-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    font-size: 0.9rem;
}

.pms-table th {
    text-align: left;
    padding: 12px;
    background: rgba(255, 255, 255, 0.02);
    color: var(--text-secondary);
    border-bottom: 2px solid var(--border-color);
}

.pms-table td {
    padding: 12px;
    border-bottom: 1px solid var(--border-color);
}

/* Status: Pendente */
.status-pending {
    color: #fbbf24; /* Amarelo/Laranja */
    font-weight: 600;
    background: rgba(251, 191, 36, 0.1);
    padding: 4px 8px;
    border-radius: 4px;
}

@media (max-width: 600px) {
    /* Ajuste na tabela para não sobrepor texto */
    .pms-table, 
    .pms-table tbody, 
    .pms-table tr, 
    .pms-table td {
        display: block;
        width: 100%;
    }

    .pms-table thead {
        display: none; /* Esconde o cabeçalho original */
    }

    .pms-table tr {
        margin-bottom: 15px;
        border: 1px solid var(--border-color);
        border-radius: 8px;
        padding: 10px;
        background: rgba(255, 255, 255, 0.02);
    }

    .pms-table td {
        text-align: right;
        padding: 8px 10px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        position: relative;
        display: flex;
        justify-content: space-between; /* Alinha título na esquerda e valor na direita */
        align-items: center;
        font-size: 0.85rem;
    }

    .pms-table td:last-child {
        border-bottom: none;
    }

    /* Adiciona os rótulos dinamicamente sem bugar o layout */
    .pms-table td::before {
        content: attr(data-label); /* Usa um atributo data ou texto manual */
        font-weight: bold;
        color: var(--text-secondary);
        text-transform: uppercase;
        font-size: 0.7rem;
    }

    /* Caso o plugin não gere data-label, usamos seletores específicos para os nomes em Português */
    .pms-payment-id::before { content: "ID:"; }
    .pms-payment-subscription-plan::before { content: "Plano:"; }
    .pms-payment-amount::before { content: "Valor:"; }
    .pms-payment-date::before { content: "Data:"; }
    .pms-payment-status::before { content: "Status:"; }
}

/* --- AJUSTE DO CABEÇALHO --- */
.profile-header {
    display: flex;
    flex-direction: column;
    align-items: center; /* Centraliza tudo horizontalmente */
    justify-content: center;
    background: var(--card-bg);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid var(--border-color);
}

.avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid var(--accent-color);
    object-fit: cover;
    margin-bottom: 15px;
    display: block; /* Garante que não haja espaço extra abaixo */
}

.container {
            width: 100%;
            max-width: 800px;
            display: flex;
            flex-direction: column;
            gap: 20px;
        }

        .user-email {
            color: var(--text-secondary);
            font-size: 0.9rem;
            margin-bottom: 20px;
        }

        .stats-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 10px;
            border-top: 1px solid var(--border-color);
            padding-top: 20px;
        }

        .stat-item span {
            display: block;
            font-size: 0.8rem;
            color: var(--text-secondary);
            text-transform: uppercase;
        }

        .stat-item strong {
            font-size: 1rem;
            color: var(--accent-color);
        }

        /* 2, 3, 4. SEÇÕES GERAIS */
        .section-card {
            background: var(--card-bg);
            padding: 25px;
            border-radius: 12px;
            border: 1px solid var(--border-color);
        }


        .empty-state {
            color: var(--text-secondary);
            font-style: italic;
            text-align: center;
            padding: 20px;
        }

        /* FORMULÁRIO DE SENHA */
        .form-group {
            margin-bottom: 15px;
        }

        label {
            display: block;
            margin-bottom: 5px;
            font-size: 0.9rem;
            color: var(--text-secondary);
        }

        input:focus {
            border-color: var(--accent-color);
        }

        .btn-action {
            background: var(--accent-color);
            color: white;
            border: none;
            padding: 12px 24px;
            border-radius: 6px;
            font-weight: 600;
            cursor: pointer;
            transition: 0.3s;
            width: 100%;
        }

        .btn-action:hover {
            background: var(--accent-hover);
        }

        /* 5. CONFIGURAÇÕES / BADGE */
        .role-badge {
            display: inline-block;
            background: rgba(59, 130, 246, 0.1);
            color: var(--accent-color);
            padding: 4px 12px;
            border-radius: 20px;
            font-weight: bold;
            font-size: 0.85rem;
            margin-top: 5px;
        }

        /* RESPONSIVIDADE */
        @media (max-width: 600px) {
            .stats-grid {
                grid-template-columns: 1fr;
                gap: 20px;
            }
            
            body {
                padding: 10px;
            }
        }



.btn-vip { gap: 10px;     padding: 6px 16px; border-radius: 50px; height: 32px; justify-content: center;
text-align:vertical-text;
	color: black !important;
}

.btn-coin { color:black !important;}

/* Container Principal */
#pms_new_subscription-form {
    margin: 20px auto;
    padding: 30px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    font-family: 'Segoe UI', Roboto, sans-serif;
}

/* Esconder os bullet points da lista */
.pms-form-fields-wrapper {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Estilização dos Planos (Cartões) */
.pms-subscription-plan {
    margin-bottom: 12px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.pms-subscription-plan:hover {
    border-color: #3b82f6;
    background-color: #f8faff;
}

/* Quando o rádio está marcado, destaca o card */
.pms-subscription-plan label {
    display: flex;
    align-items: center;
    padding: 15px;
    cursor: pointer;
    width: 100%;
}

.pms-subscription-plan input[type="radio"] {
    margin-right: 15px;
    transform: scale(1.2);
}

/* Nomes e Preços */
.pms-subscription-plan-name {
    font-weight: 700;
    color: #1e293b;
    flex-grow: 1;
}

.pms-subscription-plan-price {
    font-weight: 600;
    color: #3b82f6;
}

/* Seção de Renovação Automática */
.pms-subscription-plan-auto-renew {
    margin: 15px 0;
    padding: 10px;
    font-size: 14px;
    color: #64748b;
    border-top: 1px solid #f1f5f9;
}

/* Detalhes de Pagamento (Stripe) */
.pms-field-section h3 {
    font-size: 18px;
    margin: 25px 0 15px 0;
    color: #1e293b;
    border-bottom: 2px solid #f1f5f9;
    padding-bottom: 8px;
}

#pms-stripe-payment-elements {
    background: #f8fafc;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

/* Botão de Inscrição */
input[name="pms_new_subscription"] {
    width: 100%;
    background: #2563eb;
    color: white;
    border: none;
    padding: 16px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s ease;
    margin-top: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

input[name="pms_new_subscription"]:hover {
    background: #1d4ed8;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}




/* ================================
   AVATAR CIRCULAR DO USUÁRIO
   ================================ */

.c-user_item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 10px;
    background: transparent;
}

.user_avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.c-user_avatar-image img {
    width: 50px !important;
    height: 50px !important;
    object-fit: cover;
    border-radius: 50px !important;
}

/* Nome do usuário */
.c-user_name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-color, #fff);
}

/* Pequena animação no hover (opcional) */
.c-user_item:hover .user_avatar {
    transform: scale(1.05);
    transition: 0.2s ease;
}


.brand img {
    object-fit: contain;
}


:root {
/* Base */
--bg-app: #0a0a0c;
--bg-sidebar: #121214;
--bg-card: #18181b;
--bg-hover: #202024;
--bg-color: #0f111a;
--card-bg: #1a1d29;
--accent-color: #3b82f6;
--accent-hover: #2563eb;
--text-main: #ffffff;
--text-secondary: #94a3b8;
--border-color: #2d334a;

/* Cores da Marca */
--primary: #7c3aed;
--primary-dark: #5b21b6;
--accent-new: #06b6d4;
--accent-hot: #f43f5e;

/* Texto */
--text-main: #ffffff;
--text-muted: #a1a1aa;

/* Dimensões */
--sidebar-w: 240px;
--header-h: 70px;
--card-radius: 8px;
--bottom-nav-h: 60px; /* Altura do menu mobile background-color: var(--bg-app); */
	
}

* { margin: 0;
	padding: 0;
	box-sizing: border-box;
	outline: none;
	-webkit-tap-highlight-color:transparent;
	font-family: 'Inter', sans-serif;
}

body {

color: var(--text-main);
font-family: 'Inter', sans-serif;
display:flex;
height: 100dvh; /* Dynamic viewport height para mobile */
overflow: hidden; 
	
background-color: var(--bg-color);
          
            justify-content: center;
}

body.text-ui-light .body-wrap{
    background-color: #1e1f21;
}



body.manga-page .profile-manga{
    margin-bottom: 0;
}
 body.manga-page .profile-manga .tab-summary {
    padding: 25px 0 20px 0;
    display: block
}
 body.text-ui-light.manga-page .profile-manga .tab-summary .summary_image, body.text-ui-light.manga-page .profile-manga .tab-summary .summary_content_wrap .summary_content, body.manga-page .profile-manga .tab-summary .summary_image, body.manga-page .profile-manga .tab-summary .summary_content_wrap .summary_content{
    background:transparent;
     padding: 0
}
 body.manga-page .profile-manga .tab-summary:after{
    content:'';
     clear:both;
     display: block;
}
 body.manga-page .profile-manga .tab-summary .summary_image{
    width: 46.5rem;
     display:block;
     float:left
}
 body.manga-page .profile-manga .tab-summary .summary_content_wrap{
    display:block;
     width:calc(100% - 46.55rem);
     float:right
}
body.manga-page.text-ui-light .profile-manga .tab-summary .summary_content_wrap{color:#fff;}
body.manga-page.text-ui-dark .profile-manga .tab-summary .summary_content_wrap{color:#333;}
 body.manga-page .profile-manga .tab-summary .summary_content_wrap .summary_content .post-content{
    width:100%;
    padding-top:40px
}
 body.manga-page .profile-manga .post-title h1{
    word-break: keep-all;
     max-width: none;
    overflow: hidden;
     text-overflow: ellipsis;
     white-space: nowrap;
     padding: 5px 0;
     margin: 0
}
 body.manga-page .profile-manga .post-title h1{
     font-size: 24px;
}
body.manga-page.text-ui-light .profile-manga .post-title h1{color:#FFF}
 .hidden{
    display:none
}
 .profile-manga .manga-summary{
    overflow: hidden;
     max-height: 4.4rem;
     word-break: keep-all;
     display: -webkit-box;
     -webkit-line-clamp: 3;
     -webkit-box-orient: vertical;
     font-size:16px
}
 .manga-authors{
    margin-bottom: 10px
}
 .manga-info-row .add-bookmark{
    text-align: center;
     float:right;
     max-width: 80px;
}
 .manga-info-row .add-bookmark .action_detail{
    text-transform: uppercase;
     font-size: 0.8em;
}
.text-ui-light .manga-info-row .add-bookmark .action_detail{color:#CCC}
 .manga-info-row .add-bookmark .action_icon{
    line-height: 20px;
}
 .manga-info-row .add-bookmark .icon{
    font-size:20px;
}
.text-ui-light .manga-info-row .add-bookmark .icon{
   color:#ccc}
 .manga-rate-view-comment{
    border: 1px solid rgb(63,63,63);
    padding:3px 10px;
     border-radius: 3px;
     display: inline-block;
     margin: 0 0 16px 0
}
 .manga-rate-view-comment .item{
    margin:0 5px;
     display:inline;
     
}
.text-ui-light .manga-rate-view-comment .item{color:rgb(187,187,187)}
 .manga-summary{
    margin-bottom: 10px
}
 body.manga-page .profile-manga .tab-summary .post-content_item .summary-content .genres-content, body.manga-page .profile-manga .tab-summary .post-content_item .summary-content .tags-content{
     max-height: 94px;
     overflow-wrap: break-word;
     display: inline-block;
     letter-spacing: -0.2px;
     white-space: nowrap;
     flex-wrap: wrap;
     width: 100%;
     -webkit-line-clamp: unset;
     -webkit-box-orient: unset;
     text-overflow: ellipsis;
     white-space: nowrap;
     overflow: hidden;
     min-height: 31px;
     line-height: 27px;
}
 .genres-content a{
    display: inline-block;
     border: 1px solid rgb(63,63,63);
     border-radius: 2px;
     padding: 5px 10px;
     color: rgb(102,102,102);
     line-height: 13px;
     font-size: 13px;
     margin:0 !important;
     margin-bottom:5px !important
}
body.manga-page .page-content-listing.single-page .listing-chapters_wrap > ul > li.has-child > i.icon, .shortcode-manga-chapters .listing-chapters_wrap > ul > li.has-child > i.icon{top:5px}
 .text-ui-light .genres-content a:hover,.text-ui-light .tags-content a:hover{
    color:#FFF
}
 .tags-content a{
    margin: 0px 2px 0px 0px;
     color: rgb(102, 102, 102);
     border-radius: 2px;
     padding: 5px 6px;
     font-size: 13px;
     cursor: pointer;
     margin: 0 !important
}
body.manga-page .profile-manga .tab-summary .post-content_item .summary-heading, body.manga-page .profile-manga .post-status .post-content_item .summary-heading{
    width:80px
}
 .profile-manga .manga-bookmark{
    display:inline-block
}
 .profile-manga .manga-bookmark .action_icon{
    display:inline-block
}
 .profile-manga .manga-bookmark .action_detail{
    display: none;
     position: absolute;
     bottom: -27px;
     left: 0;
     font-size: 14px;
     color: #666;
}
 .profile-manga .manga-bookmark:hover .action_detail{
    display: block
}
 .profile-manga .wp-manga-delete-bookmark{
    width:100px;
     padding:3px 30px;
     border: 1px solid #CCC;
     border-radius: 3px;
     font-size:24px;
}
 #init-links{
    font-size:30px;
     position:relative
}
 #init-links .c-btn.c-btn_style-1{
    display:inline;
    line-height:40px
}
 body.manga-page .page-content-listing.single-page .listing-chapters_wrap > ul.main.version-chap li .chapter-release-date, .shortcode-manga-chapters .listing-chapters_wrap > ul.main.version-chap li .chapter-release-date{
    display: block;
     position: relative;
     top:0;
     right:auto;
     transform: unset;
    -webkit-transform: unset;
}




.text-ui-dark .menu_icon__open > span{background-color:#acacac}
.text-ui-dark .menu_icon__open:hover > span{background-color:#333}
 .wrap_branding .logo{
    float:left
}
 .manga-rate-view-comment .fa-thumbs-up{
    color:#eb3349
}
 #init-links .c-btn.c-btn_style-1, .c-btn.c-btn_style-1{
    border-radius: 20px;
     padding: 10px 20px
}
.manga-title-badges.custom{
   float: left;
   border-radius: 50%;
   width: 24px;
   height: 24px;
   text-align: center;
   padding-left: 5px;
   margin-top: 2px;
}

.slider__thumb_item > .manga-title-badges{margin-top:2px}
.slider__thumb_item > .manga-title-badges:nth-child(2){left:26px}
 .manga-authors a{
    color: rgb(170,170,170);
}
 .summary-heading h5{
    font-weight: normal;
}
 #btn-manga-info-popup{
     display: inline-block;
     margin: 0 0 10px 0 ;
    font-size: 12px
}
.text-ui-light #btn-manga-info-popup{
   color:rgb(187,187,187);}
 #manga-chapters-holder .c-blog__heading.style-2{
    height:35px;
     border-bottom-width: 1px;
    margin-top:15px
}
 #manga-chapters-holder .c-blog__heading .btn-reverse-order{
    float:right
}
 body.page.single-wp-manga .c-page-content .content-area{
    margin-top: 0;
}
 body.manga-page .page-content-listing.single-page .listing-chapters_wrap > ul li a, .shortcode-manga-chapters .listing-chapters_wrap > ul li a{
    padding:5px 0
}
 .listing-chapters_wrap .wp-manga-chapter.reading:before{
    top:0
}
 .page-content-listing.single-page .cols-2 ul.version-chap.no-volumn li.parent, .page-content-listing.single-page .cols-2 ul.version-chap.volumns .sub-chap .sub-chap-list li.parent{
    flex: 0 0 100%
}
 body.manga-page .page-content-listing.single-page .listing-chapters_wrap > ul.main.version-chap .sub-chap > li:after, .shortcode-manga-chapters .listing-chapters_wrap > ul.main.version-chap .sub-chap > li:after, body.manga-page .page-content-listing.single-page .listing-chapters_wrap > ul.main.version-chap li.parent:after, .shortcode-manga-chapters .listing-chapters_wrap > ul.main.version-chap li.parent:after{
    display: none
}
 body.single-wp-manga .c-page-content .main-col:not(.sidebar-hidden){
    padding-right: 0;
}
 .home h2{
    font-size:24px;
     margin-bottom: 15px;
}
 .manga-slider .slider__container.slick-dotted{
    padding: 0 15px
}
 body.page .manga-slider .related__item{
    padding:0 5px
}
 body.page .manga-tp-slider .related__container .related__item .related__content{
    position: relative;
     padding: 10px 0;
    text-align: left;
    bottom: auto;
     left: 0;
     right: auto;
     transform: initial;
}
 body.page .manga-tp-slider .related__container .related__item .related__content a{
    color:#fff
}
 .c-user_avatar-image{
    text-align: center;
}
 .c-user_avatar{
    padding-left: 10px;
}
 .c-user_avatar-image .title{
    display: block;
     font-size: 12px;
     color: #fff;
     padding-top:7px
}

.wrap_branding .logo{line-height: 70px; vertical-align: middle;}

 .section_adult{
   font-size:10px;
   margin: 29px 5px;
   padding: 0 2px;
}

body.text-ui-light .section_adult.off a:hover, body.text-ui-light .section_adult.on a:not(:hover){color:#46b5a5}

.text-ui-light .section_adult.off a{
    color:#FFF
}

 .manga-slider.style-3 .slider__item{
    padding: 5px
}

.text-ui-dark .manga-slider.style-3 .slider__container{box-shadow:none}
 body.page .manga-tp-slider .related__container .related__item:hover .related__content{
    transform: none;
     webkit-transform: none
}




 .menu_icon__open > span{
    width:25px
}



.section_adult.on a, .section_adult.off a:hover{color:#000}
 .slick-dots li{
    width:15px
}
 .slick-dots li button:before{
    color:#616263
}
 .manga-slider .slider__container .slick-dots{
    bottom: -25px;
}
 .tp-heading{
    justify-content: space-between;
    align-items: center;
     display: flex;
}
 .tp-heading a.link{
    font-size: 12px;
}
 .slider__container .post-title h5{
    font-size:18px
}
 .slider__container .post-title h5 a{
    font-weight: 400;
}
 .related__content_item .manga-title-badges{
    margin-right:2px
}
 .tp-heroslider .slider__container .slick-list .slick-track .slider__item .slider__content{
    position: relative;
    opacity: 1;
    visibility: visible;
     text-align: left;
}
 .tp-heroslider .slider__thumb{
    width:300px;
     position: absolute;
     left: -100px;
     top: -30px;
     z-index: 1
}
 .tp-heroslider .slider_item_inner{
    position:relative;
     margin: 50px 0 0 100px;
     border:1px solid #575960;
     padding: 50px 50px 50px 230px;
     height: 420px;
     width: 785px
}
.text-ui-light .tp-heroslider .slider_item_inner{border-color:#575960; background:#35363a;}
.text-ui-dark .tp-heroslider .slider_item_inner{border-color:#e4e4e4; background:#f2f2f2;}

 .tp-heroslider .slider__container .slick-list .slick-track .slider__item .slider__content .slider__content_item{
    -webkit-transition:none;
     transition:none;
     webkit-transform:none;
    transform:none
}
 .tp-heroslider .slick-slide{
   margin: 0 20px;
   transform: translate(-114px,0);
}
 .tp-heroslider .manga-summary{
    overflow: hidden;
     text-overflow: ellipsis;
     display: -webkit-box;
     -webkit-line-clamp: 5;
     -webkit-box-orient: vertical;
    font-size: 16px;
     line-height: 1.5em;
}
.text-ui-light .tp-heroslider .manga-summary{color:#FFF}
.text-ui-dark .tp-heroslider .manga-summary{color:#333}
.text-ui-dark .tp-heroslider .slick-arrow:before{color:#e503036b}
.text-ui-dark .tp-heroslider .font-title a, body.page.text-ui-dark  .manga-tp-slider .related__container .related__item .related__content a{color:#eb3349}

 .tp-heroslider .c-btn.c-btn_style-1{
    padding: 5px 30px;
     color: #FFF;
     margin:10px 0
}
 .tp-heroslider .manga-views i{
    margin: 0 5px 0 0
}
 body.text-ui-light .tp-heroslider .post-title a:not(:hover), body.text-ui-light .tp-heroslider .post-title a:hover{
    font-size:24px;
     color:#FFF
}
 .tp-heroslider .slick-arrow{
    visibility: hidden
}
 .tp-heroslider:hover .slick-arrow{
    visibility: visible;
    z-index: 2;
}
 .tp-heroslider .slick-arrow:before{
    color:#f2f2f26b;
     font-size:40px
}
 .tp-heroslider .slick-arrow.slick-next{
    right:0
}
 .site-footer{
    text-align: left;
}
 .profile-manga .post-title .manga-title-badges{
    margin-top:8px
}
 .widget:not(.default):not(.background) > .c-widget-wrap, body.text-ui-light .widget:not(.default):not(.background) > .c-widget-wrap{
    border: 1px solid rgb(63,63,63)
}
 .widget.heading-style-2.no-icon .c-blog__heading{
    border-bottom: none;
}
 body.text-ui-light .widget.c-popular .popular-item-wrap, body.text-ui-light .c-blog__heading.style-2, body.text-ui-light .c-blog__heading.style-2{
    border-color: rgb(63,63,63);
    border-bottom-width: 1px;
}
body.manga-page.text-ui-dark .page-content-listing.single-page .listing-chapters_wrap > ul.main.version-chap li .wp-manga-chapter a:not(:hover),.text-ui-dark .shortcode-manga-chapters .listing-chapters_wrap > ul.main.version-chap li .wp-manga-chapter a:not(:hover){color:#333}

.listing-chapters_wrap .wp-manga-chapter a, body.text-ui-light .listing-chapters_wrap .wp-manga-chapter a:not(:hover){
    font-size:18px;
}
.text-ui-light .listing-chapters_wrap .wp-manga-chapter a, body.text-ui-light .listing-chapters_wrap .wp-manga-chapter a:not(:hover){color:#FFF}
body.manga-page .page-content-listing.single-page .listing-chapters_wrap > ul.main.version-chap li, .shortcode-manga-chapters .listing-chapters_wrap > ul.main.version-chap li{
    padding-bottom:10px
}
body.manga-page .page-content-listing.single-page .listing-chapters_wrap > ul.main.version-chap li:after, .shortcode-manga-chapters .listing-chapters_wrap > ul.main.version-chap li:after{
    top: 0
}

body.modal-open #form-readmore.modal .modal-dialog{
    background:#FFF
}
 body.modal-open #form-readmore.modal .modal-body{
    height:500px;
     overflow-y: auto;
}
 body.modal-open #form-readmore.modal, body.modal-open #form-readmore.modal h5{
    color: rgb(51,51,51);
}
 body.modal-open #form-readmore.modal .manga-info{
    margin-bottom: 20px;
    padding-bottom:20px;
    border-bottom:1px solid rgb(221,221,221)
}
 body.modal-open #form-readmore.modal .manga-info:first-child{
    padding-bottom: 0;
     border:none
}
 body.text-ui-light #form-readmore.modal .genres-content a:not(:hover), body.text-ui-light #form-readmore.modal .related-reading-content a, body.text-ui-light #form-readmore.modal h4{
    color: rgb(51,51,51);
}
 body.text-ui-light #form-readmore.modal .c-blog__heading.style-2, body.text-ui-light #form-readmore.modal .c-blog__heading.style-2{
    border-bottom:none;
     margin-bottom: 20px;
}
 body.text-ui-light #form-readmore.modal .c-blog__heading.style-2 i{
    display: none;
}
 #form-readmore.modal .manga-related .col-12{
    padding:0 5px
}
 #form-readmore.modal .related-reading-wrap .related-reading-content h5{
    line-height: 1.2em;
    -webkit-line-clamp:1
}
 .reading-manga.minimal-reading-layout #chapter-heading{
    margin-top: 0;
     padding-top:20px;
     font-weight: normal;
}
 .reading-manga.minimal-reading-layout #manga-reading-nav-head .entry-header_wrap{
    display: none
}
 .reading-manga.minimal-reading-layout .site-footer{
    display: none
}
 #manga-chapters-sidebar{
    position: fixed;
     right: 0;
     width: 150px;
     background: rgb(51,51,51);
     top: 0;
     height: 100%;
     overflow-y: auto;
     visibility: hidden;
     padding-top:50px;
    z-index: 2;
}
 #manga-chapters-sidebar.visible{
    visibility: visible;
}
 #chapter-heading #view-chapters{
    float:right
}
 #manga-chapters-sidebar .listing-chapters_wrap ul.main{
    list-style: none;
    padding: 0 15px
}
 #manga-chapters-sidebar .listing-chapters_wrap .wp-manga-chapter a{
    display: block;
}
 #manga-chapters-sidebar .listing-chapters_wrap .wp-manga-chapter{
    margin-bottom: 10px;
    position: relative;
}
 #manga-chapters-sidebar .listing-chapters_wrap .wp-manga-chapter a, body.text-ui-light #manga-chapters-sidebar .listing-chapters_wrap .wp-manga-chapter a:not(:hover){
    font-size:14px
}
 #manga-chapters-sidebar .listing-chapters_wrap .wp-manga-chapter .chapter-release-date{
    font-size: 12px;
     display: block;
}
 #manga-chapters-sidebar #manga-chapters-holder .c-blog__heading.style-2{
    display: none;
}
 #manga-chapters-sidebar .listing-chapters_wrap .wp-manga-chapter .chapter-thumbnail{
    margin-bottom: 10px;
}
 @media (max-width: 768px){
     body.manga-page .profile-manga .tab-summary .summary_image {
         width: 100% 
    }
     body.manga-page .profile-manga .tab-summary .summary_content_wrap{
         float: none;
         width: 100%;
    }
   
    
     .c-user_avatar-image .title{
        font-size:10px;
         line-height: 0;
         padding-top:10px
    }
     .section_adult.off{
        margin:0;
         font-size:10px;
         padding:3px;
         line-height: 10px;
    }
    
     body.manga-page .page-content-listing.single-page .listing-chapters_wrap > ul.main.version-chap li.has-thumb{
        height: 100px
    }
     .main-col-inner{
        padding-bottom:0
    }
     body.single-wp-manga .c-page-content .main-col:not(.sidebar-hidden){
        padding-right:15px
    }
     .site-footer .bottom-footer .nav-footer ul{
        text-align: center;
    }
}

 .off-canvas.mobile-menu .c-modal_item .c-modal_sign-in{
    width:46%;
    display: inline-block;
}
 .off-canvas.mobile-menu .c-modal_item .c-modal_sign-up{
    width:46%;
    margin-top: 0;
    display: inline-block;
}
 .off-canvas .c-modal_item {
    text-align: center;
    display: block;
    padding: 0 20px;
}

 .off-canvas .c-modal_item a{
    border-radius:5px;
     border-width: 1px;
    padding: 5px 10px;
     font-weight: normal;
     display: block;
}
 body.text-ui-light a:not(:hover) {
    color: #c9bcd6;
}
 .off-canvas ul{
    padding:0 20px
}
 .off-canvas .section_adult.off {
    border: 1px solid rgba(250, 247, 250, 0.3);
}

 .site-footer .bottom-footer .nav-footer ul li:first-child{
    padding-left: 0;
}
 .c-footer-sidebar{
    font-size: 12px;
}
body.page .manga-tp-slider{padding:0 10px}

body.page .manga-tp-slider .related__container:after {
     display: table;
     content: "";
     clear: both;
}
 body.page .manga-tp-slider .related__container .related__item {
     position: relative;
     max-width: 100%;
     padding-left:5px;
     padding-right:5px
}
 body.page .manga-tp-slider .related__container .related__item .related__thumb .related__thumb_item {
     position: relative;
}
 body.page .manga-tp-slider .related__container .related__item .related__thumb .related__thumb_item .related-overlay {
     position: absolute;
     top: 0;
     bottom: 0;
     left: 0;
     right: 0;
     background: #ebebeb;
     background: -webkit-linear-gradient(top, rgba(255, 255, 255, 0), rgba(0, 0, 0, 0.9));
     background: -o-linear-gradient(bottom, rgba(255, 255, 255, 0), rgba(0, 0, 0, 0.9));
     background: -moz-linear-gradient(bottom, rgba(255, 255, 255, 0), rgba(0, 0, 0, 0.9));
     background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(0, 0, 0, 0.9));
}
 body.page .manga-tp-slider .related__container .related__item .related__content {
     position: absolute;
     bottom: 22px;
     left: 15px;
     right: 15px;
     padding: 0px 15px;
     text-align: center;
     -webkit-transition: -webkit-transform 0.35s;
     transition: transform 0.35s;
     webkit-transform: translate3d(0, 40px, 0);
     transform: translate3d(0, 40px, 0);
     padding-bottom: 30px;
}
 body.page .manga-tp-slider .related__container .related__item .related__content a {
     color: #fff;
}
 body.page .manga-tp-slider .related__container .related__item.no-thumb .related__content {
     bottom: 0;
     position: relative;
}
 body.page .manga-tp-slider .related__container .related__item.no-thumb .related__content a {
     color: #eb3349;
}
 body.page .manga-tp-slider .related__container .related__item:hover .related__content {
     webkit-transform: translate3d(0, 30px, 0);
     transform: translate3d(0, 30px, 0);
}
 .manga-tp-slider .slider__container .slick-dots li {
     margin: 0;
}
 .manga-tp-slider .slider__container .slick-dots li button:before {
     font-size: 10px;
}
 .manga-tp-slider .slider__container .slick-dots li.slick-active button:before{
     color:#eb3349 
}
 .wpcp-carousel-section .wpcp-swiper-dots .swiper-pagination-bullet{
    width:8px;
    height:8px
}

 body.page .manga-tp-slider .related__container .related__item .related__content{
    position: relative;
    text-align: left;
    padding:10px 0 0 0;
    left:0;
    right:auto;
     transform: unset;
    -webkit-transform: unset;
    bottom:0;
}
 body.page .manga-tp-slider .related__container .related__item:hover .related__content{
    transform: unset;
    -webkit-transform: unset;
}
 body.page .manga-tp-slider .related__container .related__item .related__content h5{
    text-overflow: ellipsis;
    overflow:hidden;
    white-space: nowrap;
}
 .slick-track {
     display: flex !important;
}
 .slick-slide {
     height: inherit !important;
}
 #manga-chapters-sidebar .listing-chapters_wrap .wp-manga-chapter.reading img{
    border:2px solid #FF0000
}
 #chapter-heading{
    line-height: 30px;
}
 .manga-shortcodes.manga-chapters-listing .release.has-thumb .chapter-thumbnail{
   margin:0 0 10px 0;
   max-width: 50px;
}

body.manga-page .page-content-listing.single-page .listing-chapters_wrap > ul.main.version-chap > li:last-child:after, body.manga-page .page-content-listing.single-page .listing-chapters_wrap > ul.main.version-chap .sub-chap > li:last-child:after, .shortcode-manga-chapters .listing-chapters_wrap > ul.main.version-chap > li:last-child:after{
   opacity: 1;
   visibility: visible;
}
#manga-chapters-holder .c-blog__heading.style-2{display: none;}
#manga-discussion{padding-bottom:5px}
#manga-discussion.c-blog__heading.style-2 i{display: none;}
#chapter-heading .home{
   float: right;
}
#chapter-heading .home{
   margin-right:10px
}
#manga-chapters-sidebar .listing-chapters_wrap .wp-manga-chapter .chapter-thumbnail img.thumb{max-height: none;}
.tp-heroslider .manga-title-badges{float:left;margin-top:3px}
body.search.text-ui-light  .search-wrap .tab-content-wrap .c-tabs-item .c-tabs-item__content .tab-summary .post-content .post-content_item.mg_genres .summary-content{color:#CCC}

@media (max-width: 480px) {
   .archive .tab-content-wrap{margin-bottom: 40px;}
   body.reading-manga.minimal-reading-layout .entry-header.header .wp-manga-nav{display: none}
     
     .menu_icon__open{
        margin: 10px 0 8px 0;
    }
     .menu_icon__open > span{
        width:18px;
         margin-bottom: 5px;
    }
    
     .off-canvas .section_adult.off{
        margin-top: 20px;
    }
     .manga-slider .slider__container.slick-dotted{
        padding:0 
    }
     .c-sidebar.c-top-sidebar{
        padding:0
    }
     .c-sidebar.c-top-sidebar .c-container-fluid{
        padding:0
    }
     .manga-slider.style-3 .slider__item{
        padding:0
    }
     .c-sidebar.c-top-second-sidebar{
        padding-top:0
    }
     h3{
        font-size:18px
    }
    .slider__container .post-title h5 a{font-size:14px}
    .manga-title-badges,.manga-title-badges.custom {
      width: 17px;
      height: 17px;
      padding: 0;
      line-height: 17px;
      margin-top:6px
  }
  .tp-heroslider .manga-title-badges{margin-top:3px}

  body.manga-page .profile-manga .tab-summary .summary_content_wrap .summary_content .post-content{padding-top:0}
  body.text-ui-light .tp-heroslider .post-title a:not(:hover), body.text-ui-light .tp-heroslider .post-title a:hover{font-size:18px}
     .slick-dots{
        display: none !important;
    }
     .slick-dotted.slick-slider{
        margin-bottom: 10px;
    }
     .tp-heroslider .slider_item_inner{
        margin: 0;
        padding: 0;
        height:auto;
        width:330px
    }
     .tp-heroslider .slider__thumb{
        position: relative;
        left: 0;
        top:0;
        width:100%
    }
     .tp-heroslider .slick-slide{
        transform: translate(0,0);
    }
     .tp-heroslider .slick-slide img{
        display: inline;
        margin:20px 0 20px 0
    }
     .tp-heroslider .slider__thumb_item{
        text-align: center;
    }
     .tp-heroslider .slider__container .slick-list .slick-track .slider__item .slider__content{
        padding:0 15px
    }
     .tp-heroslider .c-btn.c-btn_style-1{
        margin-bottom:20px
    }
     .tp-heroslider .slick-arrow.slick-next{
        right:15px
    }
     .tp-heroslider .slick-arrow.slick-prev{
        left:10px
    }
     .profile-manga .manga-summary{
        font-size:13px
    }
     .manga-rate-view-comment{
        font-size:11px
    }
     body.manga-page .profile-manga .post-title h1{
        font-size:19px
    }
     .manga-page .manga-authors{
        font-size:11px
    }
     .manga-page #init-links{
        margin-top:0;
        margin-bottom:20px
    }
     .listing-chapters_wrap .wp-manga-chapter .chapter-thumbnail{
        width:100px
    }
     .listing-chapters_wrap .wp-manga-chapter .chapter-thumbnail img.thumb{
        max-width: 100px;
        max-height: none;
    }
     body.manga-page .page-content-listing.single-page .listing-chapters_wrap > ul.main.version-chap li.has-thumb{
        height:auto;
        float:left;
        width:100%
    }
     #manga-chapters-holder .c-blog__heading.style-2{
        display: none;
    }
     body.manga-page .page-content-listing.single-page .listing-chapters_wrap > ul.version-chap > li > a, body.manga-page .page-content-listing.single-page .listing-chapters_wrap > ul.vol-chap > li > a, .shortcode-manga-chapters .listing-chapters_wrap > ul.version-chap > li > a, .shortcode-manga-chapters .listing-chapters_wrap > ul.vol-chap > li > a{
        padding-right:20px !important
    }
     body.reading-manga .entry-header .wp-manga-nav .select-pagination{
        bottom:15px;
        right:0
    }
    body.reading-manga .entry-header.header .wp-manga-nav .select-pagination{
      top:35px
  }
     body.reading-manga .entry-header .wp-manga-nav .select-pagination .nav-links .mobile-nav-btn{
        display: none;
    }
     .reading-manga.minimal-reading-layout #chapter-heading{
        font-size:16px;
         padding-top:10px
    }
     .reading-manga.minimal-reading-layout #chapter-heading .back{
        margin-right:10px
    }
     #chapter-heading .home, #chapter-heading #view-chapters{
        font-size:24px;
    }
     #chapter-heading .home{
        margin-right:10px
    }
     .wp-manga-nav .nav-links{
        position: fixed;
        bottom:6px;
        right:20px;
        z-index: 1;
    }
     #manga-chapters-sidebar .listing-chapters_wrap .wp-manga-chapter .chapter-thumbnail{
        width:120px
    }
     #manga-chapters-sidebar .listing-chapters_wrap .wp-manga-chapter .chapter-thumbnail img.thumb{
        max-width: 100%;
        max-height: none;
    }
     .reading-manga.mobile.sticky__active #chapter-heading{
        position: fixed;
         background-color: #000;
         padding: 10px 30px;
         width:100%;
         top:0;
         z-index: 1;
    }
     .admin-bar.reading-manga.minimal-reading-layout.sticky__active .wp-manga-nav{
        display: none;
    }

    body.search .c-search-header__wrapper .search-content .search-form .search-submit{padding:0 28px 0}
    body.search .c-search-header__wrapper #search-advanced .search-advanced-form .form-group.checkbox-group .checkbox, body.search .c-search-header__wrapper #search-advanced .search-advanced-form .form-group:not(.checkbox-group) span{margin-bottom: 0;}
    body.search .c-search-header__wrapper #search-advanced .search-advanced-form .form-group:not(.checkbox-group){margin-bottom: 10px;}
}

.listing-chapters_wrap .chapter-bookmark{display: none;}

.ranking .page-listing-item .page-item-detail.rank-1 .item-thumb:before,.ranking .page-listing-item .page-item-detail.rank-2 .item-thumb:before,.ranking .page-listing-item .page-item-detail.rank-3 .item-thumb:before,.ranking .page-listing-item .page-item-detail.rank-4 .item-thumb:before,.ranking .page-listing-item .page-item-detail.rank-5 .item-thumb:before,.ranking .page-listing-item .page-item-detail.rank-6 .item-thumb:before,.ranking .page-listing-item .page-item-detail.rank-7 .item-thumb:before,.ranking .page-listing-item .page-item-detail.rank-8 .item-thumb:before,.ranking .page-listing-item .page-item-detail.rank-9 .item-thumb:before,.ranking .page-listing-item .page-item-detail.rank-10 .item-thumb:before{
   display: inline-block;
   position: absolute;
   left: 0;
   top: 0;
   background: #666;
   color: #FFF;
   padding: 3px 8px;
   font-weight: bold;
   text-align: center;
}
body:not([class*="paged-"]) .ranking .page-listing-item .page-item-detail.rank-1 .item-thumb:before{    content: '1';}
body:not([class*="paged-"]) .ranking .page-listing-item .page-item-detail.rank-2 .item-thumb:before{    content: '2';}
body:not([class*="paged-"]) .ranking .page-listing-item .page-item-detail.rank-3 .item-thumb:before{    content: '3';}
body:not([class*="paged-"]) .ranking .page-listing-item .page-item-detail.rank-4 .item-thumb:before{    content: '4';}
body:not([class*="paged-"]) .ranking .page-listing-item .page-item-detail.rank-5 .item-thumb:before{    content: '5';}
body:not([class*="paged-"]) .ranking .page-listing-item .page-item-detail.rank-6 .item-thumb:before{    content: '6';}
body:not([class*="paged-"]) .ranking .page-listing-item .page-item-detail.rank-7 .item-thumb:before{    content: '7';}
body:not([class*="paged-"]) .ranking .page-listing-item .page-item-detail.rank-8 .item-thumb:before{    content: '8';}
body:not([class*="paged-"]) .ranking .page-listing-item .page-item-detail.rank-9 .item-thumb:before{    content: '9';}
body:not([class*="paged-"]) .ranking .page-listing-item .page-item-detail.rank-10 .item-thumb:before{    content: '10';}

body.page.text-ui-light .c-page-content .main-col-inner .c-blog__heading.no-icon{border-bottom-color: #474747;}

.manga-info-row{position: relative}
body.manga-page .profile-manga .tab-summary .manga-rate-view-comment .post-rating{display: none;background: #5d5d5d99;padding: 0 10px;position: absolute;bottom:30px}
body.manga-page .profile-manga .tab-summary .manga-rate-view-comment:hover .post-rating{display: block;}
body.manga-page .profile-manga .tab-summary .post-rating span{font-size: 14px;}
body.manga-page .profile-manga .tab-summary .post-rating i{font-size:18px}

body.text-ui-light #form-readmore.modal h1, body.text-ui-light #form-readmore.modal h2, body.text-ui-light #form-readmore.modal h3, body.text-ui-light #form-readmore.modal h4, body.text-ui-light #form-readmore.modal h5, body.text-ui-light #form-readmore.modal .h1, body.text-ui-light #form-readmore.modal .h2, body.text-ui-light #form-readmore.modal .h3, body.text-ui-light #form-readmore.modal .h4, body.text-ui-light #form-readmore.modal .h5, body.text-ui-light #form-readmore.modal h6, body.text-ui-light #form-readmore.modal .h6 {
   color: rgb(51,51,51);
}


a {
text-decoration: none;
color: inherit;
transition: 0.2s;
}

img {
display: block;
width: 100%;
height: 100%;
object-fit: cover;
}

/* --- Scrollbar Customizada --- */
::-webkit-scrollbar {
width: 6px;
height: 6px;
}

::-webkit-scrollbar-track {
background: var(--bg-app);
}

::-webkit-scrollbar-thumb {
background: #333;
border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
background: var(--primary);
}

/* --- 1. Sidebar (Desktop) --- */
.sidebar {
width: var(--sidebar-w);
background: var(--bg-sidebar);
display: flex;
flex-direction: column;
border-right: 1px solid rgba(255, 255, 255, 0.05);
z-index: 100;
flex-shrink: 0;
}

.brand {
height: var(--header-h);

align-items: center;
padding: 0 24px;
font-family: 'Oswald', sans-serif;
font-size: 24px;
color: white;
letter-spacing: 1px;
border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.brand i {
color: var(--primary);
margin-right: 10px;
}

.menu {
padding: 20px 12px;
flex: 1;
overflow-y: auto;
}

.menu-label {
font-size: 11px;
text-transform: uppercase;
color: #555;
font-weight: 700;
margin: 20px 12px 10px;
letter-spacing: 1px;
}

.nav-item {
display: flex;
align-items: center;
gap: 12px;
padding: 12px;
border-radius: 8px;
color: var(--text-muted);
font-size: 14px;
font-weight: 500;
margin-bottom: 2px;
}

.nav-item:hover,
.nav-item.active {
background: var(--bg-hover);
color: white;
}

.nav-item.active {
border-left: 3px solid var(--primary);
}

.nav-item i {
width: 20px;
text-align: center;
}

/* --- 2. Área Principal --- */
.main-content {
flex: 1;
overflow-y: auto;
overflow-x: hidden;
position: relative;
scroll-behavior: smooth;
padding-bottom: 0;
/* Ajuste dinâmico no mobile */
}

/* Header Superior */
.top-bar {
position: sticky;
top: 0;
height: var(--header-h);
background: rgba(10, 10, 12, 0.9);
backdrop-filter: blur(12px);
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 40px;
z-index: 50;
border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}



.search-container {
    list-style: none;
    max-width: 500px;
}

#blog-post-search {
    position: relative;
    display: flex;
    align-items: center;
    background: var(--bg-input);
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 5px 15px;
    transition: var(--transition);
}

/* Efeito de foco no formulário inteiro */
#blog-post-search:focus-within {
    border-color: var(--primary-color);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
    transform: translateY(-1px);
}

#blog-post-search input[type="text"] {
    width: 100%;
    border: none;
    background: transparent;
    padding: 12px 10px;
    font-size: 16px;
    color: var(--text-main);
    outline: none;
}

#blog-post-search input[type="text"]::placeholder {
    color: var(--text-muted);
    font-weight: 400;
}

/* Estilização das divs extras (pode ser usado para um ícone de loading ou detalhes) */
#blog-post-search div {
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: var(--primary-color);
    border-radius: 50%;
    margin-left: 4px;
    opacity: 0;
    transition: var(--transition);
}

/* Pequena animação quando o usuário digita (simulação) */
#blog-post-search.ajax input:not(:placeholder-shown) ~ div {
    opacity: 0.6;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.user-actions {
display: flex;
gap: 20px;
align-items: center;
}

.btn-coin {
background: linear-gradient(45deg, #FFD700, #FFA500);
color: #000;
padding: 6px 16px;
border-radius: 20px;
font-size: 12px;
font-weight: 800;
text-transform: uppercase;
display: flex;
align-items: center;
gap: 6px;
}

.btn-vip {
background: linear-gradient(45deg, #7c3aed, #a78bfa);
color: white;
}

/* Hero Section */
.hero-slider {
height: 450px;
/*position: relative;*/
margin-bottom: 40px;
}

.hero-slide {
position: absolute;
inset: 0;
background: url('https://placehold.co/1600x600/1e0b2b/ffffff?text=Banner+Hero+Solo+Leveling') center/cover;
}

.hero-overlay {position: absolute;inset: 0;background: linear-gradient(0deg, var(--bg-app) 30%, rgba(10, 10, 12, 0.6) 50%, transparent 100%);display: flex;align-items: center;padding-left: 60px;}

.hero-info {
	max-width: 500px;
position: relative;
z-index: 2;
}

.hero-badge {
position: absolute;
background: var(--primary);
color: white;
padding: 4px 10px;
font-size: 11px;
font-weight: bold;
text-transform: uppercase;
border-radius: 4px;
display: inline-block;
margin-bottom: 15px;

}

.hero-title {
font-family: 'Oswald', sans-serif;
font-size: 48px;
line-height: 1.1;
margin-bottom: 15px;
text-transform: uppercase;
text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-desc {
color: #ddd;
font-size: 14px;
line-height: 1.6;
margin-bottom: 25px;
display: -webkit-box;
-webkit-line-clamp: 3;
-webkit-box-orient: vertical;
overflow: hidden;
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

.btn-hero {
padding: 12px 30px;
border-radius: 6px;
font-weight: bold;
display: inline-flex;
align-items: center;
gap: 10px;
cursor: pointer;
border: none;
transition: 0.2s;
}

.btn-hero:active {
transform: scale(0.95);
}

.btn-play {
background: white;
color: black;
}

.btn-play:hover {
background: #ddd;
}

.btn-list {
background: rgba(255, 255, 255, 0.2);
color: white;
margin-left: 10px;
backdrop-filter: blur(5px);
}

/* --- Estrutura de Seções --- */
.section {
padding: 0 0 40px 40px;
position: relative;
}

.section-header {
display: flex;
justify-content: space-between;
align-items: flex-end;
padding-right: 40px;
margin-bottom: 20px;
}

.section-title {
font-size: 20px;
font-weight: 700;
display: flex;
align-items: center;
gap: 10px;
}

.section-title i {
font-size: 16px;
color: var(--primary);
}

.see-all {
font-size: 12px;
font-weight: 600;
color: var(--text-muted);
text-transform: uppercase;
cursor: pointer;
}

/* --- Trilhos Horizontais --- */
.rail-container {
display: flex;
gap: 16px;
overflow-x: auto;
padding-right: 40px;
padding-bottom: 15px;
scroll-behavior: smooth;
-webkit-overflow-scrolling: touch;
/* Smooth scroll no iOS */
}

/* Cards */
.card {
min-width: 160px;
width: 160px;
cursor: pointer;
transition: 0.3s;
position: relative;
background-color: transparent;
	border: none;
}

.poster-wrapper {
width: 100%;
aspect-ratio: 2/3;
border-radius: var(--card-radius);
overflow: hidden;
margin-bottom: 10px;
position: relative;
background: #222;
}

.poster-wrapper img {
transition: 0.5s;
width: 100%;
height: 100%;
}

.card:hover .poster-wrapper img {
transform: scale(1.1);
opacity: 0.7;
}

.card-badge {
position: absolute;
top: 6px;
left: 6px;
padding: 2px 6px;
border-radius: 4px;
font-size: 10px;
font-weight: 800;
text-transform: uppercase;
color: black;
z-index: 2;
}

.badge-new {
background: var(--accent-new);
}

.badge-hot {
background: var(--accent-hot);
color: white;
}

.badge-updated {
background: var(--primary);
color: white;
bottom: 0;
left: 0;
width: 100%;
border-radius: 0;
top: auto;
text-align: center;
padding: 5px 0;
font-size: 11px;
}

.card-title {
font-size: 14px;
font-weight: 600;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
margin-bottom: 2px;
}

.card-meta {
font-size: 11px;
color: #777;
display: block;
}

.new-arrivals-rail .card {
min-width: 220px;
width: 220px;
}

.studio-tag {
position: absolute;
top: 10px;
right: 10px;
background: rgba(0, 0, 0, 0.7);
border: 1px solid rgba(255, 255, 255, 0.2);
color: #ccc;
padding: 2px 6px;
border-radius: 4px;
font-size: 9px;
font-weight: bold;
text-transform: uppercase;
backdrop-filter: blur(4px);
}

/* --- Schedule --- */
.schedule-container {
background: var(--bg-sidebar);
border-top: 1px solid rgba(255, 255, 255, 0.05);
border-bottom: 1px solid rgba(255, 255, 255, 0.05);
padding: 20px 40px;
margin-bottom: 40px;
}

.days-row {
display: flex;
gap: 10px;
margin-bottom: 20px;
overflow-x: auto;
padding-bottom: 5px;
}

.day-btn {
flex: 1;
min-width: 60px;
/* Garante tamanho no mobile */
background: var(--bg-card);
border: 1px solid rgba(255, 255, 255, 0.05);
padding: 10px;
text-align: center;
border-radius: 6px;
cursor: pointer;
transition: 0.2s;
}

.day-btn.active {
background: var(--primary);
border-color: var(--primary);
color: white;
}

.day-btn span {
display: block;
font-size: 11px;
text-transform: uppercase;
opacity: 0.7;
}

.day-btn strong {
font-size: 16px;
}

.schedule-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
gap: 15px;
}

.release-card {
display: flex;
align-items: center;
gap: 15px;
background: var(--bg-card);
padding: 10px;
border-radius: 8px;
border: 1px solid transparent;
cursor: pointer;
}

.release-card:hover {
border-color: var(--primary);
background: var(--bg-hover);
}

.release-thumb {
width: 60px;
height: 80px;
border-radius: 4px;
object-fit: cover;
flex-shrink: 0;
}

.release-info h4 {
font-size: 14px;
margin-bottom: 5px;
}

.release-chap {
color: var(--accent-new);
font-size: 12px;
font-weight: bold;
}

.release-time {
font-size: 11px;
color: #555;
}

footer {
padding: 60px 40px;
border-top: 1px solid rgba(255, 255, 255, 0.05);
margin-top: 50px;
color: #666;
font-size: 12px;
background: var(--bg-sidebar);
}

/* --- Bottom Navigation (Mobile Only) --- */
.bottom-nav {
display: none;
/* Hidden by default */
position: fixed;
bottom: 0;
left: 0;
width: 100%;
height: var(--bottom-nav-h);
background: rgba(18, 18, 20, 0.95);
backdrop-filter: blur(10px);
border-top: 1px solid rgba(255, 255, 255, 0.1);
z-index: 200;
justify-content: space-around;
align-items: center;
padding-bottom: env(safe-area-inset-bottom);
/* iPhone X safe area */
}

.b-nav-item {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
color: #777;
font-size: 10px;
gap: 4px;
width: 100%;
height: 100%;
}

.b-nav-item i {
font-size: 18px;
}

.b-nav-item.active {
color: var(--primary);
}

/* --- RESPONSIVIDADE MOBILE --- */
@media (max-width: 900px) {

/* Layout Geral */
.sidebar {
display: none;
}

/* Remove Sidebar */
.main-content {
margin-left: 0;
padding-bottom: calc(var(--bottom-nav-h) + 20px);
}

/* Espaço para o menu footer */
.bottom-nav {
display: flex;
}

/* Mostra menu footer */

/* Top Bar Adaptado */
.top-bar {
padding: 0 16px;
gap: 10px;
}


.user-actions {
gap: 10px;
}

.btn-coin span {
display: none;
}

/* Esconde texto "Comprar..." */
.btn-coin {
padding: 8px;
border-radius: 50%;
width: 32px;
height: 32px;
justify-content: center;
}

/* Hero Section Mobile */
.hero-slider {
	margin-top: 100px;
height: 65vh;
min-height: 400px;

}

.hero-overlay {
background: linear-gradient(0deg, var(--bg-app) 5%, rgba(10, 10, 12, 0.8) 60%, transparent 100%);
padding: 20px;
align-items: flex-end;
}

.hero-info {
width: 100%;
text-align: left;
padding-bottom: 40px;
}

.hero-title {
font-size: 32px;
}

.hero-desc {
font-size: 13px;
-webkit-line-clamp: 2;
}

.btn-hero {
padding: 10px 20px;
font-size: 14px;
width: 100%;
justify-content: center;
margin-bottom: 10px;
}

.btn-hero.btn-play {
width: auto;
display: inline-flex;
margin-right: 5px;
margin-bottom: 0;
}

.btn-hero.btn-list {
width: auto;
display: inline-flex;
margin-left: 5px;
margin-bottom: 0;
}

/* Seções */
.section {
padding: 0 0 30px 20px;
}

.section-header {
padding-right: 20px;
margin-bottom: 15px;
}

.section-title {
font-size: 18px;
}

/* Rails / Cards */
.rail-container {
padding-right: 20px;
gap: 12px;
}

.card {
min-width: 130px;
width: 130px;
}

.new-arrivals-rail .card {
min-width: 160px;
width: 160px;
}

/* Menor no mobile mas ainda destaque */

/* Novels Cards */
.rail-container .card[style*="width: 140px"] {
min-width: 120px !important;
width: 120px !important;
}

/* Schedule */
.schedule-container {
padding: 20px;
}

.schedule-grid {
grid-template-columns: 1fr;
}

/* 1 coluna no mobile */

/* Footer */
footer {
padding: 40px 20px;
text-align: center;
margin-bottom: 60px;
}

footer div[style*="display: flex"] {
flex-direction: column;
gap: 20px;
}
}