body {
    font-family: Arial, sans-serif;
    background: #f3f3f3;
    margin: 10px;
}

#status {
    margin: 6px 0;
    font-weight: bold;
}

button {
    margin-top: 6px;
    padding: 4px 8px;
    cursor: pointer;
}

.paths-wrapper {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 12px;
}

.path {
    border: 1px solid #ccc;
    background: #1d1d1d;
    padding: 6px;
    width: 100%;
    box-shadow: 0 1px 2px rgba(0,0,0,0.08);
}

.path-row {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.path h3 {
    margin-top: 0;
    margin-bottom: 6px;
    text-align: left;
}

.round-title {
    font-weight: bold;
    margin-top: 4px;
    margin-bottom: 4px;
    text-align: left;
    font-size: 13px;
}

.match-row {
    margin: 6px 0;
    padding: 4px;
    border: 1px solid #ddd;
    border-radius: 3px;
    background: #2c2c2c;
}

.match-row .match-label {
    font-size: 11px;
    text-align: left;
    margin-bottom: 2px;
    color: #555;
}

.team-slot {
    padding: 2px 0;
    display: flex;
    justify-content: flex-start;
}

.team-slot + .team-slot {
    border-top: 1px dashed #ddd;
}

.team {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
}

.team img {
    height: 20px;
    margin-right: 4px;
}

.team-placeholder {
    opacity: 0.5;
    cursor: default;
}

.winner {
    font-weight: bold;
    text-decoration: underline;
}

.final-list .match-row {
    border-color: #aaa;
    background: #2c2c2c;
}

.semi-column,
.final-column,
.winner-column {
    flex: 1;
}

.winner-box {
    margin-top: 6px;
    padding: 6px;
    border: 1px solid #ddd;
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background: #bd954a;
	color: #121212;
    font-size: 16px;
	font-weight: bold;
}

.team-loading img {
    height: 20px;
    opacity: 0.6;
}
