/* Container */
.erm-single-match{
    max-width:900px;
    margin:40px auto;
    padding:20px;
    background:#fff;
    border-radius:12px;
    box-shadow:0 4px 15px rgba(0,0,0,.06);
}

/* Header Row */
.erm-single-header{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
    margin-bottom:25px;
}

/* Teams */
.erm-single-header .team{
    display:flex;
    align-items:center;
    gap:10px;
    min-width:0;
    flex:1;
}

.erm-single-header .team.home{
    justify-content:flex-start;
}

.erm-single-header .team.away{
    justify-content:flex-end;
}

.erm-single-header .team img{
    width:50px;
    height:50px;
    border-radius:50%;
    object-fit:cover;
}

.erm-single-header .team span{
    font-size:18px;
    font-weight:600;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}

/* Score */
.erm-single-header .score{
    font-size:28px;
    font-weight:bold;
    text-align:center;
    flex:0 0 140px;
}

/* Status */
.erm-status{
    text-align:center;
    margin-bottom:20px;
    font-size:16px;
    font-weight:bold;
}

/* Details Table */
.erm-match-details{
    width:100%;
    border-collapse:collapse;
    margin-bottom:25px;
}

.erm-match-details th{
    text-align:right;
    background:#f8f9fa;
    padding:10px;
    width:120px;
    font-weight:600;
}

.erm-match-details td{
    padding:10px;
    border-bottom:1px solid #eee;
}

/* Article */
.erm-match-article{
    margin-top:30px;
}

.erm-match-article h3{
    margin-bottom:15px;
    font-size:20px;
}

.erm-match-article p{
    line-height:1.8;
}

/* Stream Section */
.erm-stream{
    margin-top:30px;
    text-align:center;
}

.erm-watch{
    background:#e74c3c;
    color:#fff;
    padding:10px 20px;
    border-radius:6px;
    text-decoration:none;
    font-weight:bold;
}

.erm-watch:hover{
    opacity:.85;
}

/* Access Form */
.erm-access-form input{
    padding:8px;
    width:200px;
    margin-right:5px;
}

.erm-access-form button{
    padding:8px 15px;
}

/* Responsive */
@media(max-width:768px){

    .erm-single-header{
        flex-direction:column;
        gap:15px;
    }

    .erm-single-header .score{
        order:-1;
        font-size:24px;
    }

    .erm-single-header .team{
        justify-content:center;
    }

}