.bracket {
    display: inline-block;
    white-space: nowrap;
    font-size: 0;
}
.bracket .round {
    display: inline-block;
    vertical-align: middle;
}
.bracket .round .winners > div { 
    display: inline-block;
    vertical-align: middle;
}
.bracket .round .winners > div.matchups .matchup:last-child {
    margin-bottom: 0 !important;
}
.bracket .round .winners > div.matchups .matchup .participants {
    border-radius: 0.25rem;
    overflow: hidden;
}
.bracket .round .winners > div.matchups .matchup .participants .participant {
    box-sizing: border-box;
    color: #858585;
    border-left: 0.25rem solid #858585;
    background: #1e1e2d;
    width: 21.4rem;
    height: 3rem;
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.12);
    position: relative;
}
.bracket .round .winners > div.matchups .matchup .participants .participant.winner {
    color: #60c645;
    border-color: #60c645;
}
.bracket .round .winners > div.matchups .matchup .participants .participant.loser {
    color: #dc563f;
    border-color: #dc563f;
}
.bracket .round .winners > div.matchups .matchup .participants .participant:not(:last-child) {
    border-bottom: thin solid #323232;
}
.bracket .round .winners > div.matchups .matchup .participants .participant span {
    margin: 0 1.25rem;
    line-height: 3;
    font-size: 1rem;
}
.bracket .round .winners > div.connector.filled .line, .bracket .round .winners > div.connector.filled.bottom .merger:after, .bracket .round .winners > div.connector.filled.top .merger:before {
    border-color: #60c645;
}
.bracket .round .winners > div.connector .line, .bracket .round .winners > div.connector .merger {
    box-sizing: border-box;
    width: 2rem;
    display: inline-block;
    vertical-align: top;
}
.bracket .round .winners > div.connector .line {
    border-bottom: thin solid #c0c0c8;
    height: 4rem;
}
.bracket .round .winners > div.connector .merger {
    position: relative;
    height: 8rem;
}
.bracket .round .winners > div.connector .merger:before, .bracket .round .winners > div.connector .merger:after {
    content: "";
    display: block;
    box-sizing: border-box;
    width: 100%;
    height: 50%;
    border: 0 solid;
    border-color: #c0c0c8;
}
.bracket .round .winners > div.connector .merger:before {
    border-right-width: thin;
    border-top-width: thin;
}
.bracket .round .winners > div.connector .merger:after {
    border-right-width: thin;
    border-bottom-width: thin;
}
.bracket .round.quarterfinals .winners:not(:last-child) {
    margin-bottom: 2rem;
}
.bracket .round.quarterfinals .winners .matchups .matchup:not(:last-child) {
    margin-bottom: 2rem;
}
.bracket .round.semifinals .winners .matchups .matchup:not(:last-child) {
    margin-bottom: 10rem;
}
.bracket .round.semifinals .winners .connector .merger {
    height: 16rem;
}
.bracket .round.semifinals .winners .connector .line {
    height: 8rem;
}
.bracket .round.finals .winners .connector .merger {
    height: 3rem;
}
.bracket .round.finals .winners .connector .line {
    height: 1.5rem;
}

.participant a {
    display: flex;
    align-items: center;
}  
.participant img {
    width: 48px;
    height: 48px;
    margin-right: 15px;
}
.loser a {
    opacity: 0.25;
}
.qual-champ {
    margin: 70px 0 80px;
}
.qual-champ .participant {
    box-sizing: border-box;
    color: #858585;
    border-left: 0.25rem solid #858585;
    background: #1e1e2d;
    width: 21rem;
    height: 3rem;
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.12);
    margin: 0 auto;
}
.champ-qual {
    text-align: center;
    margin-bottom: 18px;
    color: #FFC107;
    text-transform: uppercase;
}
#qualification h3, #cup h3 {
    text-align: center;
    margin: 40px 0 20px; 
} 
.shuffle-data { 
    display: none;
    padding: 15px 25px;
    margin: 20px 0;
}
.shuffle-save {
    text-align: center;
    margin-top: 40px;
    display: none;
}
.shuffle-data h3 {
    margin: 0 0 25px !important;
}
.shuffle-row {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px 0;
}
.shuffle-row * {
    font-size: 26px;
}
.shuffle-row span {
    margin: 0 15px;
    font-weight: bold;
}
.shuffle-row a {
    color: var(--main-link-color);
    width: calc(50% - 35px);
    height: 32px;
    line-height: 32px;
}
.shuffle-row a:first-child {
    text-align: right;
    display: flex;
    justify-content: right;
}
.shuffle-row a:last-child {
    text-align: left;
    display: flex;
    justify-content: left;
}
.shuffle-row i.loading {
    background: url(../img/icons/shuffle-loading.svg) no-repeat center;
    width: 32px;
    height: 32px;
    display: block;
    background-size: 32px;
}
.matchup {
    position: relative;
}
.matchup:hover .copy-ann-btn {
    display: block;
}
.copy-ann-btn {
    top: -36px;
}
.bracket.players-16 .round .winners > div.matchups .matchup .participants .participant {
    width: 14.9rem;
}
.bracket.players-32 .round .winners > div.matchups .matchup .participants .participant {
    width: 11rem;
}

