#waifu {
    position: fixed; bottom: 0; left: 0; z-index: 9999;
    font-size: 0; pointer-events: none; transition: transform 0.3s;
}
#live2d-canvas {
    position: relative; pointer-events: auto; cursor: grab; z-index: 1;
}
#live2d-canvas.dragging { cursor: grabbing !important; }

#debug-canvas { position: absolute; top: 0; left: 0; pointer-events: none; z-index: 2; }

#waifu-tips {
    border: 1px solid; padding: 10px; line-height: 1.5;
    position: absolute; pointer-events: none; z-index: 99;
    opacity: 0; transition: opacity 0.2s;
    overflow: hidden; display: flex; align-items: center; justify-content: center; text-align: center;
}

#waifu-tool {
    display: block; position: absolute; pointer-events: auto; z-index: 100;
}

.waifu-tool-item {
    display: block; cursor: pointer; margin-bottom: 8px;
    background-size: cover; background-position: center;
    position: relative; transition: transform 0.2s;
}
.waifu-tool-item:hover { transform: scale(1.2); }

.waifu-tool-tip {
    position: absolute; top: 0; white-space: nowrap; padding: 2px 5px; border-radius: 4px;
    opacity: 0; transition: opacity 0.3s; pointer-events: none; display: none;
}
.waifu-tool-item:hover .waifu-tool-tip { opacity: 1; display: block; }

/* 已删除 #wla-modal 相关样式 */

#waifu-toggle {
    position: fixed; background-color: #ffffff00;
    background-size: cover; background-position: center;
    border-radius: 50%; box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    z-index: 10000; cursor: pointer; display: none;
    /* 优化拖拽流畅度 */
    touch-action: none; user-select: none;
}