/* Doubles Bracket Styles */
.bracket-header {
    text-align: center;
    margin-bottom: 20px;
}

.bracket-info {
    font-size: 14px;
    color: #000;
}
.bracket, .bracket * {
    font-weight: 600;
}

.bracket svg, .bracket svg * {
    stroke: #000 !important;
    stroke-width: 1px !important;
    fill: #000 !important;
}

.bracket {
    display: flex;
    align-items: flex-start;
    gap: 80px;
    position: relative;
    min-width: max-content;
}

.round {
    position: relative;
    width: 160px;
}

.match {
    position: absolute;
    left: 0;
    width: 100%;
    background: #fff;
    border: 1px solid #000;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    z-index: 1;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.match:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.match.placeholder {
    border-style: dashed;
    border-color: #000;
    opacity: 0.8;
    background-color: #fff;
}

.player {
    height: 24px;
    line-height: 24px;
    padding: 0 10px;
    border-bottom: 1px solid #000;
    font-size: 11px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #000;
}

.match.placeholder .player {
    border-color: #000;
}

.player:last-of-type {
    border-bottom: unset;
}

.player.winner {
    background-color: #e8f5e9;
    color: #1b5e20;
    font-weight: 900;
}

.player.bye {
    font-style: italic;
    color: #000;
    background-color: #fff;
}

.match-info {
    position: absolute;
    top: -18px;
    left: 0;
    font-size: 9px;
    color: #000;
    white-space: nowrap;
}

.connectors-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.connectors-svg path {
    stroke: #000;
    stroke-width: 1;
    fill: none;
    shape-rendering: crispEdges;
}

.connectors-svg path.placeholder {
    stroke: #000;
    stroke-dasharray: 4, 4;
}