.controls-label {
    color: white;
    font-weight: bold;
    display: flex;
    text-align: center;
}

.controls-key {
    color: #8cf;
}

.pointer-lock-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.pointer-lock-toggle {
    cursor: pointer;
}

.pointer-lock-help {
    position: relative;
    display: inline-block;
    margin-left: 4px;
}

.pointer-lock-help-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #555;
    color: #bbb;
    font-size: 10px;
    cursor: help;
    user-select: none;
}

.pointer-lock-help-tooltip {
    position: absolute;
    bottom: 22px;
    left: -60px;
    background:rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 6px 8px;
    border-radius: 4px;
    font-size: 11px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
    z-index: 1000;
    border: 1px solid #444;
}

.pointer-lock-help:hover .pointer-lock-help-tooltip {
    opacity: 1;
}
