body {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #222;
    color: white;
    font-family: sans-serif;
    margin: 0;
    padding: 0;
    height: 100vh;
    overflow: hidden;
    box-sizing: border-box;
}

h3 {
    margin: 5px 0;
    font-size: 1rem;
    color: #aaa;
    text-align: center;
}

.app-layout {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 2vw;
    width: 100%;
    height: 100%;
    padding: 0 20px 20px 20px;
    box-sizing: border-box;
}

body.grabbing {
    cursor: grabbing;
}

body.grabbing #threeContainer {
    cursor: grabbing;
}

#status {
    position: absolute;
    bottom: 10px;
    color: var(--text-color);
    background: rgba(0,0,0,0.5);
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 1em;
}

.debug-btn {
    display: none;
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 9999;
    padding: 10px 20px;
    background: #ff3333;
    color: white;
    border: 2px solid white;
    font-weight: bold;
    cursor: pointer;
}