/* ================================================================
   TMLS Match Header — injected into pre-game articles
   ================================================================ */

/* ── Override GP padding on match pages ── */

.single-match .inside-article {
  padding: 0;
  margin: 0;
}

.single-match .content-area {
  padding: 24px 0;
}

.single-match .entry-content {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 20px;
}

.tmls-mh {
  background: #000;
  color: #fff;
  border-radius: 8px;
  padding: 20px 24px;
  margin-bottom: 24px;
  font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
}

/* ── Meta (competition + date) ── */

.tmls-mh__meta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #888;
  margin-bottom: 16px;
}

.tmls-mh__comp {
  font-weight: 600;
  color: #aaa;
}

/* ── Score Center ── */

.tmls-mh__score-center {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-bottom: 16px;
}

.tmls-mh__side {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex: 1;
  max-width: 160px;
}

.tmls-mh__crest {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.tmls-mh__name {
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  line-height: 1.2;
}

.tmls-mh__ticker {
  font-size: 11px;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.tmls-mh__center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 100px;
}

.tmls-mh__big-score {
  font-size: 36px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

.tmls-mh__kickoff {
  font-size: 22px;
  font-weight: 700;
}

.tmls-mh__kickoff-br {
  font-size: 12px;
  color: #666;
}

/* ── Pills ── */

.tmls-mh__pill {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.tmls-mh__pill--live {
  background: #d00;
  color: #fff;
  animation: tmls-mh-pulse 2s ease-in-out infinite;
}

.tmls-mh__pill--final {
  background: #333;
  color: #999;
}

@keyframes tmls-mh-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

/* ── Live state ── */

.tmls-mh--live {
  border: 2px solid #d00;
}

.tmls-mh--live .tmls-mh__big-score {
  color: #fff;
}

/* ── Final state ── */

.tmls-mh--final .tmls-mh__big-score {
  color: #aaa;
}

/* ── Info bar ── */

.tmls-mh__info {
  display: flex;
  justify-content: center;
  gap: 20px;
  font-size: 12px;
  color: #666;
  padding-top: 12px;
  border-top: 1px solid #222;
}

.tmls-mh__info-item {
  white-space: nowrap;
}

/* ── Odds ── */

.tmls-mh__odds {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #222;
  font-size: 12px;
  color: #888;
}

.tmls-mh__odds-label {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 10px;
  color: #555;
}

.tmls-mh__odds-item strong {
  color: #ccc;
  margin-right: 4px;
}

/* ── Expandable sections (lineups, injuries) ── */

.tmls-mh__details {
  margin-top: 12px;
  border-top: 1px solid #222;
}

.tmls-mh__details summary {
  padding: 10px 0;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #888;
  cursor: pointer;
  list-style: none;
}

.tmls-mh__details summary::before {
  content: '▸ ';
}

.tmls-mh__details[open] summary::before {
  content: '▾ ';
}

.tmls-mh__lineups {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding-bottom: 12px;
}

.tmls-mh__lineup strong {
  display: block;
  font-size: 12px;
  color: #ccc;
  margin-bottom: 4px;
}

.tmls-mh__lineup p {
  font-size: 12px;
  color: #888;
  line-height: 1.5;
  margin: 0;
}

/* ── Responsive ── */

@media (max-width: 600px) {
  .tmls-mh {
    padding: 16px;
  }

  .tmls-mh__score-center {
    gap: 12px;
  }

  .tmls-mh__crest {
    width: 40px;
    height: 40px;
  }

  .tmls-mh__big-score {
    font-size: 28px;
  }

  .tmls-mh__name {
    font-size: 11px;
  }

  .tmls-mh__lineups {
    grid-template-columns: 1fr;
  }

  .tmls-mh__info {
    flex-direction: column;
    align-items: center;
    gap: 4px;
  }

  .tmls-mh__odds {
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* ================================================================
   TMLS Related Articles — match page bottom section
   ================================================================ */

.tmls-related {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 2px solid #000;
}

.tmls-related__title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #666;
  margin: 0 0 20px 0;
}

.tmls-related__list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.tmls-related__item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid #e5e5e5;
}

.tmls-related__item:last-child {
  border-bottom: none;
}

.tmls-related__thumb {
  flex-shrink: 0;
  display: block;
  width: 80px;
  height: 80px;
  border-radius: 4px;
  overflow: hidden;
}

.tmls-related__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tmls-related__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.tmls-related__cat {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #0a66ff;
}

.tmls-related__link {
  font-size: 15px;
  font-weight: 600;
  color: #000;
  text-decoration: none;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tmls-related__link:hover {
  color: #0a66ff;
}

.tmls-related__date {
  font-size: 12px;
  color: #999;
}
