/* Written FPL summary card on player and club pages */

.mf-scout {
  display: grid;
  gap: 1.25rem;
  margin: 0 0 0.85rem;
  padding: 1.25rem 1rem 1.35rem;
  border: 1px solid #e4e7eb;
  border-radius: 0.65rem;
  background: #fff;
  color: #111827;
}

.players-club-page .mf-scout {
  margin-top: 1.15rem;
  box-shadow: 0 8px 24px rgba(17, 24, 39, 0.04);
}

.mf-scout__title {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  text-wrap: balance;
}

.mf-scout__byline {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1rem;
  color: inherit;
  text-decoration: none;
}

.mf-scout__avatar {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.mf-scout__who {
  display: grid;
  gap: 0.1rem;
  font-family: var(--font-body);
}

.mf-scout__name {
  font-size: 0.875rem;
  font-weight: 600;
}

.mf-scout__byline:hover .mf-scout__name,
.mf-scout__byline:focus-visible .mf-scout__name {
  text-decoration: underline;
}

.mf-scout__meta {
  font-size: 0.75rem;
  color: #6b7280;
}

.mf-scout__text {
  max-width: 42rem;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: #1f2937;
}

.mf-scout__text p {
  margin: 0 0 0.9rem;
}

.mf-scout__text p:last-child {
  margin-bottom: 0;
}

.mf-scout__source {
  max-width: 42rem;
  margin: 1rem 0 0;
  padding-top: 0.85rem;
  border-top: 1px solid #eef0f3;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  line-height: 1.55;
  color: #6b7280;
}

.mf-scout__call {
  align-self: start;
  padding: 1rem 1.1rem 1.1rem;
  border-radius: 0.6rem;
  border-left: 4px solid currentColor;
  font-family: var(--font-body);
}

.mf-scout__call-head {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #4b5563;
}

.mf-scout__call-word {
  margin: 0.1rem 0 0.45rem;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.mf-scout__call-text {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: #1f2937;
}

.mf-scout__call--buy { color: #15803d; background: #effaf3; }
.mf-scout__call--hold { color: #0077a8; background: #e8f7fc; }
.mf-scout__call--sell { color: #b91c1c; background: #fdf1f1; }
.mf-scout__call--watch { color: #a16207; background: #fdf8e8; }
.mf-scout__call--avoid { color: #374151; background: #f3f4f6; }

@media (min-width: 960px) {
  .mf-scout {
    padding: 1.6rem 1.75rem 1.7rem;
  }

  .mf-scout--has-call {
    grid-template-columns: minmax(0, 1fr) 17rem;
    gap: 2.25rem;
  }

  .mf-scout--has-call .mf-scout__call {
    position: sticky;
    top: 6.5rem;
    margin-top: 2.6rem;
  }

  .mf-scout__title {
    font-size: 1.4rem;
  }
}
