/* HoFi Billard - Skomager turneringsstilling v1.1
   Bygger videre på standings.css, så Skomager visuelt matcher Hold/PAR.
*/

.skomager-standings-table {
    min-width: 720px;
}

.skomager-standings-table .col-player,
.skomager-standings-table .player-cell {
    text-align: left;
}

.skomager-standings-table .col-player {
    min-width: 220px;
}

.skomager-standings-table .player-cell {
    color: var(--text);
    font-weight: 700;
}

.skomager-standings-table th:not(.col-position):not(.col-player),
.skomager-standings-table td:not(.position-cell):not(.player-cell) {
    min-width: 72px;
}

.skomager-standings-table .col-score,
.skomager-standings-table .score-cell {
    min-width: 110px;
    text-align: center;
}

.skomager-standings-table .match-points-cell,
.skomager-standings-table .score-cell {
    font-weight: 800;
    color: var(--text);
}

.skomager-standings-legend .skomager-sort-order {
    flex-basis: auto;
}

.skomager-empty-state {
    padding: 28px 24px;
    border-top: 1px solid var(--border);
    color: var(--muted);
}

@media (max-width: 700px) {
    .skomager-standings-table {
        min-width: 690px;
    }

    .skomager-standings-table .col-player {
        min-width: 170px;
    }
}

/* Kompakt tie-break-kolonne, HoFi TEST */
.skomager-standings-table th.col-tb,
.skomager-standings-table td.skomager-tb-cell { min-width: 48px !important; width: 48px; text-align: center; }
.skomager-tb-indicator { display:inline-flex; align-items:center; justify-content:center; width:26px; height:26px; border-radius:50%; font-weight:800; text-decoration:none; background:rgba(148,163,184,.12); color:var(--text); }
.skomager-tb-indicator.is-winner { color:#54d89a; background:rgba(84,216,154,.12); }
.skomager-tb-indicator.is-pending { color:#f3c66d; background:rgba(243,198,109,.12); }
.skomager-tb-indicator:focus-visible { outline:2px solid #59aaff; outline-offset:2px; }
.skomager-tb-notice { padding:12px 16px; margin:16px 0; border:1px solid var(--border); border-radius:12px; background:var(--card-bg,rgba(24,43,66,.65)); }
.skomager-tb-notice a { margin-left:12px; }

/* Tydelig rød markering for lavere placering efter tie-break */
.skomager-tb-indicator.is-lower { color:#ff777e; background:rgba(239,68,68,.18); }
