/* Turnuva arşivi — mobil (turnuvalar.php) */

.tv-page {
  padding-bottom: 88px;
}

.tv-page .breadcrumb {
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
}

.tv-page .breadcrumb a {
  color: var(--blue);
}

.tv-hero {
  margin-bottom: 16px;
  padding: 18px 16px;
  border-radius: 20px;
  background: linear-gradient(135deg, #041f41, #073b73 55%, #0d6efd);
  color: #fff;
  box-shadow: 0 14px 32px rgba(6, 43, 85, 0.22);
}

.tv-hero h1 {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.25;
}

.tv-hero p {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  opacity: 0.92;
  font-weight: 600;
}

.tv-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 14px;
}

.tv-stat {
  text-align: center;
  padding: 10px 8px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.tv-stat strong {
  display: block;
  font-size: 20px;
  font-weight: 900;
}

.tv-stat span {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  opacity: 0.9;
}

.tv-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tv-card-wrap {
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 10px 24px rgba(8, 60, 116, 0.08);
}

.tv-card-main {
  display: block;
  color: inherit;
  text-decoration: none;
}

.tv-card-actions-row {
  padding-top: 0;
  border-top: 1px solid var(--line);
}

.tv-card-cover {
  position: relative;
  height: 120px;
  background: linear-gradient(135deg, #062b55, #0d6efd);
}

.tv-card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
}

.tv-card-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 900;
  color: #fff;
  background: rgba(18, 161, 80, 0.95);
}

.tv-card-badge.closed {
  background: rgba(100, 116, 139, 0.95);
}

.tv-card-badge.soon {
  background: rgba(245, 158, 11, 0.95);
}

.tv-card-body {
  padding: 14px 16px 16px;
}

.tv-card-body h2 {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.35;
  color: #0f172a;
}

.tv-card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.tv-card-actions .full {
  grid-column: 1 / -1;
}

.tv-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  border: 1px solid #cfe5ff;
  background: #eaf5ff;
  color: #0d6efd;
}

.tv-btn-primary {
  background: linear-gradient(135deg, #1688ff, #0d6efd);
  color: #fff;
  border-color: transparent;
}

.tv-btn-apply {
  background: linear-gradient(135deg, #13b56b, #0aa35b);
  color: #fff;
  border-color: transparent;
}

.tv-back {
  margin-bottom: 12px;
}

.tv-back a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 800;
  color: var(--blue);
  text-decoration: none;
}

.tv-detail-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  padding: 14px 16px;
  border-radius: 18px;
  background: linear-gradient(135deg, #05264c, #074b87);
  color: #fff;
  box-shadow: var(--shadow);
}

.tv-detail-head img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.15);
  padding: 4px;
  flex-shrink: 0;
}

.tv-detail-head h1 {
  margin: 0;
  font-size: 17px;
  font-weight: 900;
  line-height: 1.3;
}

.tv-quick-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}

.tv-quick {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 14px 10px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
  text-decoration: none;
  color: #0f172a;
  font-size: 12px;
  font-weight: 800;
  text-align: center;
  box-shadow: 0 6px 16px rgba(8, 60, 116, 0.06);
}

.tv-quick span:first-child {
  font-size: 22px;
}

.tv-lig-bar {
  margin-bottom: 14px;
  padding: 12px 14px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
}

.tv-lig-bar label {
  display: block;
  font-size: 11px;
  font-weight: 800;
  color: var(--muted);
  margin-bottom: 6px;
}

.tv-lig-bar select {
  width: 100%;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  font-size: 14px;
  font-weight: 600;
  background: #f8fafc;
}

.tv-box {
  margin-bottom: 14px;
  padding: 14px 16px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.tv-box h2 {
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 900;
  color: #0f172a;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--blue);
}

.tv-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.tv-table {
  width: 100%;
  min-width: 480px;
  border-collapse: collapse;
  font-size: 11px;
}

.tv-table th,
.tv-table td {
  padding: 6px 4px;
  text-align: center;
  border-bottom: 1px solid var(--line);
}

.tv-table th {
  font-weight: 800;
  color: var(--muted);
  background: #f8fafc;
}

.tv-table .team {
  text-align: left !important;
  font-weight: 700;
  max-width: 120px;
}

.tv-table tr.gruptan {
  background: #dcfce7;
}

.tv-table tr.playoff {
  background: #fef3c7;
}

.tv-table tr.elenen {
  background: #fee2e2;
}

.tv-legend {
  margin-top: 10px;
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
}

.tv-legend span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-right: 10px;
}

.tv-dot {
  width: 10px;
  height: 10px;
  border-radius: 2px;
  display: inline-block;
}

.tv-mac-hafta {
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 900;
  color: #b91c1c;
  padding: 8px 10px;
  background: #fef2f2;
  border-radius: 10px;
  border-left: 4px solid #dc2626;
}

.tv-mac-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 8px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  text-decoration: none;
  color: inherit;
}

.tv-mac-row:last-child {
  border-bottom: none;
}

.tv-mac-ev {
  text-align: right;
  font-weight: 700;
}

.tv-mac-dep {
  text-align: left;
  font-weight: 700;
}

.tv-mac-skor {
  font-weight: 900;
  color: #dc2626;
}

.tv-mac-meta {
  grid-column: 1 / -1;
  font-size: 10px;
  color: var(--muted);
  text-align: center;
  margin-top: 2px;
}

.tv-empty {
  text-align: center;
  padding: 20px;
  font-weight: 600;
  color: var(--muted);
  font-size: 14px;
}

.tv-duyuru {
  margin-top: 20px;
  padding: 14px 16px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--line);
}

.tv-duyuru h2 {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 900;
  color: #07376a;
}

.tv-duy-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tv-duy-item {
  display: flex;
  gap: 10px;
  padding: 10px;
  border-radius: 12px;
  border: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  background: #fbfdff;
}

.tv-duy-item img {
  width: 64px;
  height: 52px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}

.tv-duy-item h3 {
  margin: 0;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
  color: #0f172a;
}
