body, html {
    margin: 0;
    padding: 0;
    font-family: "Play", sans-serif;
    font-weight: 400;
    font-style: normal;
    overflow: hidden;
}

#loading {
    position: absolute;
    z-index: 1000;
    top: 0;
    width: 100%;
    padding: 1rem;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
}

#ui {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 1001;
    display: flex;
    gap: 10px;
}

#ui button {
    padding: 0.6rem 1rem;
    font-size: 1rem;
    border: none;
    background: rgba(255, 255, 255, 0.85);
    border-radius: 6px;
    cursor: pointer;
}

#ui button:hover {
    background: white;
}

#modelPicker {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2000;
    background: rgba(0, 0, 0, 0.7);
}

.pickerOverlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
}

#modelGrid {
    display: flex;
    gap: 10px;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.modelPreview {
    width: 100px;
    height: 100px;
    background: #eee;
    border: 2px solid transparent;
    cursor: pointer;
}

.modelPreview:hover {
    border-color: #4facfe;
}

.pickerOverlay input {
    padding: 0.5rem;
    font-size: 1rem;
    width: 80%;
    margin-bottom: 1rem;
    border: 1px solid #ccc;
    border-radius: 6px;
}

.pickerOverlay button {
    margin-top: 10px;
}

#radar {
    display: none;
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 1002;
    background-color: rgba(0, 0, 0, 0.6);
    border: 2px solid white;
    border-radius: 50%;
}

#coordsDisplay {
    display: none;
    position: absolute;
    top: 165px; /* Just below the radar */
    right: 10px;
    z-index: 1002;
    color: white;
    font-size: 0.9rem;
    background: rgba(0, 0, 0, 0.6);
    padding: 4px 8px;
    border-radius: 6px;
    font-family: monospace;
}