body { margin: 0; overflow: hidden; background: #000; font-family: 'Segoe UI', sans-serif; touch-action: none; }
#pose_canvas, #three_container { position: absolute; width: 100vw; height: 100vh; z-index: 1; object-fit: contain; }
#three_container { z-index: 2; pointer-events: none; }

#ui-layer { position: absolute; inset: 0; z-index: 10; display: flex; flex-direction: column; justify-content: space-between; pointer-events: none; padding: 15px; }
.top-bar, .bottom-panel { pointer-events: auto; }
.top-bar { display: flex; justify-content: space-between; gap: 8px; }

.bottom-panel { 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    margin-bottom: 10px; 
    gap: 8px; 
}

.control-group {
    background: rgba(0, 0, 0, 0.7);
    padding: 8px 15px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
    width: 90%;
    max-width: 350px;
    font-size: 13px;
    backdrop-filter: blur(5px);
}

.control-group input { flex: 1; cursor: pointer; accent-color: #007aff; }

.action-btn {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    color: white;
    padding: 10px 18px;
    font-weight: bold;
    cursor: pointer;
    font-size: 14px;
}

.action-btn.success { background: rgba(52, 199, 89, 0.8); }
.action-btn.danger { background: rgba(255, 59, 48, 0.8); }
.upload-box { background: rgba(0, 122, 255, 0.8); margin-top: 5px; }
.guide-text { color: rgba(255, 255, 255, 0.8); font-size: 11px; margin: 0; }