/* Turnuva fikstür — mobil (turnuva_fikstur.php) */

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

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

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

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

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

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

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

.tfk-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-align: center;
  text-decoration: none;
}

.tfk-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: 14px;
}

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

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

.tfk-page .week-tabs {
  display: flex;
  gap: 8px;
  overflow: auto;
  padding: 2px 0 14px;
  scrollbar-width: none;
}

.tfk-page .week-tabs::-webkit-scrollbar {
  display: none;
}

.tfk-page .week-tab {
  flex: 0 0 auto;
  min-width: 96px;
  min-height: 44px;
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid var(--line);
  color: #6b7f99;
  box-shadow: 0 10px 22px rgba(8, 60, 116, 0.06);
  font-weight: 900;
  text-decoration: none;
  text-align: center;
  padding: 8px 6px;
}

.tfk-page .week-tab b {
  font-size: 12px;
  color: #10243d;
}

.tfk-page .week-tab span {
  font-size: 10px;
  margin-top: 3px;
}

.tfk-page .week-tab.active {
  background: linear-gradient(135deg, #1688ff, #0d6efd);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 12px 24px rgba(13, 110, 253, 0.22);
}

.tfk-page .week-tab.active b,
.tfk-page .week-tab.active span {
  color: #fff;
}

.tfk-page .summary-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}

.tfk-page .summary-box {
  min-height: 82px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 10px 24px rgba(8, 60, 116, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px;
}

.tfk-page .summary-box strong {
  font-size: 23px;
  line-height: 1;
  color: #0d6efd;
  font-weight: 900;
}

.tfk-page .summary-box span {
  margin-top: 7px;
  color: #6b7f99;
  font-size: 10px;
  font-weight: 900;
  line-height: 1.25;
}

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

.tfk-page .fixture-list {
  display: grid;
  gap: 10px;
}

.tfk-page .fixture-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;
}

/* Kompakt maç kartı: logo yok, tek satıra yakın takım + skor */
.tfk-page .fixture-card--compact {
  padding: 10px 12px;
  border-radius: 18px;
  box-shadow: 0 8px 20px rgba(8, 60, 116, 0.07);
}

.tfk-page .fixture-card--compact::after {
  width: 72px;
  height: 72px;
  right: -22px;
  top: -22px;
  opacity: 0.65;
}

.tfk-page .fixture-card--compact .match-top {
  margin-bottom: 8px;
}

.tfk-page .fixture-card--compact .match-week,
.tfk-page .fixture-card--compact .status {
  padding: 5px 8px;
  font-size: 9px;
}

.tfk-page .match-teams--text {
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  margin-bottom: 8px;
}

.tfk-page .match-teams--text .team-side {
  align-items: stretch;
}

.tfk-page .match-teams--text .team-name {
  display: block;
  color: #10243d;
  font-size: 11px;
  line-height: 1.22;
  font-weight: 900;
  text-transform: uppercase;
  word-break: break-word;
}

.tfk-page .team-side--home .team-name {
  text-align: right;
}

.tfk-page .team-side--away .team-name {
  text-align: left;
}

.tfk-page .match-teams--text .versus {
  height: auto;
  min-height: 34px;
  padding: 5px 10px;
  border-radius: 12px;
  font-size: 12px;
}

.tfk-page .match-teams--text .versus.score {
  font-size: 14px;
  min-width: 68px;
}

.tfk-page .match-teams--text .versus--pending {
  font-size: 11px;
  letter-spacing: 0.06em;
  text-decoration: none;
}

.tfk-page .fixture-card--compact .match-meta {
  gap: 6px;
}

.tfk-page .fixture-card--compact .meta-box {
  min-height: 38px;
  padding: 6px 8px;
  border-radius: 12px;
}

.tfk-page .fixture-card--compact .meta-box span {
  font-size: 8px;
  margin-bottom: 2px;
}

.tfk-page .fixture-card--compact .meta-box b {
  font-size: 10px;
}

.tfk-page .fixture-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;
}

.tfk-page .match-top {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.tfk-page .match-week {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  border-radius: 999px;
  background: #eaf5ff;
  color: #0d6efd;
  font-size: 10px;
  font-weight: 900;
}

.tfk-page .status {
  display: inline-flex;
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 900;
  background: #fff8e8;
  color: #b86d00;
  border: 1px solid #f6dfad;
  white-space: nowrap;
}

.tfk-page .status.played {
  background: #e9f9f1;
  color: #0b9f51;
  border-color: #beeccd;
}

.tfk-page .match-teams {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 56px 1fr;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.tfk-page .team-side {
  text-align: center;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

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

.tfk-page .team-logo .tfk-fb {
  position: relative;
  z-index: 0;
}

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

.tfk-page .team-side b {
  display: block;
  width: 100%;
  text-align: center;
  color: #10243d;
  font-size: 11px;
  line-height: 1.25;
  font-weight: 900;
  text-transform: uppercase;
  word-break: break-word;
}

.tfk-page .versus {
  height: 56px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: #f8fbff;
  border: 1px solid #e6f0fb;
  color: #07376a;
  font-size: 13px;
  font-weight: 900;
}

.tfk-page .versus.score {
  background: linear-gradient(135deg, #1688ff, #0d6efd);
  color: #fff;
  box-shadow: 0 10px 20px rgba(13, 110, 253, 0.18);
  font-size: 16px;
  text-decoration: none;
}

.tfk-page .match-meta {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.tfk-page .match-meta--3 {
  grid-template-columns: 1fr 1fr 1fr;
}

.tfk-page button.action.secondary:disabled,
.tfk-page button.action.secondary.tfk-hatirlat:disabled {
  opacity: 0.88;
  cursor: default;
}

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

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

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

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

.tfk-page .match-actions .action {
  min-height: 42px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
  color: inherit;
  border: 0;
  cursor: pointer;
  font-family: inherit;
}

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

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

.tfk-page .date-group {
  margin: 18px 0 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #07376a;
  font-size: 14px;
  font-weight: 900;
}

.tfk-page .date-group::before {
  content: "";
  width: 7px;
  height: 24px;
  border-radius: 999px;
  background: linear-gradient(180deg, #1688ff, #0d6efd);
}

.tfk-page .tfk-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) {
  .tfk-page .hero-actions,
  .tfk-page .summary-grid {
    grid-template-columns: 1fr;
  }
  .tfk-page .match-meta--3 {
    grid-template-columns: 1fr;
  }
  .tfk-page .match-teams--text {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .tfk-page .team-side--home .team-name,
  .tfk-page .team-side--away .team-name {
    text-align: center;
  }
  .tfk-page .match-teams--text .versus {
    margin: 0 auto;
    width: min(100%, 140px);
  }
}
