/* ---------- 全局样式 ---------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
outline:none;-webkit-tap-highlight-color:rgba(0,0,0,0);}
html{font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background: #f0f2f5;font-size:14px;
    width:100%;height: 100%;;overflow:hidden;}
body {
    display: flex;
    align-items: center;
    justify-content: center;
    width:100%;height: 100%;overflow:hidden;
}



/* 修改滚动条轨道的样式 */
::-webkit-scrollbar {
width: 2px;
}

/* 修改滚动条滑块的样式 */
::-webkit-scrollbar-thumb {
background-color: rgba(0,0,0,0.2);
border-radius: 10px;
}

/* 修改滚动条轨道的背景色 */
::-webkit-scrollbar-track {
background-color: none;
}

/* 修改滚动条轨道的样式 */
::-ms-scrollbar {
width: 10px;
}

/* 修改滚动条滑块的样式 */
::-ms-scrollbar-thumb {
background-color: #333;
border-radius: 10px;
}

/*主页*/
        .mainView{width:100%;height:100%;overflow:hidden;text-align:center;}
        
        .topView{position:relative;width:100%;height:40px;line-height:40px;overflow:hidden;background:white;border-bottom:1px solid #f1f1f1;box-sizing:border-box;font-size:15px;font-weight:bold;border-radius:0 0 20px 20px;}
        .backBtn{position:absolute;top:0px;left:10px;width:auto;height:30px;font-size:16px;cursor:pointer;}
        
        
        .contentView{width:100%;height:calc(100% - 40px);overflow-x:hidden;overflow-y:auto;}
        .contentView2{width:100%;height:calc(100% - 90px);overflow-x:hidden;overflow-y:auto;}
        .contentViewV{margin:0 auto;;width:100%;max-width:70%;height:100%;background:white;overflow-x:hidden;overflow-y:auto;}
        .contentViewV2{margin:0 auto;;width:100%;max-width:70%;height:100%;background:white;overflow-x:hidden;overflow-y:auto;}
        
        .bottomView{width:100%;height:40px;line-height:40px;}
        
        .baView{margin:0 auto;width:100%;max-width:70%;height:50px;line-height:25px;overflow:hidden;background:white;}
        
        
        
        
        
        
/* ===== 评论列表容器：水平排列，自动换行，间距一致 ===== */
#pllb {
    width:calc(100% - 0px);height:auto;
    margin:0 0 0 10px;
}

/* ===== 评论头像：固定尺寸，不变形 ===== */
.comment-avatar {
    float:left;
    margin:10px 10px 10px 0;
    width: calc(4.85vw - 10px);
    height: calc(4.85vw - 10px);
    
    border-radius: 50%;
    background: white;
    cursor: pointer;
    object-fit: cover;
    box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.15);
}

.comment-avatar:hover {box-shadow:0px 0px 4px 3px rgba(0,0,0,0.2);}

/* 父容器：水平排列，3个一排，允许换行 */
#tplb {
    display: flex;
    flex-wrap: wrap;
}

/* 每个 img 就是一个 1/3 格子 */
.gallery-img {
    width: 33.33%;
    /* 高度按宽度自动算：宽度 : 高度 = 9 : 16 */
    height: auto;
    aspect-ratio: 16 / 9.5;

    display: block;
    overflow: hidden;
    cursor: pointer;
    box-sizing: border-box;

    /* 不拉伸不压缩，铺满并居中裁剪 */
    object-fit: cover;
    object-position: center;

    transition: all 0.35s cubic-bezier(0.2, 0.9, 0.4, 1);
    box-shadow: 0 4px 12px -6px rgba(0, 0, 0, 0.1);
}

.gallery-img:hover {
    transform: scale(1.02) translateY(-3px);
    box-shadow: 
        0 18px 32px -12px rgba(34, 197, 94, 0.35),
        0 8px 20px -8px rgba(249, 115, 22, 0.25),
        0 0 0 3px rgba(59, 130, 246, 0.18);
    filter: brightness(1.04) saturate(1.05);
    z-index: 2;
    position: relative;
}

.gallery-img:active {
    transform: scale(0.99) translateY(-1px);
    box-shadow: 
        0 8px 16px -8px rgba(249, 115, 22, 0.4),
        0 0 0 3px rgba(59, 130, 246, 0.3);
    transition: all 0.1s ease-out;
}

/* 触摸设备优化 */
@media (hover: none) {
    .gallery-img:hover {
        transform: none;
        box-shadow: 0 4px 12px -6px rgba(0, 0, 0, 0.1);
        filter: none;
    }
    .gallery-img:active {
        transform: scale(0.97);
        box-shadow: 
            0 10px 20px -8px rgba(34, 197, 94, 0.4),
            0 0 0 3px rgba(59, 130, 246, 0.25);
    }
}

/* 触摸设备优化：避免 hover 卡住 */
@media (hover: none) {
    .gallery-img:hover {
        transform: none;
        box-shadow: 0 4px 12px -6px rgba(0, 0, 0, 0.1);
        filter: none;
    }
    .gallery-img:active {
        transform: scale(0.97);
        box-shadow: 
            0 10px 20px -8px rgba(34, 197, 94, 0.4),
            0 0 0 3px rgba(59, 130, 246, 0.25);
    }
}

/* ===== 发布作品按钮光晕动画 ===== */
@keyframes glowPulse {
    0%, 100% {
        box-shadow: 0 0 4px 1px rgba(168, 85, 247, 0.25);
        opacity: 0.6;
    }
    50% {
        box-shadow: 0 0 10px 3px rgba(168, 85, 247, 0.4);
        opacity: 0.9;
    }
}

