body {
    margin: 0;
}

.webgl {
    position: fixed;
    top: 0;
    left: 0;
    outline: none;
    width: 100%;
    height: 100%;
}

/* Camera Controls Panel Styling */
#cameraControls button {
    cursor: pointer;
    border: 1px solid #ccc;
    border-radius: 4px;
    background: #f5f5f5;
    transition: background 0.15s, transform 0.1s;
    font-weight: bold;
}

#cameraControls button:hover {
    background: #e0e0e0;
}

#cameraControls button:active {
    background: #90EE90;
    transform: scale(0.95);
}

#cameraControls input[type="range"] {
    cursor: pointer;
}

/* Player name labels — HTML overlay, never captured in the recorded video */
.playerLabel {
    position: absolute;
    transform: translate(-50%, -100%);
    padding: 2px 7px;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.65);
    color: #fff;
    font-family: sans-serif;
    font-size: 13px;
    font-weight: bold;
    white-space: nowrap;
    pointer-events: none;
    border: 2px solid transparent;
    text-shadow: 0 1px 2px rgba(0,0,0,0.8);
}

/* Currently selected player */
.playerLabel.selected {
    background: rgba(40, 160, 40, 0.85);
    border-color: #b6ff9e;
}
