/* Scope all catalog styling to the new presentation blocks; cards and controls keep their current owners. */
.tp-tournament-directory-context {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: -4px 0 12px;
  color: var(--text-muted);
  font-size: 12px;
}

.tp-tournament-directory-context span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
}

.tp-tournament-directory-context span::before {
  width: 7px;
  height: 7px;
  margin-right: 7px;
  content: "";
  border-radius: 50%;
  background: #59dfb1;
}

.tp-tournament-directory-context span + span::before { background: #a996ff; }

.tp-tournament-crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px 11px;
  margin: 0 0 14px;
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.5;
}

.tp-tournament-crumbs a { color: #b9c8ff; text-decoration: none; }
.tp-tournament-crumbs a:hover { color: white; }
.tp-tournament-crumbs a:focus-visible,
.tp-tournament-scoring-system summary:focus-visible { outline: 2px solid #a9a6ff; outline-offset: 4px; }

.tp-tournament-scoring-system {
  margin-top: 14px;
  padding: 13px 16px;
  border: 1px solid rgba(139, 156, 255, 0.2);
  border-radius: 15px;
  background: rgba(105, 116, 202, 0.08);
  color: #bdc8e0;
  font-size: 13px;
  line-height: 1.55;
}

.tp-tournament-scoring-system summary { cursor: pointer; color: #bdc8ff; font-weight: 750; }
.tp-tournament-scoring-system p { margin: 9px 0 0; overflow-wrap: anywhere; }

@media (max-width: 620px) {
  .tp-tournament-directory-context { gap: 6px; font-size: 12px; }
  .tp-tournament-directory-context span { min-height: 32px; padding-inline: 9px; }
  .tp-tournament-crumbs { margin-bottom: 10px; }
}
