/*
* [모듈명]: 스켈레톤 UI 스타일
* [파일명]: skeleton.css
* [역할]: 데이터 로딩 전 피드 항목의 형태를 미리 보여줍니다.
*/

.skeleton-item {
    padding: 20px;
    border-bottom: 1px solid #1a1a1a;
    background: #000;
}

.skeleton-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
}

.skeleton-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #1a1a1a;
}

.skeleton-name {
    width: 80px;
    height: 14px;
    background: #1a1a1a;
}

.skeleton-title {
    width: 70%;
    height: 18px;
    background: #1a1a1a;
    margin-bottom: 10px;
}

.skeleton-content {
    width: 90%;
    height: 14px;
    background: #1a1a1a;
    margin-bottom: 5px;
}

.skeleton-image {
    width: 100%;
    aspect-ratio: 4 / 5; /* 실제 이미지와 동일한 비율 적용 */
    background: #1a1a1a;
    border-radius: 12px;
    margin: 15px 0;
}

.skeleton-pulse {
    animation: skeleton-pulse 1.5s ease-in-out infinite;
}

@keyframes skeleton-pulse {
    0% { opacity: 1; }
    50% { opacity: 0.4; }
    100% { opacity: 1; }
}
