/* NeuroLink10 – styles */

.nl10-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    cursor: crosshair;
    border-radius: 4px;
}

.nl10-canvas {
    display: block;
    width: 100%;
    height: 100%;
}

/* ── Lightbox ── */
.nl10-lightbox {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(0, 0, 0, 0.92);
    display: flex !important;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.nl10-lightbox.nl10-lb-visible {
    opacity: 1;
    pointer-events: all;
}

.nl10-lb-img {
    max-width: 90vw;
    max-height: 88vh;
    border-radius: 6px;
    box-shadow: 0 0 60px rgba(0, 212, 255, 0.35);
    transform: scale(0.92);
    transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: block;
}

.nl10-lightbox.nl10-lb-visible .nl10-lb-img {
    transform: scale(1);
}

.nl10-lb-close {
    position: absolute;
    top: 18px;
    right: 22px;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.6rem;
    cursor: pointer;
    opacity: 0.7;
    line-height: 1;
    padding: 4px 8px;
    transition: opacity 0.2s;
}
.nl10-lb-close:hover { opacity: 1; }

/* ── Hover tooltip hint ── */
.nl10-wrapper::after {
    content: attr(data-hint);
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.38);
    font-size: 0.68rem;
    letter-spacing: 0.04em;
    pointer-events: none;
    white-space: nowrap;
}
