/* ========================================
   bell_mmwd 插件样式 - 优化版本
   ======================================== */

#bell-mmwd-widget {
    /* 使用模板的 card 样式 */
}

.bell-mmwd-header {
    /* 使用模板的 card-header 样式 */
}

.bell-mmwd-header h3 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
}

.bell-mmwd-content {
    padding: 1.25rem;
}

.bell-mmwd-image-container {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    background: #f5f5f5;
}

.bell-mmwd-image-container img {
    width: 100%;
    height: auto;
    object-fit: contain;
    cursor: pointer;
    transition: transform 0.3s ease;
    display: block;
}

.bell-mmwd-image-container img:hover {
    transform: scale(1.05);
}

.bell-mmwd-hint {
    font-size: 12px;
    color: #6c757d;
    text-align: center;
    margin-top: 10px;
}

body.dark .bell-mmwd-hint {
    color: #9ca3af;
}

.bell-mmwd-empty {
    color: #6c757d;
    font-size: 14px;
    text-align: center;
    padding: 40px 20px;
}

body.dark .bell-mmwd-empty {
    color: #9ca3af;
}

@keyframes smileFloat {
    0% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    100% {
        opacity: 0;
        transform: translateY(-100px) scale(1.5);
    }
}

.bell-mmwd-smile {
    position: fixed;
    font-size: 40px;
    pointer-events: none;
    z-index: 999999;
    animation: smileFloat 1s ease-out forwards;
}

@media (max-width: 768px) {
    #bell-mmwd-widget {
        top: auto;
        bottom: 20px;
        left: 20px;
        right: 20px;
        width: auto;
        max-width: none;
    }
}
