/* HoFi Billard – Skomager moderne v2.0
   Tillæg til den godkendte fixture_plan.css v2.0. */

.skomager-modern-table .col-player{
    min-width:150px;
}

.skomager-modern-players{
    margin-top:1.2rem;
}

.skomager-modern-player-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:.55rem;
}

.skomager-modern-player-card{
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    align-items:center;
    gap:.7rem;
    padding:.55rem .65rem;
    border:1px solid var(--border);
    border-radius:8px;
    background:var(--surface);
    font-size:.78rem;
}

.skomager-modern-player-card span{
    color:var(--text-muted);
    white-space:nowrap;
}

.skomager-modern-player-card b{
    color:var(--text-light);
}

@media(max-width:700px){

    .skomager-modern-player-grid{
        grid-template-columns:1fr;
    }
}


@media print{

    /*
     * Samme arbejdsbredde som de øvrige godkendte moderne udskrifter.
     */
    .fixture-modern-page,
    .fixture-modern-document{
        width:186mm!important;
        max-width:186mm!important;
    }

    .skomager-modern-table .col-match{
        width:10mm!important;
    }

    .skomager-modern-table .col-day{
        width:11mm!important;
    }

    .skomager-modern-table .col-date{
        width:14mm!important;
    }

    .skomager-modern-table .col-time{
        width:12mm!important;
    }

    .skomager-modern-table .col-table{
        width:10mm!important;
    }

    .skomager-modern-table .col-vs{
        width:6mm!important;
    }

    .skomager-modern-table .col-distance{
        width:17mm!important;
    }

    .skomager-modern-table .col-player{
        width:auto!important;
        min-width:0!important;
    }

    /*
     * Skomager har mange opgør. Rækkerne er derfor lidt mere kompakte
     * end Hold/Par, men bruger samme table-look.
     */
    .skomager-modern-table td{
        padding:1.25mm 1.15mm!important;
        font-size:8.2pt!important;
        line-height:1.08!important;
    }

    .skomager-modern-table th{
        padding:1.4mm 1.15mm!important;
        font-size:7.4pt!important;
    }

    .skomager-modern-table .team-name{
        font-size:8.4pt!important;
    }

    .skomager-modern-table .match-number{
        font-size:9pt!important;
    }

    .skomager-modern-players{
        break-before:page!important;
        page-break-before:always!important;
    }

    .skomager-modern-player-grid{
        grid-template-columns:repeat(3,minmax(0,1fr))!important;
        gap:2mm!important;
    }

    .skomager-modern-player-card{
        padding:1.5mm 2mm!important;
        border:1px solid #aaa!important;
        border-radius:0!important;
        background:#fff!important;
        color:#111!important;
        font-size:7.8pt!important;
    }

    .skomager-modern-player-card span{
        color:#555!important;
    }

    .skomager-modern-player-card b{
        color:#111!important;
    }
}
