/* Takım listesi — mobil (site takim_listesi.php / kulup_listesi verisi) */

.tl-page .page-hero {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  background:
    radial-gradient(circle at 86% 18%, rgba(22, 136, 255, 0.38), transparent 34%),
    linear-gradient(135deg, #05264c, #074b87 68%, #0d6efd);
  color: #fff;
  box-shadow: var(--shadow);
  margin-bottom: 16px;
  padding: 20px;
}

.tl-page .page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 34px 34px;
  opacity: 0.45;
  pointer-events: none;
}

.tl-page .page-hero .hero-inner {
  position: relative;
  z-index: 2;
}

.tl-page .hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #dbeafe;
  font-size: 10px;
  font-weight: 900;
  margin-bottom: 13px;
}

.tl-page .page-hero h2 {
  margin: 0;
  font-size: 28px;
  line-height: 1.12;
  letter-spacing: -0.7px;
}

.tl-page .page-hero > .hero-inner > p {
  margin: 10px 0 0;
  color: #dbeafe;
  font-size: 13px;
  line-height: 1.65;
  font-weight: 600;
}

.tl-page .hero-count {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 16px;
}

.tl-page .count-box {
  min-height: 66px;
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(8px);
  text-align: center;
}

.tl-page .count-box strong {
  font-size: 23px;
  line-height: 1;
  color: #fff;
  font-weight: 900;
}

.tl-page .count-box span {
  margin-top: 5px;
  font-size: 10px;
  color: #dbeafe;
  font-weight: 900;
}

.tl-page .filter-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 21px;
  box-shadow: 0 12px 26px rgba(8, 60, 116, 0.08);
  padding: 12px;
  margin-bottom: 16px;
}

.tl-page .search-row {
  display: grid;
  grid-template-columns: 1fr 46px;
  gap: 9px;
  margin-bottom: 10px;
}

.tl-page .search-row input,
.tl-page .filter-select {
  width: 100%;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #fbfdff;
  color: #10243d;
  padding: 0 13px;
  outline: 0;
  font-size: 13px;
  font-weight: 800;
}

.tl-page .search-row button {
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 15px;
  background: linear-gradient(135deg, #1688ff, #0d6efd);
  color: #fff;
  font-size: 18px;
  box-shadow: 0 10px 22px rgba(13, 110, 253, 0.22);
  cursor: pointer;
}

.tl-page .filter-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}

.tl-page .section-head span {
  color: #0d6efd;
  background: #eaf5ff;
  border: 1px solid #cfe5ff;
  border-radius: 999px;
  padding: 8px 10px;
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
}

.tl-page .team-list {
  display: grid;
  gap: 14px;
}

.tl-page .team-card {
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 12px 26px rgba(8, 60, 116, 0.09);
  padding: 14px;
}

.tl-page .team-card::after {
  content: "";
  position: absolute;
  right: -36px;
  top: -36px;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(22, 136, 255, 0.13), rgba(13, 110, 253, 0.03));
  pointer-events: none;
}

.tl-page .team-main {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 13px;
  position: relative;
  z-index: 2;
}

.tl-page .team-logo {
  width: 86px;
  height: 86px;
  border-radius: 23px;
  overflow: hidden;
  background: linear-gradient(135deg, #eaf5ff, #ffffff);
  border: 1px solid #d7eafb;
  display: grid;
  place-items: center;
  color: #0d6efd;
  font-size: 28px;
  font-weight: 900;
  box-shadow: 0 10px 22px rgba(8, 60, 116, 0.08);
  position: relative;
}

.tl-page .team-logo-fallback {
  position: relative;
  z-index: 0;
  user-select: none;
}

.tl-page .team-logo-img {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tl-page .team-info {
  min-width: 0;
}

.tl-page .team-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 9px;
  margin-bottom: 8px;
}

.tl-page .team-info h4 {
  margin: 0;
  color: #10243d;
  font-size: 17px;
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: -0.3px;
  text-transform: uppercase;
}

.tl-page .status {
  flex: 0 0 auto;
  padding: 6px 8px;
  border-radius: 999px;
  background: #e9f9f1;
  color: #0b9f51;
  font-size: 9px;
  font-weight: 900;
  white-space: nowrap;
}

.tl-page .status.passive {
  background: #f1f5f9;
  color: #64748b;
}

.tl-page .status.wait {
  background: #fff7ed;
  color: #c2410c;
}

.tl-page .league-pill {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 6px 9px;
  border-radius: 999px;
  background: #f1f8ff;
  border: 1px solid #d7eafb;
  color: #0d6efd;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.tl-page .tl-kutuk-no {
  font-size: 11px;
  font-weight: 900;
  color: var(--muted);
  letter-spacing: 0.04em;
  margin: -4px 0 6px;
}

.tl-page .team-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 8px;
}

.tl-page .meta-box {
  min-height: 48px;
  border-radius: 14px;
  background: #f8fbff;
  border: 1px solid #e6f0fb;
  padding: 8px;
}

.tl-page .meta-box small {
  display: block;
  color: #6b7f99;
  font-size: 9px;
  font-weight: 900;
  margin-bottom: 3px;
}

.tl-page .meta-box b {
  display: block;
  color: #10243d;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.25;
}

.tl-page .team-actions {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin-top: 13px;
}

.tl-page .action {
  min-height: 43px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
  color: inherit;
}

.tl-page .action.primary {
  background: linear-gradient(135deg, #1688ff, #0d6efd);
  color: #fff;
  box-shadow: 0 10px 22px rgba(13, 110, 253, 0.2);
}

.tl-page .action.secondary {
  background: #eaf5ff;
  color: #0d6efd;
  border: 1px solid #cfe5ff;
}

.tl-page .tl-empty {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 24px 16px;
  text-align: center;
  color: var(--muted);
  font-weight: 700;
  font-size: 15px;
}

@media (max-width: 360px) {
  .tl-page .team-main {
    grid-template-columns: 74px 1fr;
    gap: 11px;
  }
  .tl-page .team-logo {
    width: 74px;
    height: 74px;
    border-radius: 20px;
  }
  .tl-page .team-info h4 {
    font-size: 15px;
  }
  .tl-page .hero-count {
    grid-template-columns: 1fr;
  }
}
