body {
    margin: 0;
    padding: 0;
    overflow: hidden;
    font-family: "Noto Color Emoji", Arial, sans-serif;
    background-color: #f0f0f0;
}

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

#info {
    position: absolute;
    top: 10px;
    width: 100%;
    text-align: center;
    color: white;
    pointer-events: none;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    z-index: 100;
}

.controls {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 10px;
    border-radius: 5px;
    color: white;
    z-index: 100;
    max-width: 300px;
}

.control-group {
    margin-bottom: 8px;
}

.control-group label {
    display: block;
    margin-bottom: 3px;
    font-size: 12px;
}

.control-group input[type="range"] {
    width: 100%;
}

.control-group select {
    width: 100%;
    padding: 3px;
    background: #333;
    color: white;
    border: 1px solid #555;
}

button {
    padding: 5px 10px;
    background-color: #4285f4;
    color: white;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    margin-top: 5px;
}

button:hover {
    background-color: #3b77db;
}

.control-value {
    font-size: 11px;
    color: #ccc;
    display: inline-block;
    width: 30px;
    text-align: right;
}

#controls {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

#recordButton, #downloadButton {
    padding: 10px 20px;
    margin: 5px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s;
}

#recordButton {
    background-color: #ff4444;
    color: white;
}

#recordButton.recording {
    background-color: #aa0000;
}

#downloadButton {
    background-color: #44aa44;
    color: white;
}