body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
}

header {
    background-color: #2c3e50;
    color: white;
    text-align: center;
    padding: 20px;
}

main {
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 20px;
}

.group {
    margin-bottom: 30px;
}

.group h2 {
    color: #2c3e50;
    border-bottom: 2px solid #3498db;
    padding-bottom: 5px;
}

.station-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.station {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    padding: 15px;
    text-align: center;
    cursor: pointer;
    transition: transform 0.2s;
}

.station:hover {
    transform: scale(1.05);
}

.station img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 4px;
}

.station p {
    margin: 10px 0 0;
    font-size: 14px;
}

.station button {
    margin-top: 10px;
    padding: 5px 10px;
    border: none;
    border-radius: 4px;
    background-color: #3498db;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s;
}

.station button.playing {
    background-color: #e74c3c;
}

.player-container {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    max-width: 600px;
    background-color: #fff;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

#current-station {
    margin-bottom: 10px;
    font-size: 16px;
    font-weight: bold;
    color: #2c3e50;
    text-align: center;
}

#waveform {
    width: 100%;
    height: 100px; /* 波形高度 */
}

@media (max-width: 768px) {
    .station-list {
        grid-template-columns: 1fr;
    }
    .player-container {
        width: 90%;
    }
}