.sound-test-component {
    padding: 1%;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #dee2e6;
    height: 100%;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    font-size: clamp(0.6rem, 1.5vw, 0.9rem);
}
.sound-header {
    text-align: center;
    flex-shrink: 0;
}
.sound-header h3 {
    margin: 0 0 5px 0;
    font-size: 1.2em;
}
.device-select {
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
}
.device-select label {
    margin-bottom: 5px;
    font-weight: bold;
}
.audio-device-select {
    padding: 5px 10px;
    border-radius: 4px;
    border: 1px solid #dee2e6;
    min-width: 200px;
}
.freq-control {
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
}
.freq-control label {
    margin-bottom: 5px;
    font-weight: bold;
}
.freq-control input[type="range"] {
    width: 80%;
    max-width: 400px;
}
.speaker-grid {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    min-height: 0;
    padding: 10px 0;
}
.speaker-btn {
    padding: 20px;
    font-size: 1em;
    border: 2px solid #dee2e6;
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
    transition: all 0.2s;
    touch-action: none;
    user-select: none;
}
.speaker-btn:hover {
    background: #e9ecef;
    border-color: #adb5bd;
}
.speaker-btn:active {
    background: #dee2e6;
    transform: scale(0.98);
}
.speaker-btn.left {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: #667eea;
}
.speaker-btn.left:hover {
    background: linear-gradient(135deg, #5568d3 0%, #65408b 100%);
}
.speaker-btn.right {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    border-color: #f093fb;
}
.speaker-btn.right:hover {
    background: linear-gradient(135deg, #d97fe4 0%, #de4a5d 100%);
}