/* CITYSPORTS FRONTEND - TABLA
   Aquí queda ÚNICAMENTE lo específico de la tabla.
   Header, tabs, body y fuente Inter están en frontend.css. */

.standings{
    width:calc(100% - 16px);
    margin:8px auto 24px;
    background:transparent;
}

.standings-table{
    width:100%;
    margin-bottom:8px;
    background:#fff;
    border-radius:14px;
    overflow:hidden;
    font-variant-numeric:tabular-nums;
}

.standings-header{
    height:52px;
    display:grid;
    grid-template-columns:34px minmax(0,1fr) 32px 42px 42px;
    align-items:center;
    padding:0 10px 0 12px;
    border-bottom:1px solid #e7e7e7;
    color:#777;
    font-size:13px;
    font-weight:400;
    font-variant-numeric:tabular-nums;
}

.group-title{
    min-width:0;
    grid-column:2;
    text-align:left;
    color:#444;
    font-size:13px;
    font-weight:600;
    line-height:1.1;
}

.standings-header .stat-column{
    text-align:center;
}

.standing-row{
    position:relative;
    min-height:44px;
    display:grid;
    grid-template-columns:34px minmax(0,1fr) 32px 42px 42px;
    align-items:center;
    padding:0 10px 0 12px;
    font-size:13px;
    font-weight:400;
    border-bottom:1px solid #eee;
    font-variant-numeric:tabular-nums;
}

.standing-row:last-child{
    border-bottom:0;
}

.position{
    text-align:left;
    font-size:13px;
    font-weight:400;
    font-variant-numeric:tabular-nums;
}

.team{
    min-width:0;
    display:flex;
    align-items:center;
    gap:8px;
}

.team-logo{
    width:20px;
    height:20px;
    flex:0 0 20px;
    object-fit:contain;
}

.team-name{
    min-width:0;
    overflow:hidden;
    white-space:nowrap;
    text-overflow:ellipsis;
    font-size:13px;
    font-weight:400;
    line-height:1.2;
}

.stat-column{
    text-align:center;
    font-size:13px;
    font-weight:400;
    font-variant-numeric:tabular-nums;
}

.points{
    text-align:center;
    font-size:13px;
    font-weight:700;
    font-variant-numeric:tabular-nums;
}

@media (max-width:340px){
    .standings-header,
    .standing-row{
        grid-template-columns:29px minmax(0,1fr) 30px 38px 38px;
        padding-left:10px;
        padding-right:7px;
    }

    .team{
        gap:6px;
    }

    .team-logo{
        width:19px;
        height:19px;
        flex-basis:19px;
    }

    .team-name,
    .stat-column,
    .points,
    .position{
        font-size:12px;
    }

    .group-title{
        font-size:12px;
    }
}

@media (min-width:481px){
    .mobile-app{
        box-shadow:0 0 25px rgba(0,0,0,.08);
    }
}
