/* Dai James - just the bits practice.css/match.css/competition-header.css
   don't already cover. The scorecard/shot-box styling is all borrowed from
   match.css via the .edit-mode class - see JS/dai-james-competition.js.
   No shooter-picker CSS needed here - the roster is auto-populated once,
   same as Senior Presidents, with no manual add/remove UI. */

.comp-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.comp-tab-btn {
    padding: 10px 18px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #e0d6c8;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 999px;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.comp-tab-btn:hover {
    background: rgba(255, 255, 255, 0.12);
}

.comp-tab-btn.active {
    color: #18181b;
    background: #d4a017;
    border-color: #d4a017;
}

.comp-tab-section[hidden] {
    display: none;
}

#djLockBar[hidden] {
    display: none;
}

#djRound1Wrap + .practice-actions,
#djRound2Wrap + .practice-actions,
#djRound3Wrap + .practice-actions,
#djStandingsWrap + .practice-actions {
    margin-top: 24px;
}

.practice-actions + .section {
    margin-top: 24px;
}

.results-summary {
    margin: 20px auto 0;
    max-width: 360px;
    border: 2px solid #d4a017;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 14px rgba(212, 160, 23, 0.25);
}

.results-summary-table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(255, 255, 255, 0.04);
}

.results-summary-table td {
    padding: 10px 14px;
    text-align: left;
    color: #e0d6c8;
    font-size: 0.92rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.results-summary-table tr:first-child td {
    border-top: none;
}

.results-place {
    font-weight: 700;
    color: #d4a017;
    white-space: nowrap;
}

.results-row-winner {
    background: rgba(212, 160, 23, 0.18);
}

.results-row-winner td {
    color: #ffd873;
}

.results-row-winner .results-place {
    color: #d4a017;
    text-shadow: 0 0 8px rgba(212, 160, 23, 0.4);
}
