/* Nutzt die Farben aus base.css */
.bracket-grid {
  display: grid;
  grid-template-columns: repeat(5, 240px);
  grid-auto-rows: 41px;
  gap: 12px 52px;
  margin: 8px auto;
  max-width: 1400px;
  position: relative;
  align-items: start;
  background: var(--color-bg);
}
.round-title {
  grid-column: span 1;
  grid-row: 1;
  text-align: center;
  font-weight: bold;
  margin-bottom: 2px;
  letter-spacing: 0.5px;
  color: var(--color-accent-strong);
  font-size: 1.1rem;
  background: transparent;
}
.match {
  background: var(--color-surface);
  border-radius: 10px;
  padding: 4px 16px;
  width: 240px;
  min-width: 240px;
  min-height: 28px;
  box-shadow: var(--shadow);
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
  margin-bottom: 0;
  box-sizing: border-box;
  justify-content: center;
  align-items: flex-start;
  transition: box-shadow 0.2s, transform 0.2s;
}
.match:hover {
  box-shadow: 0 4px 16px var(--color-accent-strong), 0 2px 0 var(--color-accent-strong);
  transform: scale(1.02);
}
.match.grand-final {
  border: 2px solid var(--color-accent-strong);
  box-shadow: 0 0 24px 2px var(--color-accent-strong);
  background: linear-gradient(90deg, var(--color-surface) 60%, var(--color-accent-strong) 100%);
}
.player-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  position: relative;
  min-height: 22px;
  width: 100%;
}
.player-row:not(:last-child)::after {
  content: "";
  position: absolute;
  left: -16px;      /* vorher: -36px */
  right: -16px;     /* vorher: -36px */
  bottom: -3px;
  height: 3px;
  background: var(--color-border);
  opacity: 0.55;
  border-radius: 2px;
  z-index: 1;
}
.player, .score, .winner {
  font-size: 1.08rem;
  overflow: visible;
  text-overflow: unset;
  white-space: nowrap;
}
.player {
  color: var(--color-text);
  font-weight: 500;
  letter-spacing: 0.1px;
  padding-left: 0; /* vorher: 2px */
}
.score {
  background: var(--color-bg);
  color: var(--color-accent);
  font-weight: bold;
  border-radius: 5px;
  padding: 3px 14px;
  min-width: 28px;
  text-align: right;
  opacity: 0.85;
  margin-left: 10px;
  transition: background 0.2s, color 0.2s;
  box-shadow: 0 0 2px var(--color-border);
}
.winner {
  background: linear-gradient(90deg, var(--color-accent) 0%, var(--color-accent-strong) 100%);
  color: #fff;
  font-weight: bold;
  border-radius: 5px;
  padding: 3px 14px;
  min-width: 28px;
  text-align: right;
  font-size: 1.08rem;
  margin-left: 10px;
  opacity: 1;
  transition: box-shadow 0.2s, border 0.2s;
}
#userPredictionSelect {
  position: absolute;
  top: 18px;
  right: 32px;
  z-index: 20;
}
#predictionUserSelect {
  background: var(--color-surface);
  color: var(--color-text);
  border: 2px solid var(--color-accent-strong);
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 1.08em;
  font-weight: 500;
  box-shadow: 0 2px 12px #0006;
  outline: none;
  margin: 12px 0;
  transition: border 0.2s, box-shadow 0.2s;
}
#predictionUserSelect:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 2px var(--color-accent-strong);
}
#predictionUserSelect option {
  background: var(--color-bg);
  color: var(--color-text);
}
