html, body {
    margin: 0;
    height: 100%;
    background: #14161a;
    overflow: hidden;
    font-family: system-ui, sans-serif;
}
#hud {
    position: fixed;
    top: 10px;
    left: 10px;
    color: #ddd;
    font-size: 13px;
    background: rgba(0,0,0,0.4);
    padding: 8px 12px;
    border-radius: 6px;
    z-index: 10;
    line-height: 1.5;
}
#hud input {
    width: 220px;
    font-size: 12px;
}
.ball {
    position: absolute;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    cursor: grab;
    box-shadow: 0 2px 6px rgba(0,0,0,0.5);
}
.ball.dragging { cursor: grabbing; }
.ball .label {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    font-size: 10px;
    color: #aaa;
    white-space: nowrap;
    margin-top: 2px;
}
#arena {
    position: relative;
    width: 100vw;
    height: 100vh;
}
