/* ===== BRACKET FIFA ===== */
.bracket-scroll {
    overflow-x: auto;
    padding: 10px 0;
}

.bracket-stage {
    display: inline-flex;
    align-items: center;
    min-width: 1200px;
    padding: 10px 20px;
    position: relative;
}

.bracket-svg {
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 1;
}

.br-col {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 155px;
    z-index: 2;
    position: relative;
    padding: 0 3px;
    justify-content: center;
}

.br-col.br-center {
    min-width: 170px;
    align-items: center;
    gap: 6px;
}

.br-label {
    text-align: center;
    font-weight: 800;
    font-size: 0.6rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 3px 6px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 3px;
    margin-bottom: 2px;
    white-space: nowrap;
}

.br-gold {
    background: #fef3c7;
    border-color: #f59e0b;
    color: #92400e;
}

.bm {
    background: #fff;
    border: 2px solid #cbd5e1;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    z-index: 2;
}

.bs {
    padding: 4px 7px;
    border-bottom: 1px solid #e2e8f0;
    font-size: 0.75rem;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 24px;
    display: flex;
    align-items: center;
    background: #fff;
}

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

.bs.bw {
    background: linear-gradient(135deg, #fef9c3, #fde047);
    font-weight: 700;
}

.br-trophy {
    font-size: 2.2rem;
    text-align: center;
    animation: pulse 2s infinite;
    margin-top: 4px;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}

/* Admin bracket match box */
.bm.bm-final { border: 3px solid #f59e0b; }
.bm.bm-w { border-color: #10b981; }

.bs select {
    flex: 1;
    padding: 2px 4px;
    border: 1px solid #d1d5db;
    border-radius: 3px;
    font-size: 0.7rem;
    background: white;
    min-width: 0;
}

.bs select:focus {
    outline: none;
    border-color: #10b981;
}

.bs .asc {
    width: 32px;
    padding: 2px 4px;
    border: 1px solid #d1d5db;
    border-radius: 3px;
    font-size: 0.7rem;
    text-align: center;
    font-weight: 700;
    flex-shrink: 0;
}

.bs .asc:focus {
    outline: none;
    border-color: #10b981;
}

.ab-btn {
    padding: 3px;
    text-align: center;
    background: #f1f5f9;
    border-top: 1px solid #e2e8f0;
}

.absb {
    padding: 2px 10px;
    background: #10b981;
    color: white;
    border: none;
    border-radius: 3px;
    font-size: 0.65rem;
    cursor: pointer;
    font-weight: 600;
}

.absb:hover {
    background: #059669;
}

.br-trophy {
    font-size: 2.2rem;
    text-align: center;
    animation: pulse 2s infinite;
    margin-top: 4px;
}
