@media (max-width: 600px) {
    .banner-actions .btn .btn-label,
    .banner-actions .btn .btn-text,
    .banner-actions .btn span:not([id^="like-series-count"]) {
        display: none !important;
    }
    .banner-actions .btn {
        min-width: 38px;
        padding-left: 0.7em;
        padding-right: 0.7em;
        justify-content: center;
    }
}

.series-grid, .novels-grid, .series-grid-more {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.2rem;
    margin-top: 12px;
    margin-bottom: 3rem;
    justify-items: center;
}

/* Grid de 5 columnas en la página de inicio */
.page-home .series-grid,
.page-home .novels-grid {
    grid-template-columns: repeat(5, 1fr);
}

/* Responsive: ajustar columnas según el ancho */
@media (max-width: 1300px) {
    .page-home .series-grid,
    .page-home .novels-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 1055px) {
    .page-home .series-grid,
    .page-home .novels-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 800px) {
    .page-home .series-grid,
    .page-home .novels-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 550px) {
    .page-home .series-grid,
    .page-home .novels-grid {
        grid-template-columns: 1fr;
    }
}

/* Clase especial para ESPECIALES vacío - ocupa todo el ancho */
.series-grid-full-width {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 12px;
    margin-bottom: 3rem;
    min-height: 200px;
    width: 100%;
}

/* El mensaje vacío dentro del grid de ancho completo se centra */
.series-grid-full-width .empty-section-message {
    text-align: center;
    max-width: 600px;
    width: 100%;
}

 /* Responsive: pestañas scrolleables en móvil */
        .series-tabs {
            display: flex;
            flex-wrap: nowrap;
            overflow-x: auto;
            white-space: nowrap;
            -webkit-overflow-scrolling: touch;
            /* scrollbar-width: thin; */
        }
        .series-tabs::-webkit-scrollbar {
            height: 6px;
            background: transparent;
        }
        .series-tabs::-webkit-scrollbar-thumb {
            background: #e0e1e3;
            border-radius: 8px;
        }
        @media (max-width: 700px) {
            .series-tabs {
                margin-left: -1rem;
                margin-right: -1rem;
                padding-left: 1rem;
                padding-right: 1rem;
            }
        }
        .series-view-more {
            display: flex;
            justify-content: center;
            margin: 1.5em 0 5em 0;
        }
        .series-view-more a {
            background: #f3f4f6;
            color: #181a1b;
            border-radius: 18px;
            padding: 0.7em 1.7em;
            font-weight: 600;
            font-size: 1.08em;
            text-decoration: none;
            box-shadow: 0 2px 8px rgba(0,0,0,0.04);
            transition: background 0.18s, color 0.18s;
            border: none;
            outline: none;
            letter-spacing: 0.01em;
            cursor: pointer;
            display: inline-block;
        }
        .series-view-more a:hover {
            background: #e0e1e3;
            color: #181a1b;
            text-decoration: none;
        }

        .action-login-message {
            display: none;
            position: absolute;
            right: 0;
            top: 100%;
            margin-top: 6px;
            font-size: 0.9rem;
            font-weight: 500;
        }

        .banner-buttons-action {
        display: flex;
        gap: 10px;
        align-items: center;
        justify-content: flex-end;
        width: 100%;
        }
