/* =========================================
   1. 核心升级：引入 RemixIcon 图标库
   (请在HTML head中引入 CDN，见下文)
   ========================================= */

/* =========================================
   2. 骨架屏动画 (Skeleton Loading) - 关键！
   ========================================= */
.skeleton {
    background: #f2f3f5;
    background-image: linear-gradient(90deg, #f2f3f5 25%, #e6e8eb 37%, #f2f3f5 63%);
    background-size: 400% 100%;
    animation: skeleton-loading 1.4s ease infinite;
}

@keyframes skeleton-loading {
    0% { background-position: 100% 50%; }
    100% { background-position: 0 50%; }
}

.skeleton-text { height: 16px; margin-bottom: 8px; border-radius: 4px; }
.skeleton-block { width: 100%; height: 100%; border-radius: 8px; }
.skeleton-circle { border-radius: 50%; }

/* =========================================
   3. 评论区样式 (仿B站/抖音)
   ========================================= */
.comment-sec {
    background: #fff;
    padding: 0 16px 80px; /* 底部留白 */
    margin-top: 10px;
}
.comment-header {
    padding: 16px 0;
    font-size: 15px;
    font-weight: 600;
    border-bottom: 1px solid #f5f5f5;
}
.comment-item {
    display: flex;
    padding: 16px 0;
    border-bottom: 1px solid #f9f9f9;
}
.c-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    margin-right: 12px;
    flex-shrink: 0;
    border: 1px solid #f0f0f0;
}
.c-content { flex: 1; }
.c-user {
    font-size: 13px;
    color: #666;
    margin-bottom: 4px;
    display: flex;
    justify-content: space-between;
}
.c-text {
    font-size: 14px;
    color: #333;
    line-height: 1.5;
    margin-bottom: 6px;
}
.c-footer {
    font-size: 11px;
    color: #999;
    display: flex;
    gap: 15px;
}

/* =========================================
   4. 首页/通用 细节优化
   ========================================= */
/* 图标通用样式 */
i[class^="ri-"] {
    font-size: 20px;
    vertical-align: middle;
}

/* 优化后的卡片 */
.video-card {
    background: #fff;
    border-radius: 10px; /* 更圆润 */
    box-shadow: 0 2px 8px rgba(0,0,0,0.04); /* 更细腻的阴影 */
    overflow: hidden;
}

.card-title {
    font-size: 13px;
    margin-bottom: 4px;
    color: #222;
}