/* VIP 徽章 */
.vip-badge {
    display: inline-block;
    padding: 1px 8px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.6;
    vertical-align: middle;
}
.vip-badge-1 {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #5C3D00;
}
.vip-badge-2 {
    background: linear-gradient(135deg, #C084FC, #9B59B6);
    color: #fff;
}
.vip-badge-3 {
    background: linear-gradient(135deg, #FF6B6B, #E74C3C);
    color: #fff;
}

/* 头像框覆盖层（在帖子头像上） */
.avatar-frame {
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border-radius: 50%;
    pointer-events: none;
    border: 3px solid;
    z-index: 1;
}

/* 头像容器需要设置 position:relative，由 hook 外面判断 */
.postlist .me-3.flex-shrink-0 {
    position: relative;
}
.threadlist .me-3.flex-shrink-0 {
    position: relative;
}

/* 头像框动画 */
.avatar-frame {
    animation: framePulse 2s ease-in-out infinite;
}
@keyframes framePulse {
    0%, 100% { box-shadow: 0 0 4px currentColor; }
    50% { box-shadow: 0 0 12px currentColor; }
}

/* 模态框 */
.modal.show {
    display: block;
}
.modal-open {
    overflow: hidden;
}