* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background-color: #111915;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    overflow: hidden;
    font-family: 'Segoe UI', Tahoma, sans-serif;
}

#app-container {
    position: relative;
    height: 95vh;
    aspect-ratio: 9 / 16;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    background-color: #FEF6DA;
    overflow: hidden;
    border-radius: 8px;
}

canvas {
    width: 100%;
    height: 100%;
    display: block;
}

#ui {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: rgba(17, 25, 21, 0.8);
    padding: 15px;
    border-radius: 12px;
    border: 1px solid #333;
}

button {
    background: #1D2131;
    color: #F1E6D8;
    border: 1px solid #EE7B30;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    transition: 0.2s;
}

button:hover { background: #EE7B30; color: #111915; }
