/* Turnuva takımları — mobil (turnuva_takimlar.php ile aynı veri) */

.tt-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: 14px;
  padding: 20px;
}

.tt-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;
}

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

.tt-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;
}

.tt-page .page-hero h2 {
  margin: 0;
  font-size: 24px;
  line-height: 1.14;
  letter-spacing: -0.55px;
  text-transform: uppercase;
}

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

.tt-page .hero-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin-top: 16px;
}

.tt-page .hero-btn {
  min-height: 44px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 900;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  text-decoration: none;
}

.tt-page .select-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;
}

.tt-page .select-label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #07376a;
  font-size: 13px;
  font-weight: 900;
  margin-bottom: 9px;
}

.tt-page .select-card select {
  width: 100%;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #fbfdff;
  color: #10243d;
  padding: 0 13px;
  outline: 0;
  font-size: 12px;
  font-weight: 800;
}

.tt-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;
}

.tt-page .search-card {
  display: grid;
  grid-template-columns: 1fr 46px;
  gap: 9px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 12px 26px rgba(8, 60, 116, 0.08);
  padding: 12px;
  margin-bottom: 14px;
}

.tt-page .search-card input {
  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;
}

.tt-page .search-card 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;
}

.tt-page .team-list {
  display: grid;
  gap: 13px;
}

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

.tt-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;
}

.tt-page .team-main {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px;
  position: relative;
  z-index: 2;
}

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

.tt-page .team-logo.military {
  background: linear-gradient(135deg, #0f766e, #ccfbf1);
  color: #053b36;
}

.tt-page .team-logo.health {
  background: linear-gradient(135deg, #e0f2fe, #fff);
  color: #0d6efd;
}

.tt-page .team-logo.default {
  background: #eef2f7;
  color: #64748b;
}

.tt-page .team-logo-fallback {
  position: relative;
  z-index: 0;
}

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

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

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

.tt-page .team-info h4 {
  margin: 0;
  color: #10243d;
  font-size: 15px;
  line-height: 1.25;
  font-weight: 900;
  letter-spacing: -0.2px;
  text-transform: uppercase;
}

.tt-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;
}

.tt-page .captain {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #6b7f99;
  font-size: 12px;
  font-weight: 800;
  margin-top: 8px;
}

.tt-page .captain b {
  color: #07376a;
  font-weight: 900;
}

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

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

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

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

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

.tt-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;
}

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

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

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

@media (max-width: 360px) {
  .tt-page .team-main {
    grid-template-columns: 62px 1fr;
    gap: 10px;
  }
  .tt-page .team-logo {
    width: 62px;
    height: 62px;
    border-radius: 18px;
    font-size: 21px;
  }
  .tt-page .team-info h4 {
    font-size: 13px;
  }
  .tt-page .hero-actions,
  .tt-page .team-actions {
    grid-template-columns: 1fr;
  }
}
