a {
    color: rgb(16 117 164);
    text-decoration: underline
}
#turnierliste-container {
  margin-bottom: 2em;
  font-family: sans-serif;
}

#turnierliste-container h3 {
  margin-bottom: 0.5em;
}

#turnierliste-container ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#turnierliste-container li {
  margin-bottom: 0.4em;
}

#turnierliste-container button {
  background: #eee;
  border: 1px solid #ccc;
  padding: 0.5em 1em;
  font-size: 14px;
  cursor: pointer;
  border-radius: 4px;
}

#turnierliste-container button:hover {
  background: #ddd;
}

.ergebnis-tabelle {
  border-collapse: collapse;
  width: 100%;
  margin-bottom: 2em;
  font-family: sans-serif;
  font-size: 15px;
}

.ergebnis-tabelle th,
.ergebnis-tabelle td {
  border: 1px solid #ccc;
  padding: 8px 12px;
  text-align: left;
  vertical-align: middle;
}

.ergebnis-tabelle th {
  background: #f2f2f2;
  font-weight: bold;
  white-space: nowrap;
}

.ergebnis-tabelle td a {
  color: #0066cc;
  text-decoration: none;
}

.ergebnis-tabelle td a:hover {
  text-decoration: underline;
}

.scorekarten-tabelle {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1em;
  font-family: monospace;
  table-layout: fixed;
}

.scorekarten-tabelle th,
.scorekarten-tabelle td {
  border: 1px solid #ccc;
  padding: 6px 10px;
  text-align: center;
}

.scorekarten-tabelle td:last-child,
.scorekarten-tabelle th:last-child {
  text-align: right;
}

#scorekarte-modal {
  position: fixed !important;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 9999 !important;
  display: flex;
  align-items: center;
  justify-content: center;
}

.scorekarte-inhalt {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  max-width: 700px;
  width: 95%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

.scorekarte-close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  font-weight: bold;
  color: #333;
  cursor: pointer;
}
