/* Tournament participants — editorial roster (no index numbers) */
.tpart {
  --tp-lime: #acdd00;
  --tp-lime-dark: #8bb100;
  --tp-ink: #0a0a0a;
  --tp-muted: #9ca3af;
  --tp-line: rgba(0, 0, 0, 0.06);
  --tp-card: #ffffff;
  --tp-bg: #f7f7f8;
  --tp-navy: #060b1b;
  --tp-font-display: "Bebas Neue", "Oswald", "Arial Narrow", sans-serif;
  --tp-font-body: Montserrat, Inter, system-ui, sans-serif;
}

.tpart-board {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin: 0 0 0.8rem;
}

.tpart-kicker {
  margin: 0 0 0.15rem;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--tp-lime);
  font-family: var(--tp-font-body);
}

.tpart-title {
  font-family: var(--tp-font-display);
  font-weight: 400;
  font-size: clamp(1.55rem, 2.4vw, 2.05rem);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--tp-ink);
  margin: 0;
  line-height: 0.95;
}

.tpart-count {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.75rem;
  border-radius: 0;
  background: rgba(6, 11, 27, 0.04);
  border: 1px solid var(--tp-line);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--tp-ink);
  font-family: var(--tp-font-body);
}

.tpart-count .tdash-lucide {
  color: var(--tp-lime);
  font-size: 0.9rem;
}

.tpart-panel {
  background: var(--tp-card);
  border: 1px solid var(--tp-line);
  border-radius: 0;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.5) inset, 0 4px 16px rgba(10, 10, 10, 0.05);
  overflow: hidden;
}

.tpart-row {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.55rem 0.95rem;
  text-decoration: none !important;
  color: inherit;
  border-bottom: 1px solid var(--tp-line);
  transition: background 0.18s ease;
  background: #fff;
}

.tpart-row:last-child {
  border-bottom: 0;
}

.tpart-row::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: transparent;
  transition: background 0.18s ease;
}

.tpart-row:hover {
  background: rgba(172, 221, 0, 0.06);
}

.tpart-row:hover::before {
  background: var(--tp-lime);
}

.tpart-logo {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 0;
  overflow: hidden;
  background: rgba(6, 11, 27, 0.04);
  border: 1px solid var(--tp-line);
  display: flex;
  align-items: center;
  justify-content: center;
}

.tpart-logo img,
.tpart-logo .avatar,
.tpart-logo .avatar img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  border-radius: 0 !important;
  display: block;
}

.tpart-name {
  flex: 1 1 auto;
  min-width: 0;
  font-family: var(--tp-font-display);
  font-size: 1.2rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--tp-ink);
  line-height: 1.05;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tpart-row:hover .tpart-name {
  color: #3d5200;
}

.tpart-actions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
}

.tpart-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-width: 34px;
  height: 34px;
  padding: 0 0.55rem;
  border-radius: 8px;
  border: 1px solid var(--tp-line);
  background: #fff;
  color: var(--tp-ink);
  text-decoration: none !important;
  font-family: var(--tp-font-body);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.tpart-btn:hover {
  background: rgba(172, 221, 0, 0.16);
  border-color: rgba(172, 221, 0, 0.45);
  color: #3d5200;
}

.tpart-btn .tdash-lucide {
  font-size: 0.95rem;
  line-height: 1;
}

.tpart-btn-label {
  display: none;
}

.tpart-chevron {
  color: var(--tp-muted);
  font-size: 1rem;
  flex-shrink: 0;
  transition: color 0.15s ease, transform 0.15s ease;
}

.tpart-row:hover .tpart-chevron {
  color: var(--tp-lime-dark);
  transform: translateX(2px);
}

.tpart-empty {
  padding: 2rem 1.25rem;
  text-align: center;
  color: var(--tp-muted);
  font-size: 0.9rem;
}

@media (min-width: 768px) {
  .tpart-btn-label {
    display: inline;
  }

  .tpart-btn {
    min-width: 0;
    padding: 0 0.7rem;
  }
}

@media (max-width: 575.98px) {
  .tpart-row {
    padding: 0.65rem 0.85rem;
    gap: 0.65rem;
  }

  .tpart-logo {
    width: 36px;
    height: 36px;
  }

  .tpart-name {
    font-size: 1.05rem;
  }
}
