
#live2d-container {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 300px;
    height: 450px;
    z-index: 9999;
    pointer-events: none;
}

#live2d {
    width: 100%;
    height: 100%;
    pointer-events: auto;
}

#live2d-bubble {
    position: fixed !important;

    max-width: 260px;
    padding: 10px 14px;

    background: rgba(30, 30, 30, 0.85);
    color: #fff;
    font-size: 14px;
    line-height: 1.5;

    border-radius: 14px;
    word-break: break-word;
    white-space: normal;

    opacity: 0;
    visibility: hidden;

    z-index: 10000 !important;

    transition: opacity .25s ease, transform .25s ease;
    transform: translateY(6px);

    pointer-events: none;
}



#live2d-bubble::after {
    content: '';
    position: absolute;
    left: 24px;
    bottom: -8px;

    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid rgba(255,255,255,0.92);
}
/* 显示状态（关键） */
#live2d-bubble.show {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0);
}


#live2d-switch {
    position: absolute;
    right: -5px;
    bottom: 10px;
    pointer-events: auto;
}


