.radio-head{
    margin-bottom:15px;
}

.radio-search{
    margin-bottom:15px;
}

.radio-search input[type=text]{
    width:70%;
    padding:10px;
    border:1px solid #ccc;
    border-radius:6px;
    box-sizing:border-box;
}

.radio-search input[type=submit]{
    padding:10px 14px;
    border:0;
    border-radius:6px;
    background:#3f8fd6;
    color:#fff;
    font-weight:bold;
    cursor:pointer;
}

.radio-player-box{
    background:#111;
    color:#fff;
    border-radius:10px;
    padding:15px;
    margin-bottom:15px;
    text-align:center;
}

.radio-now{
    font-size:20px;
    font-weight:bold;
    margin:10px 0;
}

#mainRadioPlayer{
    width:100%;
}

.radio-direct{
    display:none;
    color:#fff;
    text-decoration:none;
    margin-top:10px;
}

.radio-error{
    color:#ff8080;
    margin-top:8px;
}

.radio-list{
    display:grid;
    grid-template-columns:repeat(4, 1fr);
    gap:10px;
}

.radio-card{
    background:#fff;
    border:1px solid #ddd;
    border-radius:10px;
    padding:8px;
    box-shadow:0 2px 6px rgba(0,0,0,.08);
    min-width:0;
    height:240px;
    display:flex;
    flex-direction:column;
}

.radio-logo{
    height:60px;
    display:flex;
    align-items:center;
    justify-content:center;
    margin-bottom:5px;
}

.radio-logo img{
    max-width:80%;
    max-height:50px;
    object-fit:contain;
}

.radio-title{
    height:34px;
    overflow:hidden;
    font-size:13px;
    font-weight:bold;
    line-height:17px;
}

.radio-info{
    flex:1;
    font-size:11px;
    line-height:1.3;
}

.radio-button{
    margin-top:auto;
}

.radio-button:hover{
    opacity:.9;
}

@media (max-width:700px){

    .radio-search input[type=text]{
        width:100%;
        margin-bottom:8px;
    }

    .radio-search input[type=submit]{
        width:100%;
    }

}

@media (max-width:380px){
    .radio-list{
        gap:7px;
    }

    .radio-card{
        padding:6px;
    }

    .radio-title{
        font-size:12px;
    }

    .radio-info{
        font-size:10px;
    }

    .radio-button{
        font-size:10px;
    }
}
.radio-list,
.sender-list,
.stations-list,
.radio-grid{
    display:grid !important;
    grid-template-columns:repeat(4, 1fr) !important;
    gap:10px !important;
}

.radio-card,
.sender-card,
.station-card{
    width:auto !important;
    min-width:0 !important;
    padding:8px !important;
    box-sizing:border-box !important;
}

.radio-logo img,
.sender-logo img,
.station-logo img{
    max-width:100% !important;
    max-height:50px !important;
    object-fit:contain !important;
}

.radio-title,
.sender-title,
.station-title{
    font-size:13px !important;
    line-height:1.2 !important;
}

.radio-info,
.sender-info,
.station-info{
    font-size:11px !important;
    line-height:1.35 !important;
}

.radio-button,
.sender-button,
.station-button{
    font-size:11px !important;
    padding:7px 4px !important;
}
