    /* Contenedor Principal 940px */
    .albumH {
        width: 940px;
        margin: 20px auto;
        font-family: 'Segoe UI', Roboto, sans-serif;
        overflow: visible !important;
    }

    .album-header {
        margin-bottom: 25px;
        border-bottom: 2px solid #3498db;
        padding-bottom: 10px;
    }

    .album-header h2 {
        font-size: 22px;
        color: #2c3e50;
        margin: 0;
    }

    /* Grid de 6 columnas: Fotos de 145px aprox */
    .album-grid {
        display: grid;
        grid-template-columns: repeat(6, 145px);
        gap: 14px;
        padding: 0;
        margin: 0;
        list-style: none;
    }

    .album-item {
        position: relative;
        width: 145px;
        height: 145px;
        border-radius: 14px;
    }

    /* Subir nivel en hover para no ser tapado */
    .album-item:hover { z-index: 99999; }

    .album-anchor {
        display: block;
        width: 100%;
        height: 100%;
        text-decoration: none;
    }

    .album-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 14px;
        box-shadow: 0 3px 10px rgba(0,0,0,0.1);
        transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }

    /* --- TARJETA DE INFORMACIÓN CRISTAL --- */
    .album-hover-card {
        position: absolute;
        bottom: 115%;
        left: 50%;
        transform: translateX(-50%) translateY(15px);
        width: 220px;
        background: rgba(255, 255, 255, 0.9);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border: 1px solid rgba(255, 255, 255, 0.6);
        border-radius: 16px;
        padding: 15px;
        box-shadow: 0 20px 40px rgba(0,0,0,0.3);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 999999;
    }

    .album-hover-card::after {
        content: "";
        position: absolute;
        top: 100%; left: 50%;
        margin-left: -10px;
        border-width: 10px;
        border-style: solid;
        border-color: rgba(255, 255, 255, 0.9) transparent transparent transparent;
    }

    /* Mostrar al hover */
    .album-item:hover .album-hover-card {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(0);
    }

    .album-item:hover .album-img {
        transform: scale(1.1) rotate(-1deg);
        box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    }

    /* Textos Card */
    .card-title { display: block; font-weight: 700; font-size: 14px; color: #111; margin-bottom: 6px; }
    .card-user { display: block; font-size: 11px; color: #3498db; margin-bottom: 8px; font-weight: 600; }
    .card-desc { display: block; font-size: 11px; color: #555; line-height: 1.4; background: rgba(0,0,0,0.04); padding: 8px; border-radius: 8px; }
    .card-meta { display: block; font-size: 10px; color: #999; margin-top: 8px; text-align: right; }

    /* Paginación Mejorada */
    .album-pagination-2026 {
        margin-top: 40px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 20px 0;
        border-top: 1px solid #eee;
    }

    .btn-paginador {
        background: #3498db;
        color: #fff !important;
        padding: 10px 20px;
        border-radius: 30px;
        text-decoration: none;
        font-weight: 600;
        font-size: 13px;
        transition: 0.3s;
        box-shadow: 0 4px 10px rgba(52, 152, 219, 0.3);
    }

    .btn-paginador:hover {
        background: #2980b9;
        transform: translateY(-2px);
    }
	
	
	
	
	    .fotos-right-sidebar {
        width: 300px;
        float: right;
        /* Evitamos que cualquier cosa se asome fuera de los 300px */
        overflow: hidden; 
        font-family: 'Segoe UI', Roboto, sans-serif;
    }

    .sidebar-box {
        background: #ffffff;
        border: 1px solid #e1e8ed;
        border-radius: 12px;
        padding: 15px;
        margin-bottom: 20px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.05);
        /* Aseguramos que el padding no sume al ancho */
        box-sizing: border-box; 
        width: 100%;
    }

    /* --- FIX ESPECÍFICO PARA PUBLICIDAD --- */
    .ads-container-sidebar {
        width: 100%;
        max-width: 300px;
        background: #f8f9fa;
        border-radius: 12px;
        padding: 10px 0; /* Padding arriba/abajo, cero a los lados */
        text-align: center;
        margin-bottom: 20px;
        overflow: hidden; /* Corta cualquier imagen que intente salirse */
        box-sizing: border-box;
    }

    /* Forzamos a que cualquier imagen dentro de la publicidad respete el ancho */
    .ads-container-sidebar img, 
    .ads-container-sidebar iframe {
        max-width: 100% !important;
        height: auto !important;
        display: inline-block;
    }

    .sidebar-box h6 {
        font-size: 13px;
        font-weight: 700;
        text-transform: uppercase;
        color: #1c1e21;
        margin: 0 0 12px 0;
        display: flex;
        align-items: center;
    }

    .sidebar-box h6::before {
        content: "";
        width: 4px; height: 16px;
        background: #3498db;
        margin-right: 8px;
        border-radius: 2px;
    }

    .sidebar-list { list-style: none; padding: 0; margin: 0; }
    .sidebar-list li {
        padding: 10px 0;
        border-bottom: 1px solid #f0f2f5;
        font-size: 13px;
        word-wrap: break-word; /* Evita que títulos largos rompan el ancho */
    }

    .stat-item {
        display: flex;
        justify-content: space-between;
        padding: 8px 10px;
        margin-bottom: 5px;
        background: #f8f9fa;
        border-radius: 8px;
    }

    .stat-value { font-weight: 700; color: #1c1e21; }
	
	
	
	
    .fotos-left-column {
        width: 630px;
        float: left;
        overflow: visible !important;
    }

    .fotos-grid {
        display: grid;
        grid-template-columns: repeat(5, 118px);
        gap: 10px;
        padding: 0;
        margin: 0;
        list-style: none;
    }

    .foto-item {
        position: relative;
        width: 118px;
        height: 118px;
        border-radius: 12px;
    }

    /* Subir la foto actual por encima de todo (incluyendo el menú) al hacer hover */
    .foto-item:hover {
        z-index: 999999 !important;
    }

    .foto-anchor {
        display: block;
        width: 100%;
        height: 100%;
        text-decoration: none;
    }

    .foto-img-clean {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 12px;
        transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }

    /* --- TARJETA GLASSMORPHISM --- */
    .foto-hover-card {
        position: absolute;
        bottom: 125%; /* Separación del menú superior */
        left: 50%;
        transform: translateX(-50%) translateY(15px);
        width: 200px;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border: 1px solid #fff;
        border-radius: 14px;
        padding: 12px;
        box-shadow: 0 15px 35px rgba(0,0,0,0.4);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 9999999 !important;
    }

    .foto-hover-card::after {
        content: "";
        position: absolute;
        top: 100%;
        left: 50%;
        margin-left: -8px;
        border-width: 8px;
        border-style: solid;
        border-color: rgba(255, 255, 255, 0.95) transparent transparent transparent;
    }

    .foto-item:hover .foto-hover-card {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(0);
    }

    /* Estilos de texto */
    .card-title { display: block; font-weight: 700; font-size: 13px; color: #111; margin-bottom: 5px; }
    .card-user { display: block; font-size: 11px; color: #3498db; margin-bottom: 5px; font-weight: 600; }
    .card-desc { display: block; font-size: 11px; color: #555; line-height: 1.4; background: rgba(0,0,0,0.05); padding: 6px; border-radius: 6px; }

    /* --- ESTILO DE PAGINACIÓN 2026 --- */
    .pagination-wrapper {
        margin-top: 30px;
        padding: 15px 0;
        text-align: center;
        border-top: 1px solid #eee;
        width: 100%;
        clear: both;
    }

    /* Estilo para los números que genera PHPost */
    .pagination-wrapper a, .pagination-wrapper span {
        display: inline-block;
        padding: 6px 12px;
        margin: 0 2px;
        border-radius: 6px;
        background: #fff;
        border: 1px solid #ddd;
        color: #555;
        text-decoration: none;
        font-size: 12px;
        transition: all 0.2s;
    }

    .pagination-wrapper a:hover {
        background: #3498db;
        color: #fff;
        border-color: #3498db;
    }

    .pagination-wrapper .current, .pagination-wrapper b {
        background: #3498db;
        color: #fff;
        border-color: #3498db;
        padding: 6px 12px;
    }
	/* --- FIX PARA EL NÚMERO "1" (PÁGINA ACTUAL) --- */
.pagination-wrapper b, 
.pagination-wrapper span.current {
    background: #3498db !important; /* El azul de tu proyecto */
    color: #fff !important;
    padding: 6px 12px;
    border-radius: 6px;
    border: 1px solid #3498db;
    font-weight: bold;
    text-decoration: none;
    /* Esto quita el efecto visual de "encerrado" */
    display: inline-block; 
}

/* Si el sistema te pone corchetes manuales, los ocultamos así */
.pagination-wrapper {
    color: transparent; /* Oculta caracteres sueltos como [ ] */
}

.pagination-wrapper a, 
.pagination-wrapper b, 
.pagination-wrapper span {
    color: #555; /* Devuelve el color a los números y links */
    display: inline-block;
}

.pagination-wrapper b, 
.pagination-wrapper .current {
    color: #fff !important;
}

.top-sidebar-2026 {
  float: left;
  width: 150px;
  margin-right: 20px;
  box-sizing: border-box;
}




    /* Contenedor Principal con margen interno */
    .admin-main-730 {
        width: 730px;
        font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
        /* Añadimos padding para que el contenido no toque los bordes */
        padding: 20px; 
        /* Importante: border-box para que el padding no ensanche los 730px */
        box-sizing: border-box; 
        background: #f4f7f9; /* Un tono muy suave de fondo para resaltar las cards blancas */
        border-radius: 12px;
    }

    /* Cabecera Estilo Dashboard */
    .admin-welcome-box {
        background: #ffffff;
        border: 1px solid #e1e8ed;
        border-radius: 12px;
        padding: 20px;
        margin-bottom: 20px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    }

    .admin-welcome-box h2 {
        font-size: 20px;
        color: #1c1e21;
        margin: 0 0 10px 0;
        display: flex;
        align-items: center;
    }

    .admin-welcome-box p {
        font-size: 14px;
        color: #65676b;
        line-height: 1.6;
        margin: 0;
    }

    /* Grid de Información (2 columnas) */
    .admin-grid {
        display: grid;
        /* Ajustado para que quepa bien con el nuevo padding */
        grid-template-columns: repeat(2, 1fr); 
        gap: 20px;
        margin-bottom: 20px;
    }

    .admin-card {
        background: #ffffff;
        border: 1px solid #e1e8ed;
        border-radius: 12px;
        padding: 15px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.04);
        box-sizing: border-box;
    }

    .admin-card h4 {
        font-size: 12px;
        font-weight: 700;
        text-transform: uppercase;
        color: #3498db;
        margin: 0 0 15px 0;
        border-bottom: 1px solid #f0f2f5;
        padding-bottom: 8px;
        letter-spacing: 0.5px;
    }

    /* Listas de datos */
    .data-list { list-style: none; padding: 0; margin: 0; }
    .data-list li {
        display: flex;
        justify-content: space-between;
        padding: 10px 0;
        border-bottom: 1px solid #f0f2f5;
        font-size: 13px;
    }
    .data-list li:last-child { border-bottom: none; }

    .data-label { color: #65676b; font-weight: 500; }
    .data-value { color: #1c1e21; font-weight: 700; }

    /* Estilo para los nombres de Admins */
    .admin-tag {
        background: rgba(52, 152, 219, 0.1);
        color: #3498db;
        padding: 5px 12px;
        border-radius: 20px;
        text-decoration: none;
        font-weight: 600;
        font-size: 12px;
        transition: 0.2s;
        border: 1px solid transparent;
    }
    .admin-tag:hover { 
        background: #3498db; 
        color: #fff; 
        border: 1px solid #2980b9;
    }

    /* Footer / Soporte */
    .admin-footer {
        background: #ffffff;
        border: 1px solid #e1e8ed;
        border-radius: 12px;
        padding: 15px;
        text-align: center;
        font-size: 13px;
        color: #65676b;
        margin-top: 20px;
    }
    .admin-footer a { color: #3498db; font-weight: 600; text-decoration: none; }
	
	
	
	    /* Contenedor del Sidebar */
    .admin-sidebar-left {
        width: 200px;
        float: left;
        font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
        background: #ffffff;
        border: 1px solid #e1e8ed;
        border-radius: 12px;
        padding: 15px 10px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.05);
        box-sizing: border-box;
    }

    /* Títulos de Categoría */
    .admin-sidebar-left h4 {
        font-size: 11px;
        font-weight: 800;
        text-transform: uppercase;
        color: #adb5bd;
        margin: 20px 0 10px 10px;
        letter-spacing: 1px;
    }

    .admin-sidebar-left h4:first-of-type { margin-top: 5px; }

    /* Lista de Menú */
    .admin-nav-list {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .admin-nav-list li {
        margin-bottom: 4px;
    }

    .admin-nav-list li a {
        display: block;
        padding: 8px 12px;
        color: #495057;
        text-decoration: none;
        font-size: 13px;
        font-weight: 500;
        border-radius: 8px;
        transition: all 0.2s ease;
    }

    /* Efecto Hover */
    .admin-nav-list li a:hover {
        background: #f8f9fa;
        color: #3498db;
        padding-left: 16px; /* Pequeño desplazamiento */
    }

    /* Estado Activo (Donde está el usuario actualmente) */
    .admin-nav-list li.active a {
        background: #3498db;
        color: #ffffff !important;
        box-shadow: 0 4px 10px rgba(52, 152, 219, 0.3);
        font-weight: 600;
    }

    /* Iconos decorativos (Emoji o FontAwesome si usas) */
    .nav-icon {
        margin-right: 8px;
        opacity: 0.8;
        display: inline-block;
        width: 16px;
        text-align: center;
    }
	
	
	/* Anular iconos de FontAwesome que vienen por CSS (:before) */
.admin-nav-list li a:before {
    content: none !important;
    display: none !important;
    margin: 0 !important;
    width: 0 !important;
}

/* Si los iconos están en el span del título también los anulamos */
.admin-nav-list li a span:before {
    content: none !important;
    display: none !important;
}



    /* Contenedor del Sidebar */
    .mod-sidebar-left {
        width: 210px;
        float: left;
        font-family: 'Segoe UI', Roboto, sans-serif;
        background: #ffffff;
        border: 1px solid #e1e8ed;
        border-radius: 12px;
        padding: 15px 10px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.05);
        box-sizing: border-box;
    }

    /* --- LIMPIEZA EXTREMA DE ICONOS ANTERIORES --- */
    .mod-sidebar-left li[id^="a_"]::before,
    .mod-sidebar-left li::before,
    .mod-sidebar-left li a::before {
        content: none !important;
        display: none !important;
        float: none !important;
        margin: 0 !important;
    }

    .mod-sidebar-left h4 {
        font-size: 11px;
        font-weight: 800;
        text-transform: uppercase;
        color: #adb5bd;
        margin: 20px 0 10px 10px;
        letter-spacing: 0.8px;
    }

    .mod-nav-list { list-style: none; padding: 0; margin: 0; }
    .mod-nav-list li { margin-bottom: 3px; position: relative; }

    .mod-nav-list li a {
        display: flex;
        align-items: center;
        justify-content: space-between; /* Para mandar el número al final */
        padding: 8px 12px;
        color: #495057;
        text-decoration: none;
        font-size: 13px;
        font-weight: 500;
        border-radius: 8px;
        transition: all 0.2s ease;
    }

    .mod-nav-list li a:hover {
        background: #f1f3f5;
        color: #e67e22; /* Color naranja para moderación */
    }

    /* Estado Activo para Moderación */
    .mod-nav-list li.active a {
        background: #e67e22;
        color: #ffffff !important;
        box-shadow: 0 4px 10px rgba(230, 126, 34, 0.3);
        font-weight: 600;
    }

    /* Estilo de los Contadores (Badges) */
    .badge-mod {
        font-size: 10px;
        font-weight: 700;
        padding: 2px 6px;
        border-radius: 10px;
        color: #fff;
        min-width: 14px;
        text-align: center;
        float: right;
    }
    .badge-green  { background: #27ae60; }
    .badge-purple { background: #9b59b6; }
    .badge-red    { background: #e74c3c; }

    /* Iconos */
    .nav-icon { margin-right: 8px; width: 16px; text-align: center; }
	
	
	
	
	    /* Contenedor Principal */
    .mod-welcome-main {
        width: 720px;
        padding: 20px;
        box-sizing: border-box;
        font-family: 'Segoe UI', Roboto, sans-serif;
        background: #fdfaf7; /* Fondo sutilmente cálido */
    }

    /* Tarjeta de Bienvenida */
    .mod-card-header {
        background: #ffffff;
        border-left: 5px solid #e67e22; /* Color naranja moderación */
        border-radius: 8px;
        padding: 20px;
        margin-bottom: 25px;
        box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    }

    .mod-card-header h2 {
        margin: 0 0 10px 0;
        color: #d35400;
        font-size: 22px;
    }

    .mod-card-header p {
        margin: 0;
        color: #555;
        line-height: 1.6;
        font-size: 14px;
    }

    /* Caja del Protocolo */
    .protocol-box {
        background: #ffffff;
        border: 1px solid #e1e8ed;
        border-radius: 12px;
        padding: 25px;
        box-shadow: 0 2px 10px rgba(0,0,0,0.03);
    }

    .protocol-box h4 {
        display: flex;
        align-items: center;
        margin: 0 0 20px 0;
        color: #2c3e50;
        font-size: 16px;
        text-transform: uppercase;
        letter-spacing: 1px;
    }

    .protocol-box h4::before {
        content: "⚖️";
        margin-right: 10px;
        font-size: 20px;
    }

    /* Lista de Reglas Optimizada */
    .reglas-list {
        list-style: none;
        padding: 0;
        margin: 0;
        display: grid;
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .reglas-list li {
        background: #f8f9fa;
        padding: 12px 15px;
        border-radius: 8px;
        font-size: 13px;
        color: #444;
        line-height: 1.5;
        border: 1px solid #eee;
        display: flex;
        align-items: flex-start;
        transition: transform 0.2s;
    }

    .reglas-list li:hover {
        border-color: #f39c12;
        transform: translateX(5px);
    }

    .reglas-list li::before {
        content: "•";
        color: #e67e22;
        font-weight: bold;
        margin-right: 10px;
        font-size: 18px;
        line-height: 1;
    }

    /* Sección de Colegas */
    .mod-colegas {
        margin-top: 25px;
        padding: 15px;
        background: #fff;
        border: 1px dashed #e67e22;
        border-radius: 10px;
        text-align: center;
    }

    .mod-colegas b {
        display: block;
        margin-bottom: 10px;
        color: #d35400;
        font-size: 13px;
    }

    .mod-link {
        display: inline-block;
        background: #fff;
        border: 1px solid #ddd;
        padding: 5px 12px;
        border-radius: 20px;
        margin: 3px;
        font-size: 12px;
        color: #34495e;
        text-decoration: none;
        font-weight: 600;
        transition: 0.3s;
    }

    .mod-link:hover {
        background: #e67e22;
        color: #fff;
        border-color: #e67e22;
    }
	
	

    .user-box-portal {
        width: 166px; 
        box-sizing: border-box; 
        background: #ffffff; 
        border: 1px solid #e1e8ed; 
        border-radius: 8px; 
        padding: 10px; 
        text-align: center; 
        font-family: Arial, sans-serif;
    }
    .user-box-portal .avatar-link img {
        width: 100px; 
        height: 100px; 
        object-fit: cover; 
        border: 2px solid #004a95; 
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    /* Efecto zoom suave en el avatar al pasar el cursor */
    .user-box-portal .avatar-link:hover img {
        transform: scale(1.05);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    }
    /* Estilo base de los enlaces del menú */
    .user-box-portal .menu-item {
        display: flex; 
        align-items: center; 
        text-decoration: none; 
        font-size: 11px; 
        padding: 6px 6px; 
        border-radius: 4px;
        transition: background-color 0.2s ease, color 0.2s ease;
    }
    /* Efecto Hover general para las opciones */
    .user-box-portal .menu-item:hover {
        background-color: #f5f8fa;
    }
    /* Hovers específicos por color según la acción */
    .user-box-portal .menu-item.normal { color: #555555; }
    .user-box-portal .menu-item.normal:hover { color: #004a95; }
    
    .user-box-portal .menu-item.post { color: #004a95; font-weight: bold; }
    .user-box-portal .menu-item.post:hover { background-color: #ebf3f9; }
    
    .user-box-portal .menu-item.foto { color: #27ae60; font-weight: bold; }
    .user-box-portal .menu-item.foto:hover { background-color: #e8f8f0; }
    
    .user-box-portal .menu-item.logout { color: #7f8c8d; }
    .user-box-portal .menu-item.logout:hover { background-color: #fdedec; color: #c0392b; }