.scst-turnier {
  --scst-border: #e5e7eb;
  --scst-muted: #6b7280;
  --scst-surface: #ffffff;
  --scst-head: #f4f5f7;
  --scst-club: #fff3cd;
  --scst-club-border: #e2b93b;
  width: 100%;
}

.scst-turnier__main-title {
  margin: 0 0 1rem;
}

.scst-turnier__grid {
  display: grid;
  gap: 1.25rem;
}

.scst-turnier__card {
  border: 1px solid var(--scst-border);
  border-radius: 12px;
  overflow: hidden;
  background: var(--scst-surface);
  box-shadow: 0 2px 12px rgba(0,0,0,.04);
}

.scst-turnier__league {
  margin: 0;
  padding: 1rem 1.1rem;
  font-size: 1.05rem;
  line-height: 1.35;
  border-bottom: 1px solid var(--scst-border);
}

.scst-turnier__scroll {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.scst-turnier__table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  font-size: .92rem;
}

.scst-turnier__table th,
.scst-turnier__table td {
  padding: .65rem .75rem;
  border-bottom: 1px solid var(--scst-border);
  text-align: center;
  white-space: nowrap;
}

.scst-turnier__table th:nth-child(2),
.scst-turnier__table td:nth-child(2) {
  text-align: left;
}

.scst-turnier__table tr:last-child td {
  border-bottom: 0;
}

.scst-turnier__table th {
  background: var(--scst-head);
  font-weight: 700;
}

.scst-turnier__table a {
  color: inherit;
  text-decoration: none;
}

.scst-turnier__table a:hover,
.scst-turnier__table a:focus {
  text-decoration: underline;
}

.scst-turnier__club-row td,
.scst-turnier__club-row th {
  background: var(--scst-club);
  font-weight: 700;
  border-top: 1px solid var(--scst-club-border);
  border-bottom: 1px solid var(--scst-club-border);
}

.scst-turnier__notice,
.scst-turnier--error {
  padding: .85rem 1rem;
  margin: 0 0 1rem;
  border: 1px solid #f0c36d;
  border-radius: 8px;
  background: #fff7df;
}

.scst-turnier__meta {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1rem;
  margin-top: .8rem;
  font-size: .82rem;
  color: var(--scst-muted);
}

.scst-turnier__meta a {
  color: inherit;
}

@media (max-width: 700px) {
  .scst-turnier__card {
    border-radius: 9px;
  }

  .scst-turnier__league {
    padding: .85rem .9rem;
  }

  .scst-turnier__table {
    font-size: .85rem;
  }

  .scst-turnier__table th,
  .scst-turnier__table td {
    padding: .55rem .65rem;
  }
}

.scst-turnier__iframe-wrap {
    width: 100%;
    min-height: 900px;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}
.scst-turnier__iframe-wrap iframe {
    display: block;
    width: 100%;
    min-height: 900px;
    border: 0;
}
.scst-turnier__debug {
    margin: 10px 0;
    padding: 10px 12px;
    font-size: 13px;
    background: #f6f7f7;
    border-left: 4px solid #8c8f94;
}
