html, body {
    margin: 0;
    padding: 0;
    background: #000;
    color: #0f0;
    image-rendering: pixelated;
    font: 12px monospace;
    overflow: hidden;
    height: 100%;
}

#networkCanvas {
    display: block;
    margin: 0 auto;
    outline: 0;
    cursor: crosshair;
    background: #000;
}

#hud {
    position: fixed;
    top: 6px;
    left: 8px;
    white-space: pre;
    font-family: monospace;
    font-size: 12px;
    color: #0f0;
    background: rgba(0, 0, 0, 0.8);
    padding: 8px;
    border: 1px solid #0f0;
    line-height: 1.3;
    z-index: 10;
}

#controls {
    position: fixed;
    bottom: 10px;
    left: 10px;
    font-family: monospace;
    font-size: 11px;
    color: #0a0;
    background: rgba(0, 0, 0, 0.8);
    padding: 8px;
    border: 1px solid #0a0;
    line-height: 1.3;
    z-index: 10;
}

#controls input[type="range"] {
    width: 100px;
    height: 16px;
    background: #222;
    outline: none;
    border: 1px solid #0a0;
}

#controls input[type="range"]::-webkit-slider-thumb {
    appearance: none;
    width: 12px;
    height: 12px;
    background: #0f0;
    cursor: pointer;
    border: 1px solid #fff;
}

#controls button {
    background: #222;
    color: #0f0;
    border: 1px solid #0a0;
    padding: 4px 8px;
    font-family: monospace;
    font-size: 10px;
    cursor: pointer;
    margin-left: 10px;
}

#controls button:hover {
    background: #0a0;
    color: #000;
}