/* BG Music Player v2 – Frontend CSS */
/* Most button styles are applied inline via JS for dynamic color/size support.
   This file handles only the tooltip which needs pseudo-elements. */

#bgmp-player-btn::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,.75);
    color: #fff;
    font-size: 12px;
    white-space: nowrap;
    padding: 4px 10px;
    border-radius: 4px;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

#bgmp-player-btn:hover::before {
    opacity: 1;
}
