/* 工具提示样式 */
.tooltip {
    position: absolute;
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 12px;
    pointer-events: none;
    z-index: 10000;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.tooltip::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background: inherit;
    top: 100%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
}

.tooltip-visible {
    opacity: 1;
} 