/* Item Tooltip */
#item-tooltip {
    position: fixed;
    display: none;
    z-index: 10000;
    background: rgba(30, 30, 35, 0.95);
    border: 1px solid var(--border-color);
    padding: 10px;
    border-radius: 4px;
    pointer-events: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    font-size: 0.9rem;
    color: #fff;
    width: fit-content;
    min-width: 270px;
    /* Minimal width consistency */
    max-width: 320px;
}

/* Tooltip Header Area */
.tooltip-header {
    display: flex;
    align-items: center;
    /* Align Icon and Text vertically center */
    gap: 8px;
    /* Spacing between Icon and Name */
    margin-bottom: 2px;
}

/* Damage Type Icon in Header */
.tooltip-damage-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
    /* Make it stand out slightly */
    filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.3));
}

.tooltip-name {
    font-weight: bold;
    font-size: 1.1rem;
    color: #eee;
    text-shadow: 1px 1px 0 #000;
    white-space: nowrap;
    /* Keep Name on one line if possible */
}

/* Item Type next to name (same line, slightly smaller or diff color?) */
.tooltip-type {
    font-size: 0.9rem;
    color: #eec900;
    /* Goldish for type */
    text-shadow: 1px 1px 0 #000;
    white-space: nowrap;
}

/* English Name on second line */
.tooltip-en-name {
    font-size: 0.8rem;
    color: #aaa;
    margin-bottom: 8px;
    /* Indent slightly to align with text above? Or just left align */
    /* If name has icon, maybe indent to match name start? */
    margin-left: 28px;
    /* 20px icon + 8px gap */
}