﻿
.bracket-wrap {
    position: relative;
    overflow: auto;
    padding: 0;
    border-radius: .5rem;
}

.bracket {
    position: relative;
    width: 100%;
    min-height: 160px;
    box-sizing: border-box;
    align-items:start;
}

.match {
    box-sizing: border-box;
    width: 180px;
    height: 100px;
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    background: #fff;
    padding: 3px;
    display: flex;
    flex-direction: column !important;
    justify-content: center; /* Dikey ortalama */
}

    .match .match-badge {
        position: absolute;
        background: white;
        top: -12px;
        left: 8px;
        padding: 0px 6px;
        font-size: .8rem;
        font-weight: bold;
        color: #6c757d;
        border: 1px solid #f0f0f0;
        border-radius: 12px;
    }

    .match .team-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        background: linear-gradient(90deg,#fafafb,#fff);
        border-radius: 8px;
    }

.avatar {
    width: 28px;
    height: 28px;
    border-radius: 12px;
}

.team-name {
    font-weight: bold;
    font-size: .9rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis; 
}

.team-score { 
    padding: 4px 6px;
    text-align: center; 
    font-weight: bold;
}

.match-meta {
    font-size: .8rem;
    height:16px;
    text-align: center;
    padding: 4px;
    color: #6c757d;
    font-weight: normal;
}

.connector {
    position: absolute;
    background: #4caf50;
    z-index: 0;
    pointer-events: none;
}

    .connector.horizontal {
        height: 2px;
    }

    .connector.vertical {
        width: 2px;
    }

.team-left {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    overflow: hidden;
}