/* 16 */
.bracket.players-16 .round.eightfinals .winners:not(:last-child) {margin-bottom: 2rem;}
.bracket.players-16 .round.eightfinals .winners .matchups .matchup:not(:last-child) {margin-bottom: 2rem;}
.bracket.players-16 .round.quarterfinals .winners:not(:last-child) {margin-bottom: 10rem;}
.bracket.players-16 .round.quarterfinals .winners .matchups .matchup:not(:last-child) {margin-bottom: 10rem;}
.bracket.players-16 .round.quarterfinals .winners .connector .merger {height: 16rem;}
.bracket.players-16 .round.quarterfinals .winners .connector .line {height: 8rem;}
.bracket.players-16 .round.semifinals .winners .matchups .matchup:not(:last-child) {margin-bottom: 26rem;}
.bracket.players-16 .round.semifinals .winners .connector .merger {height: 32rem;}
.bracket.players-16 .round.semifinals .winners .connector .line {height: 16rem;}
.bracket.players-16 .round.finals .winners .connector .merger {height: 3rem;}
.bracket.players-16 .round.finals .winners .connector .line {height: 1.5rem;}

/* 32 */
.bracket.players-32 .round.sixteenfinals .winners:not(:last-child) {margin-bottom: 2rem;}
.bracket.players-32 .round.sixteenfinals .winners .matchups .matchup:not(:last-child) {margin-bottom: 2rem;}
.bracket.players-32 .round.eightfinals .winners:not(:last-child) {margin-bottom: 10rem;}
.bracket.players-32 .round.eightfinals .winners .matchups .matchup:not(:last-child) {margin-bottom: 10rem;}
.bracket.players-32 .round.eightfinals .winners .connector .merger {height: 16rem;}
.bracket.players-32 .round.eightfinals .winners .connector .line {height: 8rem;}
.bracket.players-32 .round.quarterfinals .winners .matchups .matchup:not(:last-child) {margin-bottom: 26rem;}
.bracket.players-32 .round.quarterfinals .winners .connector .merger {height: 32rem;}
.bracket.players-32 .round.quarterfinals .winners .connector .line {height: 16rem;} 
.bracket.players-32 .round.quarterfinals .winners:not(:last-child) {margin-bottom: 26rem;}
.bracket.players-32 .round.semifinals .winners .connector .line {height: 32rem;}
.bracket.players-32 .round.semifinals .winners:not(:last-child) {margin-bottom: 26rem;}
.bracket.players-32 .round.semifinals .winners .matchups .matchup:not(:last-child) {margin-bottom: 58rem;}
.bracket.players-32 .round.semifinals .winners .connector .merger {height: 64rem;}

.dino-stages {
    display: flex;
}

.stage-dino {
    padding-left: 20px;
    padding-bottom: 20px;
    font-size: 20px !important;
    color: #FF5722;
}

.stage-dino span {
    display: block;
    font-weight: bold;
}

.dino-stages .stage-dino:first-child {
    padding-left: 0;
}

.matchup .copy-ann-btn {
    top: -36px;
}

#cup .matchup .participant a {
    overflow: hidden;
    font-size: 14px;
}

#cup .participant img {
    margin-right: 10px;
}