/* ========================================
   BlessSport Core UI
   Clean / soft / premium
======================================== */

/* ===== WRAPPER ===== */
.bs-wrap {
    width: 100%;
    margin: 0 auto;
}

/* ===== GLOBAL ===== */
.bs-no-data {
    padding: 16px;
    border: 1px dashed #cbd5e1;
    border-radius: 14px;
    color: #64748b;
    background: #f8fafc;
    font-size: 14px;
}

.bs-section-title,
.bs-standings-title,
.bs-bracket-round-title {
    margin: 0 0 12px;
    color: #0f172a;
    font-weight: 800;
    line-height: 1.2;
}

/* ===== TEAMS ===== */
.bs-teams-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
}

.bs-team-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 24px;
    text-align: center;
    color: #0f172a;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.bs-team-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.08);
    border-color: #cbd5e1;
}

.bs-team-card img {
    width: 84px;
    height: 84px;
    object-fit: contain;
    margin: 0 auto 14px;
    display: block;
}

.bs-team-card h3 {
    margin: 0;
    font-size: 18px;
    line-height: 1.3;
    color: #0f172a;
    font-weight: 800;
}

.bs-team-group {
    margin-top: 8px;
    font-size: 13px;
    color: #64748b;
}

/* ===== SCHEDULE ===== */
.bs-schedule {
    display: grid;
    gap: 16px;
}

.bs-match-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 20px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

.bs-match-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.bs-match-group {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #2563eb;
}

.bs-match-meta {
    font-size: 13px;
    color: #64748b;
}

.bs-match-teams {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.bs-match-team {
    flex: 1;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.3;
}

.bs-match-team.right {
    text-align: right;
}

.bs-match-score {
    font-size: 22px;
    font-weight: 900;
    color: #0f172a;
    white-space: nowrap;
}

/* ===== STANDINGS ===== */
.bs-standings-wrap {
    overflow-x: auto;
}

.bs-standings-group {
    margin-bottom: 28px;
}

.bs-standings-title {
    font-size: 20px;
}

.bs-standings-table {
    width: 100%;
    border-collapse: collapse;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

.bs-standings-table th,
.bs-standings-table td {
    padding: 13px 14px;
    border-bottom: 1px solid #e2e8f0;
    text-align: left;
}

.bs-standings-table th {
    background: #f1f5f9;
    color: #334155;
    font-weight: 800;
    font-size: 13px;
    letter-spacing: 0.02em;
}

.bs-standings-table td {
    color: #0f172a;
    font-size: 14px;
}

.bs-standings-table tr:last-child td {
    border-bottom: none;
}

.bs-rank {
    font-weight: 900;
    color: #2563eb;
}

/* ===== BRACKET ===== */
.bs-bracket {
    display: grid;
    grid-template-columns: repeat(3, minmax(220px, 1fr));
    gap: 20px;
    align-items: start;
}

.bs-bracket-round {
    display: grid;
    gap: 16px;
}

.bs-bracket-round-title {
    font-size: 18px;
}

.bs-bracket-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 16px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

.bs-bracket-team-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 9px 0;
    border-bottom: 1px solid #e2e8f0;
}

.bs-bracket-team-row:last-child {
    border-bottom: none;
}

.bs-bracket-team-name {
    font-weight: 800;
    color: #0f172a;
    line-height: 1.3;
}

.bs-bracket-team-score {
    font-weight: 900;
    color: #0f172a;
}

.bs-bracket-meta {
    margin-top: 10px;
    font-size: 12px;
    color: #64748b;
}

.bs-bracket-empty {
    padding: 16px;
    border: 1px dashed #cbd5e1;
    border-radius: 14px;
    background: #f8fafc;
    color: #64748b;
    font-size: 14px;
}

/* ===== PLAYERS / ROSTER ===== */
.bs-roster {
    margin-top: 20px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 16px 18px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

.bs-player {
    padding: 10px 0;
    border-bottom: 1px solid #e2e8f0;
    color: #0f172a;
    font-size: 14px;
    line-height: 1.4;
}

.bs-player:last-child {
    border-bottom: none;
}

/* ===== UTILITIES ===== */
.bs-card-soft {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

/* ===== MOBILE ===== */
@media (max-width: 980px) {
    .bs-bracket {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .bs-match-score {
        font-size: 18px;
    }

    .bs-standings-table th,
    .bs-standings-table td {
        padding: 10px;
        font-size: 13px;
    }

    .bs-team-card,
    .bs-match-card,
    .bs-bracket-card,
    .bs-roster {
        padding: 16px;
    }
}