.app-tooltip {
    position: fixed;
    z-index: 10000;
    max-width: min(260px, calc(100vw - 24px));
    padding: 8px 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    color: #ffffff;
    background: rgba(15, 23, 42, 0.96);
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.24);
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.35;
    letter-spacing: 0;
    text-align: center;
    pointer-events: none;
    opacity: 0;
    transform: translateY(4px) scale(0.98);
    transition: opacity 0.14s ease, transform 0.14s ease;
    white-space: normal;
}

.app-tooltip::after {
    position: absolute;
    left: 50%;
    width: 9px;
    height: 9px;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(15, 23, 42, 0.96);
    content: "";
    transform: translateX(-50%) rotate(45deg);
}

.app-tooltip[data-placement="top"]::after {
    bottom: -5px;
}

.app-tooltip[data-placement="bottom"]::after {
    top: -5px;
    transform: translateX(-50%) rotate(225deg);
}

.app-tooltip.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}
