body {
    background-color: transparent;
    padding: 10px;
    box-sizing: border-box;
    font-family: sans-serif;
}
#soundboardWidget {
    background: #000;
    color: #e0e0e0;
    width: 100%; /* Let it fill the container */
    max-width: 100%; /* UPDATED: Changed from 320px to 100% */
    margin: 0 auto;
    padding: 24px;
    border: 2px solid #00ffff;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.4), 0 0 30px rgba(0, 255, 255, 0.2);
    box-sizing: border-box;
}
#soundboardWidget h3 {
    font-family: Arial, sans-serif;
    font-weight: bold;
    font-size: 28px;
    color: #00ffff;
    text-align: center;
    margin: 0 0 24px 0;
    text-shadow: 0 0 10px #00ffff, 0 0 20px #00ffff;
}
#soundboardWidget .soundboard-controls {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}
#soundboardWidget .stop-all-button {
    background: transparent;
    color: #ff8a8a;
    border: 1px solid #ff4444;
    padding: 10px 16px;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.2s ease;
    font-family: inherit;
    font-size: 14px;
}
#soundboardWidget .stop-all-button:hover {
    background: #440000;
    color: #fff;
}
/* UPDATED: Switched back to grid for uniform button sizes */
#soundboardWidget .soundboard-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}
#soundboardWidget .sound-button {
    width: 100%;
    box-sizing: border-box;
    background: transparent;
    border: 1px solid #00ffff;
    color: #cceeee;
    padding: 15px 10px;
    border-radius: 6px;
    font-size: 12px;
    cursor: pointer;
    transition: 0.2s ease;
    font-family: inherit;
    min-height: 60px; /* Ensures consistent height */
}
#soundboardWidget .sound-button:hover {
    background: #003333;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}
#soundboardWidget .sound-button:active {
    transform: scale(0.95);
}
#soundboardWidget .sound-button.playing {
    background: #00ff99;
    color: #000;
    border-color: #00ff99;
    box-shadow: 0 0 12px rgba(0, 255, 153, 0.7);
    font-weight: bold;
}