#exclusive-kanban-girl {
    border: none;
    outline: none;
    position: fixed;
    bottom: 75px;
    right: 90px;
    width: 110px;
    height: 165px;
    z-index: 99999;
    cursor: move;
    user-select: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 12px;
    overflow: visible !important;
  /* 主要的上下浮动动画 */
    animation: gentleFloat 3s ease-in-out infinite;
}

/* 温和的上下浮动动画 */
@keyframes gentleFloat {
    0% { 
        transform: translateY(0px) rotate(0deg); 
    }
    50% { 
        transform: translateY(-8px) rotate(1deg); 
    }
    100% { 
        transform: translateY(0px) rotate(0deg); 
    }
}

#exclusive-kanban-girl.dragging {
    cursor: grabbing;
    transform: rotate(3deg) scale(1.05);
    box-shadow: 0 15px 30px rgba(100, 180, 255, 0.3);
    z-index: 100000;
    animation-play-state: paused; /* 拖动时暂停浮动 */
}

#exclusive-kanban-girl:hover {
    transform: translateY(-5px) scale(1.03) rotate(-1deg);
    box-shadow: 0 10px 25px rgba(100, 180, 255, 0.25);
    animation-play-state: paused; /* 悬停时暂停浮动，让hover效果更明显 */
}

#exclusive-kanban-girl img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 12px;
    opacity: 0;
    animation: fadeIn 0.8s ease forwards, imgSway 4s ease-in-out infinite 0.8s;
    outline: none;
    z-index: 1;
    position: relative;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

/* 图片独立的轻微摆动 */
@keyframes imgSway {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-2px); }
}

#girl-bubble {
    position: absolute;
    top: -80px;
    right: 20px;
    max-width: 280px;
    min-width: 150px;
    background: linear-gradient(135deg, #a1dfff 0%, #66bfff 100%);
    color: #fff;
    padding: 12px 16px;
    border-radius: 18px;
    font-size: 14px;
    font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
    box-shadow: 0 8px 20px rgba(100, 180, 255, 0.25);
    display: none;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    white-space: normal;
    word-wrap: break-word;
    line-height: 1.5;
    z-index: 99999;
}

#girl-bubble::after {
    content: '';
    position: absolute;
    bottom: -12px;
    right: 30px;
    width: 0;
    height: 0;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-top: 12px solid #66bfff;
}

/* 隐藏/显示按钮 */
#toggle-girl {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 24px;
    height: 24px;
    border: 2px solid white;
    border-radius: 50%;
    background: #ff6b6b;
    color: white;
    font-size: 14px;
    cursor: pointer;
    z-index: 999999;
    line-height: 20px;
    text-align: center;
    padding: 0;
    margin: 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    opacity: 1 !important;
    pointer-events: auto !important;
    transition: all 0.3s ease;
}

#toggle-girl:hover {
    transform: scale(1.1);
    background: #ff5252;
}

#toggle-girl.dragging {
    background: #4ecdc4;
    transform: scale(1.2);
}

@keyframes fadeIn {
    to { opacity: 1; }
}

/* 手机端适配 */
@media (max-width: 768px) {
    #exclusive-kanban-girl {
        width: 90px;
        height: 135px;
        bottom: 20px;
        right: 20px;
        animation: gentleFloatMobile 3s ease-in-out infinite;
    }
    
    @keyframes gentleFloatMobile {
        0% { 
            transform: translateY(0px) rotate(0deg); 
        }
        50% { 
            transform: translateY(-5px) rotate(0.5deg); 
        }
        100% { 
            transform: translateY(0px) rotate(0deg); 
        }
    }
    
    #girl-bubble {
        max-width: 220px;
        font-size: 12px;
        padding: 10px 14px;
        top: -70px;
        right: 5px;
    }
    
    #toggle-girl {
        width: 22px;
        height: 22px;
        font-size: 12px;
    }
}