/* Badge de vistas arriba a la derecha */
.comic-card-epic-views {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
    display: flex;
    align-items: center;
}
/* Tarjeta épica de cómic: tamaño uniforme y responsivo */
.comic-card-epic {
    display: flex;
    flex-direction: column;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.13);
    text-decoration: none;
    color: #fff;
    position: relative;
    transition: transform 0.18s, box-shadow 0.18s;
    width: 100%;
    /* max-width: 220px; */
    min-width: 180px;
    /* background: #181a1b; */
}
.comic-card-epic:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 8px 32px rgba(129,215,66,0.18);
}
.comic-card-epic-cover {
    position: relative;
    width: 100%;
    aspect-ratio: 3/4;
    background: #23272a;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
    min-height: 0;
}
.comic-card-epic-cover img, .comic-card-epic-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    min-height: 0;
}
.comic-card-epic-placeholder {
    background: linear-gradient(135deg, #2a2d3a 0%, #1e2028 100%);
    color: #fff;
    font-size: 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 0.5rem;
}

.comic-card-epic-placeholder .placeholder-icon {
    font-size: 3rem;
    opacity: 0.8;
}

.comic-card-epic-placeholder .placeholder-text {
    font-size: 0.9rem;
    opacity: 0.7;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
.comic-card-epic-gradient {
            position: absolute;
            left: 0;
            bottom: 0;
            width: 100%;
            height: 50%; /* Más pequeño, solo para el título y badges */
            pointer-events: none;
            z-index: 1;
        }
        .comic-card-epic-title {
            position: absolute;
            left: 0;
            bottom: 2em;
            width: 100%;
            color: var(--title-color, #fff);
            font-size: 1.2rem;
            font-weight: 700;
            padding: 0.5em 0.7em 0.3em 0.7em;
            text-align: left;
            border-bottom-left-radius: 18px;
            border-bottom-right-radius: 18px;
            min-height: 2.1em;
            display: flex;
            align-items: flex-end;
            z-index: 3;
            text-shadow: 0 2px 8px rgba(0,0,0,0.25);
            transition: color 0.3s;
        }
@media (max-width: 900px) {
    .comic-card-epic { max-width: 48vw; min-width: 140px; }
}
@media (max-width: 600px) {
    .comic-card-epic { max-width: 100vw; min-width: 120px; }
}
/* .series-grid, .novels-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 12px;
    justify-content: center;
} */
/* Mensaje de lista vacía de capítulos */
.chapter-empty-msg {
    padding: 40px;
    text-align: center;
    color: var(--text-gray);
}
.chapter-empty-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    opacity: 0.5;
}
/* Estructura de capítulo */
.chapter-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.2rem;
    position: relative;
}
.chapter-item-main {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
    min-width: 0;
}
.chapter-thumb-wrap {
    display: flex;
    flex-shrink: 0;
    position: relative;
}
.chapter-thumb-img-wrap {
    position: relative;
    width: 70px;
    height: 70px;
}
.chapter-thumb-img-wrap img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 10px;
    background: #f8f9fa;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}
.chapter-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}
.chapter-number {
    font-size: 1.05rem;
    /* font-weight: 600; */
    line-height: 1.1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.chapter-title {
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.chapter-stats {
    display: flex;
    align-items: center;
    gap: 18px;
    min-width: 120px;
    justify-content: flex-end;
}
.chapter-stat {
    white-space: nowrap;
}
    .series-meta {
            display: flex;
            gap: 13px;
           /*  margin-bottom: 20px; */
            font-size: 13px;
        }

        .meta-item {
            display: flex;
            align-items: center;
            gap: 5px;
        }
        
        @media (max-width: 480px) {
            .zp-icon-data {
            font-size: 22px;
            display: block!important;
        }
        .series-meta {
            gap: 15px;
            font-size: 10px;
            line-height: 1rem;
        }
        }

        .chapters-header{
            display: flex;
            width: 100%;
            max-width: 788px;
            align-items: center;
            gap: 10px;
            justify-content: space-between;
            flex-wrap: nowrap;
            flex-direction: row;
        }
        .chapters-header-subtitle {
                display: flex; 
                justify-content: space-between; 
                align-items: center;
            }

        .chapters-full-container{
            display: flex;
            flex-direction: row;
            width: 100%;
            margin-top: 10px;
            align-items: flex-start;
            gap: 20px;
        }
        
        /* Responsive: en móvil los contenedores se apilan */
        @media (max-width: 1024px) {
            .chapters-full-container {
                flex-direction: column;
            }
        }
        .chapters-right-head {
            display: flex;
            align-items: center;
            gap: 10px;
            flex-wrap: wrap;
           justify-content: flex-end;
        }
        .chapters-left-head {
            display: flex;
            align-items: center;
            gap: 10px;
            /* flex-wrap: wrap;
            justify-content: center; */
        }

        @media (max-width: 600px) {
                .btn-editar-episodios .editar-episodios-text {
                display: none;
                }
                .chapters-title-subtitle-zp{
                display: none;
        }
        }

        @media (max-width: 768px) {
            .series-header {
                grid-template-columns: 1fr;
                text-align: center;
            }
            
            .series-cover {
                height: 300px;
                margin: 0 auto;
                max-width: 200px;
            }
        }
   
    /* Episodios premium bloqueados */
    .chapter-locked {
    background: #f5f5f5 !important;
    /* pointer-events: none; */
    cursor: not-allowed;
    position: relative;
    /* border-radius: 12px; */
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    }
    .chapter-locked .lock-overlay {
        position: absolute;
        top: 50%; left: 50%;
        transform: translate(-50%, -50%);
        font-size: 2.5em;
        color: #e67e22;
        background: rgba(255,255,255,0.92);
        border-radius: 50%;
        padding: 12px;
        z-index: 2;
        box-shadow: 0 2px 8px #e67e2240;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .chapter-locked .premium-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #ffc107 !important;
    color: #222 !important;
    font-weight: bold;
    border-radius: 50%;
    padding: 10px 12px;
    font-size: 1em;
    z-index: 20;
    box-shadow: 0 2px 8px #ffc10740;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    max-width: 90%;
    filter: none !important;
    opacity: 1 !important;
    line-height: 1;
    font-family: inherit;
    }
    .chapter-locked .premium-badge .badge-price {
        font-size: 1.05em;
        font-weight: 700;
        line-height: 1.1;
    }
    .chapter-locked .premium-badge .badge-currency {
        font-size: 0.8em;
        font-weight: 500;
        margin-top: -2px;
        letter-spacing: 0.5px;
    }
    /* Restaurar efecto visual en miniatura bloqueada */
    .chapter-locked .chapter-thumb-img-wrap {
    filter: grayscale(1) blur(0.5px) brightness(1.08);
    opacity: 0.5;
    transition: filter 0.2s, opacity 0.2s;
}
    .chapter-locked .locked-info .chapter-title,
    .chapter-locked .locked-info .chapter-number {
        color: #888 !important;
        text-decoration: line-through;
        /* font-weight: 600; */
        opacity: 1 !important;
    }
.chapter-paginator-container {
    padding-bottom: 20px;
}
    .premium-modal-content{
        display: flex;
        justify-content: center;
        flex-direction: column;
        flex-wrap: nowrap;
        align-items: center;
    }
    .chapters-section h2 {
            font-size: 2rem;
            font-weight: 700;
            margin-bottom: 20px;
             color: var(--text-dark); 
        }

        .chapters-list {
            background: white;
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 4px 15px rgba(0,0,0,0.1);
        }

        .chapter-item {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 10px 15px;
            border-bottom: 1px solid #eee;
            transition: background 0.3s;
            text-decoration: none;
            color: inherit;
        }

        .chapter-item:hover {
            background: var(--bg-light);
        }

        .chapter-info h3 {
            font-size: 1.1rem;
            font-weight: 600;
            margin-bottom: 5px;
        }

        .chapter-meta {
            font-size: 0.9rem;
            color: var(--text-gray);
        }

        .chapter-stats {
            display: flex;
            gap: 20px;
            align-items: center;
            font-size: 0.9rem;
            color: var(--text-gray);
        }

        .chapters-header-subtitle {
            font-size: 1.5rem;
            color: var(--text-gray);
            margin-bottom: 10px;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        .chapters-img-subtitle {
            width: 100px;
            height: 60px;
            background: url('../img/zp-epi-mirada.webp') no-repeat center center;
            background-size: contain;
            display: inline-block;
            vertical-align: middle;
        }
        @media (max-width: 600px) {
            .chapters-header-subtitle {
            font-size: 1.2rem;
        }
            .chapter-stats {
                display: none!important;
            }
        }

        .chapters-contenedor {
            flex: 1; 
            min-width: 0; /* Permite que flex funcione correctamente */
            max-width: calc(100% - 370px); /* Reservar espacio para sidebar */
        }
        
        @media (max-width: 1024px) {
            .chapters-contenedor {
                min-width: 100%;
                max-width: 100%;
            }
        }

            /* PAGINADOR ZIKPIC estilo Webtoons */
    .zp-paginator {
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 32px 0 0 0;
        font-family: 'Inter', sans-serif;
        user-select: none;
    }
    .zp-paginator ul {
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
        padding: 0;
        margin: 0;
        list-style: none;
    }
    .zp-paginator li {
        display: flex;
        align-items: center;
    }
    .zp-page-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        min-width: 36px;
        height: 36px;
        padding: 0 12px;
        border-radius: 50px;
        background: #fff;
        color: var(--zikpic-green);
        font-weight: 600;
        font-size: 1.1em;
        border: 2px solid var(--zikpic-green);
        text-decoration: none;
        transition: background .15s, color .15s, border .15s;
        cursor: pointer;
        outline: none;
    }
    .zp-page-btn.active, .zp-page-btn:focus {
        background: var(--zikpic-green);
        color: #fff;
        border-color: var(--zikpic-green);
        font-weight: 700;
        pointer-events: none;
    }
    .zp-page-btn.disabled {
        opacity: 0.45;
        pointer-events: none;
        background: #f3f3f3;
        color: #bdbdbd;
        border-color: #e0e0e0;
    }
    .zp-ellipsis {
        color: #bdbdbd;
        font-size: 1.3em;
        padding: 0 4px;
        user-select: none;
    }
    @media (max-width: 600px) {
        .zp-paginator ul {
            gap: 2px;
        }
        .zp-page-btn {
            min-width: 28px;
            height: 28px;
            font-size: 1em;
            padding: 0 6px;
        }
        .zp-ellipsis {
            font-size: 1.1em;
            padding: 0 1px;
        }
        .zp-paginator {
            margin-top: 18px;
        }
    }
    @media (max-width: 400px) {
        .zp-paginator ul {
            gap: 0;
        }
        .zp-page-btn {
            min-width: 22px;
            height: 22px;
            font-size: 0.95em;
            padding: 0 2px;
        }
    }

    .banner-actions {
                display: flex;
                gap: 5px;
                align-content: space-between;
                align-items: center;
                flex-wrap: wrap;
                justify-content: center;
        }
        .banner-actions .btn {
            transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
            box-shadow: 0 2px 8px rgba(0,0,0,0.04);
            position: relative;
            z-index: 1;
        }
        /* COMENTADO: Estilos fijos que interfieren con colores dinámicos de serie
        .banner-actions .btn:hover, .banner-actions .btn:focus {
            background: linear-gradient(90deg, #81d742 60%, #3ac403 100%);
            color: #fff;
            box-shadow: 0 4px 16px rgba(129,215,66,0.18);
            transform: translateY(-2px) scale(1.04);
            outline: none;
        }
       
        .banner-actions .btn.btn-editar:hover, .banner-actions .btn.btn-editar:focus {
            background: linear-gradient(90deg, #222 60%, #3ac403 100%);
            color: #fff;
        } */
        .banner-actions .btn i {
            transition: color 0.2s;
        }
        /*  .banner-actions .btn:hover i, .banner-actions .btn:focus i {
        color: #fff; 
        }*/
        @media (max-width: 980px) {
            .banner-actions {
                margin-bottom: 10px;
                width: 80%;
            }
            .banner-buttons-action {
                justify-content: center;
            }
            .action-login-message {
                position: relative;
            }
        }

         /* ================== INICIO: Sidebar de Perfil ================== */

          /* ================== INICIO: Sidebar de Perfil ================== */
    .profile-card { position: relative; }
    .edit-btn {
        position: absolute;
        top: 10px;
        right: 10px;
        z-index: 2;
        background: #81d742;
        color: #fff;
        border: none;
        padding: 6px 16px;
        border-radius: 8px;
        font-weight: 600;
        cursor: pointer;
        box-shadow: 0 2px 8px rgba(0,0,0,0.07);
        font-size: 0.95em;
        text-decoration: none;
        display: inline-block;
    }
    .edit-btn:hover { background: #6bb536; }
    .profile-avatar { position: relative; }
    .profile-avatar img {
        width: 100%; height: 100%; object-fit: cover; border-radius: 50%;
    }
    .profile-extra-fields {
        display: flex; align-items: center; justify-content: center; gap: 5px; margin-bottom: 10px;
    }
    .profile-extra-fields a {
        color: #5E6E6D; text-decoration: none; font-size: 1.2em;
    }

    .profile-social-fields {
        display: flex; align-items: center; justify-content: center; gap: 18px; margin-bottom: 18px;
    }
    .profile-social-fields img {
        width: 24px; height: 24px; object-fit: contain; vertical-align: middle;
    }
    .profile-section-buttons {
        display: flex; justify-content: center; align-items: center; margin-bottom: 8px; gap: 12px;
    }
    .btn-comics {
        background: #d6f5d6; color: #219150; font-weight: 600; font-size: 1.05em; border-radius: 12px; box-shadow: 0 2px 8px #d6f5d6a0; padding: 8px 18px; transition: transform .1s;
    }
    .btn-comics:hover { background: #b6eab6; color: #176c38; transform: translateY(-2px); }
    .btn-novels {
        background: #d6eaff; color: #2176b6; font-weight: 600; font-size: 1.05em; border-radius: 12px; box-shadow: 0 2px 8px #d6eaffa0; padding: 8px 18px; transition: transform .1s;
    }
    .btn-novels:hover { background: #b6d6f0; color: #174e7c; transform: translateY(-2px); }
    .btn-galleries {
        background: #ffe0e0; color: #d13a3a; font-weight: 600; font-size: 1.05em; border-radius: 12px; box-shadow: 0 2px 8px #ffe0e0a0; padding: 8px 18px; transition: transform .1s;
    }
    .btn-galleries:hover { background: #ffd0d0; color: #a82c2c; transform: translateY(-2px); }
    .btn-profile-btn {
        display: inline-flex; justify-content: center; align-items: center; gap: 3px; padding: 8px; border: none; border-radius: 12px; font-size: 0.8rem; font-weight: 600; text-decoration: none; cursor: pointer; transition: all 0.3s ease;
    }
    @media (max-width: 600px) {
      .profile-section-buttons a span.btn-label { display: none !important; }
      .profile-section-buttons a { min-width: 44px; justify-content: center; padding-left: 0; padding-right: 0; }
      .profile-section-buttons i { margin-right: 0 !important; }
    }
    /* ================== FIN: Sidebar de Perfil ================== */
    .profile-card { position: relative; }
    /* Botón editar */
    .edit-btn {
        position: absolute;
        top: 10px;
        right: 10px;
        z-index: 2;
        background: #81d742;
        color: #fff;
        border: none;
        padding: 6px 16px;
        border-radius: 8px;
        font-weight: 600;
        cursor: pointer;
        box-shadow: 0 2px 8px rgba(0,0,0,0.07);
        font-size: 0.95em;
        text-decoration: none;
        display: inline-block;
    }
    .edit-btn:hover { background: #6bb536; }
    
    /* Campos extra */
    .profile-extra-fields {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 5px;
        margin-bottom: 10px;
    }
    .profile-extra-fields a {
        color: #5E6E6D;
        text-decoration: none;
        font-size: 1.2em;
    }
    
    /* Redes sociales */
    .profile-social-fields {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 18px;
        margin-bottom: 18px;
    }
    .profile-social-fields img {
        width: 24px;
        height: 24px;
        object-fit: contain;
        vertical-align: middle;
    }
    /* Stats */
 
    /* Acciones */
 
    .profile-section-buttons {
        display: flex;
        justify-content: center;
        align-items: center;
        margin-bottom: 8px;
        gap: 12px;
    }
    /* Botones de sección personalizados */
    .btn-comics {
        background: #ffe0e0;
        color: #d13a3a;
        font-weight: 600;
        font-size: 1.05em;
        border-radius: 12px;
        box-shadow: 0 2px 8px #ffe0e0a0;
        padding: 8px 18px;
        transition: transform .1s;
    }
    .btn-comics:hover {
        background: #ffd0d0;
        color: #a82c2c;
        transform: translateY(-2px);
    }
    .btn-novels {
        background: #d6f5d6;
        color: #219150;
        font-weight: 600;
        font-size: 1.05em;
        border-radius: 12px;
        box-shadow: 0 2px 8px #d6f5d6a0;
        padding: 8px 18px;
        transition: transform .1s;  
    }
    .btn-novels:hover {
        background: #b6eab6;
        color: #176c38;
        transform: translateY(-2px);
    }
    .btn-galleries {
        background: #d6eaff;
        color: #2176b6;
        font-weight: 600;
        font-size: 1.05em;
        border-radius: 12px;
        box-shadow: 0 2px 8px #d6eaffa0;
        padding: 8px 18px;
        transition: transform .1s;
    }
    .btn-galleries:hover {
        background: #b6d6f0;
        color: #174e7c;
        transform: translateY(-2px);
    }
      .btn-profile-btn {
        display: inline-flex;    
        justify-content: center;
        align-items: center;
        gap: 3px;
        padding: 8px;
        border: none;
        border-radius: 12px;
        font-size: 0.8rem;
        font-weight: 600;
        text-decoration: none;
        cursor: pointer;
        transition: all 0.3s ease;
    }
        /* Responsive: solo íconos en botones de sección en móvil */
        @media (max-width: 600px) {
            .profile-section-buttons a span.btn-label {
                display: none !important;
            }
            .profile-section-buttons a {
                min-width: 44px;
                justify-content: center;
                /* padding-left: 0;
                padding-right: 0; */
                padding: 15px 20px;
            }
            .profile-section-buttons i {
                margin-right: 0 !important;
            }
        }
        .profile-sidebar {
            background: #fff;
            border-radius: 10px;
            /* box-shadow: 0 2px 10px rgba(0,0,0,0.1); */
            padding: 15px;
            flex: 0 0 350px;
            width: 350px;
            min-width: 280px;
            max-width: 350px;
            position: sticky;
            top: 120px;
            height: fit-content;
        }
        
        @media (max-width: 1024px) {
            .profile-sidebar {
                position: static;
                width: 100%;
                max-width: 100%;
                flex: none;
                margin-top: 20px;
            }
        }

        .profile-card {
            background: var(--card-bg);
            border-radius: 20px;
            padding: 30px;
          /*   box-shadow: var(--shadow-light);
            border: 1px solid var(--border-light); */
            text-align: center;
            width: 90%;
            margin: auto;
        }
        
        /* Layout para múltiples autores */
        .profile-card.multiple-authors-card {
            padding: 18px 15px;
        }
        
        .multiple-authors-grid {
            display: flex;
            flex-direction: column;
            gap: 15px;
            margin-top: 15px;
        }
        
        /* En móvil, cambiar a grid horizontal */
        @media (max-width: 1024px) {
            .multiple-authors-grid {
                display: grid;
                grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
                gap: 20px;
                margin-top: 18px;
                justify-items: center;
            }
        }
        
        @media (max-width: 768px) {
            .multiple-authors-grid {
                grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
                gap: 16px;
            }
        }
        
        .author-item {
            padding: 16px;
            border-radius: 12px;
            background: rgba(255, 255, 255, 0.5);
            border: 1px solid rgba(0, 0, 0, 0.08);
            transition: all 0.2s ease;
            width: 100%;
            min-height: 140px; /* Altura mínima forzada */
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
        }
        
        /* En desktop (múltiples autores en columna), hacer más compacto */
        @media (min-width: 1025px) {
            .author-item {
                min-height: 120px;
                padding: 12px;
                flex-direction: row;
                /* justify-content: flex-start; */
                align-items: center;
                /* text-align: left; */
            }
            
            .author-item .profile-avatar {
                /* width: 60px !important;
                height: 60px !important; */
                margin-right: 12px;
                margin-bottom: 0 !important;
            }
            
            .author-item .author-info {
                flex: 1;
                /* text-align: left; */
                margin-top: 1rem;
            }
        }
        
        /* En móvil mantener diseño centrado */
        @media (max-width: 1024px) {
            .author-item {
                text-align: center;
            }
        }
        
        .author-item:hover {
            background: rgba(255, 255, 255, 0.8);
            border-color: rgba(0, 0, 0, 0.12);
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        }

        .profile-avatar {
            width: 100px;
            height: 100px;
            border-radius: 50%;
            background: var(--zikpic-green);
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 3rem;
            font-weight: 700;
            margin: 0 auto 20px;
        }

        .profile-name {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--text-dark);
            /* margin-bottom: 5px; */
        }
        
        /* Nombres de autor más pequeños en desktop cuando hay múltiples autores */
        @media (min-width: 1025px) {
            .author-item .profile-name {
                font-size: 1.1rem;
                margin-bottom: 2px;
            }
            
            .author-item .profile-username {
                font-size: 0.9rem;
            }
        }

        .profile-username {
            color: var(--text-gray);
            margin-bottom: 15px;
        }
        
        /* Estilos para badges de rol y botones seguir autor */
        .author-role-badge {
            margin: 8px 0;
            text-align: center;
        }
        
        .role-badge {
            display: inline-block;
            background: var(--zikpic-light);
            color: var(--zikpic-dark)!important;
            padding: 4px 8px;
            border-radius: 12px;
            font-size: 0.8rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }
        
        .author-follow-btn {
            margin-top: 10px;
        }
        
        .btn-seguir-autor {
            background: var(--zikpic-green);
            color: white;
            border: none;
            padding: 8px 12px;
            border-radius: 6px;
            font-size: 0.85rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            width: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
        }
        
        .btn-seguir-autor:hover {
            background: #6fb533;
            transform: translateY(-1px);
        }
        
        .btn-seguir-autor:active {
            transform: translateY(0);
        }
        
        /* Estado siguiendo */
        .btn-seguir-autor.following {
            background: #6c757d;
            color: white;
        }
        
        .btn-seguir-autor.following:hover {
            background: #5a6268;
        }
        
        /* Estilos responsive para desktop compacto */
        @media (min-width: 1025px) {
            .author-item .role-badge {
                font-size: 0.7rem;
                padding: 3px 6px;
            }
            
            .author-item .btn-seguir-autor {
                font-size: 0.75rem;
                padding: 6px 10px;
            }
        }

        .profile-bio {
            color: var(--text-gray);
            line-height: 1.5;
            margin-bottom: 25px;
        }

        .profile-stats {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 15px;
            margin-bottom: 25px;
        }

        .stat-item {
            text-align: center;
        }

        .stat-number {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--zikpic-green);
            display: block;
        }

        .stat-label {
            font-size: 0.9rem;
            color: var(--text-gray);
        }

        .profile-actions {
            display: flex;
            flex-direction: column;
            gap: 10px;
        }
        @media (max-width: 768px) {
            .profile-container {
                grid-template-columns: 1fr;
                gap: 20px;
            }

            .profile-sidebar {
                position: static;
            }
        }
        /* ================== FIN: Sidebar de Perfil ================== */

        /* series.css - Estilos para la navegación y presentación de series tipo Webtoons */

.series-tab-btn {
    background: none;
    border: none;
    outline: none;
    color: var(--zikpic-dark, #222);
    font-size: 1.05rem;
    font-weight: 700;
    padding: 15px 28px 15px 28px;
    margin-right: 18px;
    border-radius: 8px 8px 0 0;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: background 0.18s, color 0.18s, border-color 0.18s;
    font-family: inherit;
    letter-spacing: 0.01em;
    box-shadow: inset -1px 0px 14px rgb(157 157 157 / 7%);
}
.series-tab-btn.active {
    color: var(--zikpic-dark, #222);
    background: #f5f5f5;
    border-bottom: 3px solid var(--zikpic-green, #81d742);
    box-shadow: 0 2px 8px #0001;
    z-index: 2;
}
.series-tabs {
    display: flex;
    gap: 8px;
    /* margin: 40px 30px 30px 0px; */
    cursor: pointer;
    border-bottom: 2.5px solid transparent;
    transition: border-color 0.2s, color 0.2s;
    font-family: inherit;
}
.series-nav-btn.active {
  color: #222;
  border-bottom: 2.5px solid #222;
}
.series-section {
  margin-bottom: 32px;
  display: none; /* Por defecto ocultas */
}

.series-section.active {
  display: block; /* Solo la activa visible */
}

/* En comic-f.php se debe ocultar/mostrar solo secciones activas - manejado por JS específico */
body.comic-f-page .series-section {
  display: none;
}
body.comic-f-page .series-section.active {
  display: block;
}
/* .series-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 12px;
} */
.series-card {
  width: 160px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 12px #0001;
  overflow: hidden;
  text-align: left;
  transition: box-shadow 0.2s;
}
.series-card:hover {
  box-shadow: 0 4px 24px #0002;
}
.series-card-cover {
  width: 100%;
  height: 210px;
  object-fit: cover;
  border-radius: 10px 10px 0 0;
  background: #eee;
}
.series-card-title {
  font-size: 1.08rem;
  font-weight: 700;
  margin: 10px 12px 2px 12px;
  color: #222;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.series-card-author {
  font-size: 0.97rem;
  color: #888;
  margin: 0 12px 10px 12px;
}
.series-card-meta {
  font-size: 0.93rem;
  color: #666;
  margin: 0 12px 10px 12px;
  display: flex;
  gap: 10px;
  align-items: center;
}
.series-view-all {
  display: flex;
  justify-content: center;
  margin: 40px 0 60px 0;
}
.series-view-all-btn {
    background: var(--zikpic-gradient, linear-gradient(to right, #81d742 40%, #3ac403));
    color: #fff;
    padding: 14px 38px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.13rem;
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 8px #0001;
    transition: opacity 0.2s;
    text-decoration: none;
    width: 100%;
    text-align: center;
    max-width: 230px;
}
.series-view-all-btn:hover {
  opacity: 0.92;
  background: var(--zikpic-secondary);
}

/* Estilos para la navegación y presentación de series */

        .novels-hero {
            background: linear-gradient(135deg, #ff6b6b 0%, #ffa726 100%);
            padding: 3rem 0;
            text-align: center;
            margin-bottom: 3rem;
            border-radius: 15px;
            margin: 2rem 1rem 3rem;
        }

        .novels-hero h1 {
            color: white;
            font-size: 2.5rem;
            font-weight: 800;
            margin-bottom: 1rem;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
        }

        .novels-hero p {
            color: rgba(255,255,255,0.9);
            font-size: 1.2rem;
            max-width: 600px;
            margin: 0 auto;
        }

        .browse-filters {
            background: white;
            padding: 2rem;
            border-radius: 15px;
            box-shadow: 0 4px 15px rgba(0,0,0,0.1);
            margin-bottom: 2rem;
        }

        /* Tarjeta épica de cómic */

        .comic-card-epic:hover {
            transform: translateY(-6px) scale(1.03);
            box-shadow: 0 8px 32px rgba(129,215,66,0.18);
        }

        .comic-card-epic-badges {
            position: absolute;
            left: 0.7em;
            bottom: 0.7em;
            display: flex;
            flex-wrap: wrap;
            gap: 0.25rem;
            z-index: 4;
        }
        .comic-badge {
            display: inline-block;
            font-size: 0.72rem;
            font-weight: 600;
            border-radius: 7px;
            padding: 0.13em 0.6em;
            margin-right: 0.1em;
            margin-bottom: 0.1em;
            background: #181a1b;
            color: #fff;
            letter-spacing: 0.01em;
            box-shadow: 0 2px 8px rgba(0,0,0,0.13);
            opacity: 1;
            filter: saturate(1.25) brightness(1.08);
        }
        .genre-badge {
            background: linear-gradient(90deg, #43e97b 0%, #38f9d7 100%);
            color: #181a1b;
            box-shadow: 0 2px 8px rgba(67,233,123,0.13);
        }
        .views-badge {
            background: #23272a;
            color: #fff;
            font-weight: 700;
            letter-spacing: 0.02em;
        }
        .comic-card-epic-topbadges {
            position: absolute;
            top: 0.7em;
            left: 0.7em;
            right: 0.7em;
            display: flex;
            gap: 0.3em;
            z-index: 5;
        }
        .new-badge, .featured-badge, .special-badge {
            background: linear-gradient(90deg, #ff512f 0%, #dd2476 100%);
            color: #fff;
            text-transform: uppercase;
            letter-spacing: 0.04em;
            font-size: 0.68rem;
            font-weight: 700;
            padding: 0.13em 0.7em;
            border-radius: 7px;
            box-shadow: 0 2px 8px rgba(255,81,47,0.13);
        }
    .featured-badge { background: linear-gradient(90deg, #ffd600 0%, #ffea00 100%); color: #181a1b; }
    .special-badge { background: linear-gradient(90deg, #00bcd4 0%, #2196f3 100%); color: #fff; }
        @media (max-width: 600px) {
            .comic-card-epic-badges {
                font-size: 0.78rem;
                padding: 0.5rem 0.5rem 0.3rem 0.5rem;
            }
        }
    /* Header flexible para responsividad */

    .header-zp-flex {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        margin-bottom: 0.5em;
        /* gap: 1em; */
        flex-wrap: wrap;
        max-width: 95%;
        margin: auto;
        margin-bottom: 30px;
    }
    .header-zp-start {
        display: flex;
        flex-direction: column;
    }
    .header-zp-title {
        margin-bottom: 0;
        font-size: 1.7rem;
    }
    .header-zp-subtitle {
    font-size: 0.9rem;
    margin: 0.2rem 0 0 0 !important;
    opacity: 0.7;
    font-weight: 400;
    line-height: 1.3;
    }
    .header-zp-ordenar {
        display: inline-flex;
        align-items: center;
        gap: 0.5em;
    }
    .up-zp-filters {
        margin-top: 1rem;
    }
    .ordenar-row-zp-select { 
        max-width: 500px;
        margin: 0.2rem auto;
        text-align: center;
    }

    @media (max-width: 600px) {
    .ordenar-row-zp {
        flex-direction: column;
    }
    .ordenar-row-zp-select { 
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-evenly;
    }
        .header-zp-flex {
            flex-direction: column;
            align-items: flex-start;
            gap: 0.7em;
        }
        .header-zp-title {
                font-size: 1.6rem;
                width: 100%;
                text-align: center;
                margin-bottom: 1rem;
        }
        .header-zp-ordenar {
            width: 100%;
            display: flex;
            justify-content: flex-start;
            gap: 0.5em;
        }
        .header-zp-ordenar label,
        .header-zp-ordenar select,
        .header-zp-ordenar button {
            font-size: 1em;
        }
        .header-zp-ordenar select {
            width: 70%;
            min-width: 120px;
            max-width: 100%;
        }
        .header-zp-ordenar button {
            min-width: 40px;
        }
    }

    /* Barra de pestañas */

    .series-tabs-scroll-wrap { position: relative; }
    .series-tabs-scrollable {
        overflow-x: auto;
        white-space: nowrap;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    .series-tabs-scrollable::-webkit-scrollbar { display: none; }
    .tab-scroll-btn[disabled], .tab-scroll-btn.disabled {
        opacity: 0.3;
        pointer-events: none;
    }
    .filter-box-zp {
        background: linear-gradient(90deg, #43e97b 0%, #38f9d7 100%);
        border-radius: 18px;
        box-shadow: 0 4px 24px rgba(67,233,123,0.10);
        padding: 2.2em 2em 1.5em 2em;
        margin-bottom: 2.5em;
        max-width: 100%;
    }
    .filter-row-zp {
        display: flex;
        gap: 2em;
        flex-wrap: wrap;
        align-items: flex-end;
        margin-bottom: 1.2em;
    }
    .filter-row-search-zp {
        gap: 1em;
        margin-bottom: 0;
    }
    .filter-group-zp {
        display: flex;
        flex-direction: column;
        min-width: 180px;
    }
    .filter-group-zp label {
        font-size: 0.98em;
        font-weight: 600;
        color: #181a1b;
        margin-bottom: 0.4em;
        letter-spacing: 0.01em;
    }
    .zp-select {
        border-radius: 8px;
        border: none;
        padding: 0.7em 1.2em 0.7em 0.9em;
        font-size: 1em;
        background: #fff;
        color: #181a1b;
        box-shadow: 0px 0px 6px 0px rgb(106 233 67 / 38%);
        font-weight: 500;
        transition: box-shadow 0.2s;
        outline: none;
        appearance: none;
        cursor: pointer;
    }
    .zp-select:focus {
        box-shadow: 0 0 0 2px #43e97b55;
    }
    .ordenar-row-zp {
        display: flex;
        align-items: center;
        gap: 0.5em;
    }
    .order-toggle-btn {
        background: #fff;
        border: none;
        border-radius: 8px;
        padding: 0.6em 0.8em;
        font-size: 1.1em;
        color: var(--zikpic-secondary);
        box-shadow: 0px 0px 6px 0px rgb(106 233 67 / 38%);
        cursor: pointer;
        transition: background 0.2s, color 0.2s;
    }
    .order-toggle-btn:hover {
        background: var(--zikpic-gradient);
        color: #fff;
    }
    .zp-search-input {
        flex: 2;
        min-width: 220px;
        border-radius: 8px;
        border: none;
        padding: 0.8em 1.1em;
        font-size: 1.05em;
        background: #fff;
        color: #181a1b;
        box-shadow: 0 2px 8px rgba(67,233,123,0.08);
        font-weight: 500;
        outline: none;
        margin-right: 0.2em;
    }
    .btn-search-zp {
        background: #43e97b;
        color: #fff;
        border: none;
        border-radius: 8px;
        padding: 0.8em 1.2em;
        font-size: 1.1em;
        font-weight: 600;
        box-shadow: 0 2px 8px rgba(67,233,123,0.13);
        cursor: pointer;
        transition: background 0.2s;
    }
    .btn-search-zp:hover {
        background: #38f9d7;
        color: #181a1b;
    }
    @media (max-width: 800px) {
        .filter-row-zp { flex-direction: column; gap: 1em; }
        .filter-box-zp { padding: 1.2em 1em 1em 1em; }
    }
    hr.separador {
            border: none;
            height: 5px;
            width: 100%;
            margin: 4.5em 0 3.5em 0;
            border-radius: 12px;
            background: linear-gradient(90deg, #ff6b6b 0%, #ffa726 100%);
            opacity: 0.18;
            position: relative;
            transition: background 0.3s;
        }
        /* Verde para novelas */
        body.novel hr.separador {
            background: linear-gradient(90deg, #43e97b 0%, #38f9d7 100%);
        }

        .user-banner-zp {
        min-height: 220px;
        margin-bottom: 2.2rem;
        border-radius: 22px;
        overflow: hidden;
        position: relative;
        box-shadow: 0 4px 24px rgba(67,233,123,0.10);
    }
    .user-banner-bg {
        position: absolute;
        inset: 0;
        z-index: 1;
        background-size: cover!important;
        background-position: center!important;
        filter: blur(0px);
        opacity: 1;
        transition: opacity 0.3s;
    }
    .user-banner-bg-novel{
        background: linear-gradient(90deg, #43e97b 0%, #38f9d7 100%);
    }
    .user-banner-bg-comic{
        background: linear-gradient(90deg, #212121 0%, #424242 100%);
    }
    .user-banner-content-zp {
        position: relative;
        z-index: 2;
        display: flex;
        flex-direction: column;
        justify-content: center;
        height: 100%;
        padding: 2.2rem 2.5rem;
    }
    .user-banner-row1-zp {
        display: flex;
        align-items: center;
        gap: 1.5rem;
        flex-wrap: wrap;
    }
    .user-banner-avatar-zp img {
        width: 90px;
        height: 90px;
        object-fit: cover;
        border-radius: 50%;
        box-shadow: 0 2px 12px rgba(0,0,0,0.13);
        border: 4px solid #fff;
    }
    .user-banner-info-zp {
        flex: 1;
        min-width: 0;
        display: flex;
        flex-direction: column;
        gap: 0.5em;
    }
    .user-banner-info-zp a {
        color: #ffffff;
        text-decoration: none;
        font-weight: 800;
    }

    .user-banner-social-zp a img {
        width: 28px;
        height: 28px;
        margin-right: 2px;
        vertical-align: middle;
        transition: filter 0.2s;
    }
    .user-banner-social-zp a img:hover {
        filter: brightness(1.2) drop-shadow(0 2px 6px #0002);
    }
    .user-banner-bio-zp {
        color: #ffffff;
        font-size: 1.13rem;
        margin: 1em 0 0.5em 1em;
        max-width: 500px;
        line-height: 1.5;
        text-shadow: 2px 2px 4px rgba(0,0,0,0.13);
    }
    .user-banner-title-zp {
        font-size: 1.35rem;
        font-weight: 700;
        color: #222;
        margin-bottom: 1.2em;
    }
    @media (max-width: 800px) {
        .user-banner-content-zp {
            padding: 1.2rem 1.5rem;
        }
        .user-banner-row1-zp {
            flex-direction: column;
            align-items: center;
            gap: 1.2rem;
        }
        .user-banner-info-zp {
            align-items: center;
            text-align: center;
        }
        .user-banner-bio-zp {
            text-align: center;
            margin: 1em 0 0.5em 0;
        }
    }
    @media (max-width: 600px) {
        .user-banner-zp {
            min-height: 0;
        }
        .user-banner-row1-zp {
            flex-direction: column;
            align-items: center;
            gap: 1.1rem;
        }
        .user-banner-info-zp {
            align-items: center;
            text-align: center;
        }
        .user-banner-bio-zp {
            text-align: center;
            margin: 1em 0 0.5em 0;
        }
    }

    /* ================== Sistema Modular de Comentarios - MOVIDO A comments.css ================== */
    /* Los estilos de comentarios ahora están en assets/css/comments.css para uso modular */
    
    /* ================== Botones seguir autor con colores Vibrant ================== */
.btn-follow-author {
    background: transparent;
    color: var(--zikpic-green);
    border: 2px solid var(--zikpic-green);
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-decoration: none;
}

/* Cuando Vibrant detecta colores, usar esos colores */
.btn-follow-author.vibrant-styled {
    color: var(--zikpic-main-color, var(--zikpic-green));
    border-color: var(--zikpic-main-color, var(--zikpic-green));
}

/* Estado hover */
.btn-follow-author:hover,
.btn-follow-author.vibrant-styled:hover {
    background: var(--zikpic-main-color, var(--zikpic-green));
    color: var(--zikpic-main-text-color, white);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Estado activo (siguiendo) */
.btn-follow-author.active,
.btn-follow-author.vibrant-styled.active {
    background: var(--zikpic-main-color, var(--zikpic-green));
    color: var(--zikpic-main-text-color, white);
    border-color: var(--zikpic-main-color, var(--zikpic-green));
}

.btn-follow-author.active:hover,
.btn-follow-author.vibrant-styled.active:hover {
    background: var(--zikpic-alt-color, #6fb533);
    border-color: var(--zikpic-alt-color, #6fb533);
}

/* Estilo para múltiples autores (más compacto) */
.btn-follow-multiple {
    font-size: 0.8rem;
    padding: 6px 12px;
}

/* Mensaje de login - solo posicionamiento, colores manejados por JS */
.follow-author-login-message {
    font-size: 0.8 rem;
    font-weight: 500;
    display: none;
}

/* Responsive para múltiples autores */
@media (min-width: 1025px) {
    .author-item .btn-follow-author {
        font-size: 0.75rem;
        padding: 6px 10px;
    }
}

/* Mensajes elegantes para secciones vacías */
.empty-section-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 16px;
    border: 1px solid #dee2e6;
    margin: 2rem auto;
    max-width: 500px;
    width: 80%;
    grid-column: 1 / -1; /* Ocupa todas las columnas del grid */
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.empty-section-message .empty-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    opacity: 0.8;
    filter: grayscale(20%);
}

.empty-section-message h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #495057;
    margin-bottom: 0.8rem;
    line-height: 1.3;
}

.empty-section-message p {
    font-size: 1rem;
    color: #6c757d;
    margin: 0;
    line-height: 1.5;
    max-width: 350px;
}

/* Responsive para mensajes vacíos */
@media (max-width: 768px) {
    .empty-section-message {
        padding: 3rem 1.5rem;
        margin: 1.5rem 0;
    }
    
    .empty-section-message .empty-icon {
        font-size: 3rem;
        margin-bottom: 1.2rem;
    }
    
    .empty-section-message h3 {
        font-size: 1.3rem;
    }
    
    .empty-section-message p {
        font-size: 0.95rem;
    }
}

/* Tema oscuro para mensajes vacíos */
@media (prefers-color-scheme: dark) {
    .empty-section-message {
        background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
        border-color: #4a5568;
        color: #e2e8f0;
    }
    
    .empty-section-message h3 {
        color: #e2e8f0;
    }
    
    .empty-section-message p {
        color: #a0aec0;
    }
}

/* ========= ÍCONO DISTINTIVO PARA GALERÍAS ========= */
.gallery-camera-icon {
    position: absolute;
    bottom: 0.8rem;
    right: 0.8rem;
    width: 28px;
    height: 28px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #667eea;
    font-size: 0.9rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
    z-index: 15;
    transition: all 0.3s ease;
}

.comic-card-epic:hover .gallery-camera-icon {
    background: #667eea;
    color: white;
    transform: scale(1.1);
}

/* Estilo para el autor en gallery cards */
.comic-card-epic-author {
    position: absolute;
    left: 0;
    bottom: 1.8em;
    width: 100%;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.8rem;
    font-weight: 400;
    padding: 0 1em;
    text-align: left;
    z-index: 3;
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
    transition: color 0.3s;
}

/* ===== ESTILOS PARA BOTÓN "VER MÁS GALERÍAS" (CLONADO DE MASONRY) ===== */
.gal-load-more-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 30px 0;
    gap: 15px;
}

/* ===== CONTENEDORES PARA MÓDULO DE GALERÍAS ===== */
.gal-section {
    margin-bottom: 3rem;
}

.gal-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.gal-section-header {
    margin-bottom: 1.5rem;
    text-align: center;
}

.gal-section-title {
    font-weight: 700;
    color: var(--text-dark, #222);
    margin: 0;
}

.gal-load-more-btn {
    background: #f3f4f6 !important;
    color: #181a1b !important;
    border-radius: 18px !important;
    padding: 0.7em 1.7em !important;
    font-weight: 600 !important;
    font-size: 1.08em !important;
    text-decoration: none !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
    transition: background 0.18s, color 0.18s !important;
    border: none !important;
    outline: none !important;
    letter-spacing: 0.01em !important;
    cursor: pointer !important;
    display: inline-block !important;
}

.gal-load-more-btn i {
    font-size: 20px;
}

.gal-load-more-btn:hover {
    background: #e0e1e3 !important;
    color: #181a1b !important;
    text-decoration: none !important;
}

.gal-load-more-btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(129, 215, 66, 0.3);
}

.gal-load-more-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: 0 2px 8px rgba(129, 215, 66, 0.2);
}