/* 卡通龙容器 */
#dragon-container {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 150px;
    height: 150px;
    z-index: 9999;
    transform-origin: center bottom;
    animation: dragon-sway 3s infinite alternate ease-in-out;
}

/* 卡通龙图片 */
#dragon-image {
    max-width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

/* 卡通龙摇摆动画 */
@keyframes dragon-sway {
    0% {
        transform: rotate(-8deg);
    }
    100% {
        transform: rotate(8deg);
    }
}

/* 龙嘴位置（气泡起始点） */
#dragon-mouth {
    position: absolute;
    top: 40px;
    right: 60px;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    z-index: 10000;
}

/* 评论气泡 */
.comment-bubble {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    min-width: 120px;
    max-width: 200px;
    opacity: 0;
    transform: scale(0.3);
    transition: all 0.5s ease;
    pointer-events: auto;
    cursor: pointer;
    z-index: 10000;
}

/* 气泡内容 */
.bubble-content {
    display: flex;
    align-items: flex-start;
}

.avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    margin-right: 8px;
    object-fit: cover;
}

.author {
    font-weight: bold;
    color: #333;
    font-size: 14px;
    margin-bottom: 2px;
}

.content {
    color: #666;
    font-size: 13px;
    line-height: 1.4;
}

/* 气泡炸开效果 */
.fragment-container {
    position: absolute;
    pointer-events: none;
    z-index: 10001;
}

.bubble-fragment {
    position: absolute;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    opacity: 0;
}    