.glow-halo {
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    border-radius: 10px;
    pointer-events: none;
    animation: glowPulse 3.5s ease-in-out infinite;
    z-index: 0;
}

/* ===== 查看更多按钮：容器 ===== */
.more-btn-wrapper {
    width: 100%;
    height: auto;               /* 原来是35px，改成auto更灵活 */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 12px 16px;
    overflow: hidden;
    /* 如果原来需要隐藏就保留下面这行，否则去掉 */
    /* display: none; */
}

/* ===== 查看更多按钮：基础样式 ===== */
.more-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    border-radius: 999px;                       /* 胶囊形，现代感强 */
    border: 1.5px solid transparent;

    /* 渐变描边：绿 → 橙 → 蓝（与头像/图片呼应） */
    background: 
        linear-gradient(#ffffff, #ffffff) padding-box,
        linear-gradient(135deg, #22c55e, #f97316, #3b82f6) border-box;

    color: #1e293b;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.3px;
    cursor: pointer;
    user-select: none;
    outline: none;

    box-shadow: 0 4px 12px -6px rgba(0, 0, 0, 0.15);
    transition: all 0.3s cubic-bezier(0.2, 0.9, 0.4, 1);
    /*will-change: transform, box-shadow;*/
}

/* 图标默认状态 */
.more-btn i {
    font-size: 12px;
    transition: transform 0.3s ease;
    color: #22c55e;
}

/* ===== Hover 效果：上浮 + 彩色光晕 + 图标下移 ===== */
.more-btn:hover {
    transform: translateY(-2px);
    color: #0f172a;
    box-shadow: 
        0 10px 22px -8px rgba(34, 197, 94, 0.45),   /* 绿色光晕 */
        0 6px 16px -8px rgba(249, 115, 22, 0.35),   /* 橙色辅助 */
        0 0 0 4px rgba(59, 130, 246, 0.15);          /* 蓝色外圈 */
}

/* hover 时图标轻微下移，暗示"展开" */
.more-btn:hover i {
    transform: translateY(2px);
    color: #f97316;
}

/* ===== 点击效果：按下感 ===== */
.more-btn:active {
    transform: translateY(0) scale(0.97);
    box-shadow: 
        0 4px 10px -4px rgba(249, 115, 22, 0.5),
        0 0 0 4px rgba(59, 130, 246, 0.25);
    transition: all 0.08s ease-out;
}

/* ===== 触摸设备优化 ===== */
@media (hover: none) {
    .more-btn:hover {
        transform: none;
        box-shadow: 0 4px 12px -6px rgba(0, 0, 0, 0.15);
    }
    .more-btn:hover i {
        transform: none;
        color: #22c55e;
    }
    .more-btn:active {
        transform: scale(0.95);
        box-shadow: 
            0 6px 14px -6px rgba(34, 197, 94, 0.5),
            0 0 0 4px rgba(59, 130, 246, 0.2);
    }
}

/* ===== 播放按钮：基础样式 ===== */
.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
    z-index: 10;
    /* 允许光圈溢出到按钮外 */
    overflow: visible;
}

.play-btn:hover {
    background: rgba(0, 0, 0, 0.7);
    transform: translate(-50%, -50%) scale(1.06);
}

.play-btn:active {
    transform: translate(-50%, -50%) scale(0.95);
}

/* ===== 脉冲光圈：从中心扩散到 1.8 倍 ===== */
.pulse-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 70px;
    height: 70px;
    margin-left: -35px;         /* 让圆心对齐 */
    margin-top: -35px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.85);
    pointer-events: none;       /* 不挡点击 */
    animation: pulseRing 2s cubic-bezier(0.2, 0.9, 0.4, 1) infinite;
    /*will-change: transform, opacity;*/
}

/* 第二个光圈：延迟 1 秒，形成连续脉冲节奏 */
.pulse-ring-2 {
    animation-delay: 1s;
}

/* ===== 光圈动画：从小 → 大，逐渐透明 ===== */
@keyframes pulseRing {
    0% {
        transform: scale(0.85);
        opacity: 0.9;
        border-color: rgba(255, 255, 255, 0.95);
    }
    70% {
        transform: scale(1.8);
        opacity: 0.15;
        border-color: rgba(255, 255, 255, 0.35);
    }
    100% {
        transform: scale(2.1);
        opacity: 0;
        border-color: rgba(255, 255, 255, 0);
    }
}

/* ===== 三角形播放图标 ===== */
.play-triangle {
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 12px 0 12px 20px;
    border-color: transparent transparent transparent #fff;
    margin-left: 5px;
    position: relative;
    z-index: 1;
    /* 跟随按钮 hover 有微妙反馈 */
    transition: transform 0.3s ease;
}

.play-btn:hover .play-triangle {
    transform: scale(1.1);
}
        
        
        
        
        @media(max-width:500px){
            /*.gallery-img{height:100px;}*/
            
            .topView{border-radius:0;}
            
            .contentViewV{max-width:100%;}
            .contentViewV2{max-width:100%;}
            
            .baView{max-width:100%;}
            
            #pllb {
                width:calc(100% - 0px);height:auto;
                margin:0 0 0 7px;
            }
            
            /* ===== 评论头像：固定尺寸，不变形 ===== */
            .comment-avatar {
                margin:7px 7px 7px 0;
                width: calc(14.00vw - 7px);
                height: calc(14.00vw - 7px);
                
                
            }
        }