/*
 * Players to Watch below Recent Form.
 */

.fbb-players-under-recent-form {
  width:100% !important;
  max-width:100% !important;
  min-width:0 !important;

  margin:
    13px 0 0 !important;

  padding:
    clamp(15px,1.7vw,20px) !important;

  overflow:hidden;

  border:
    1px solid
    rgba(148,163,184,.13) !important;

  border-radius:
    15px !important;

  background:
    linear-gradient(
      145deg,
      rgba(56,189,248,.035),
      rgba(14,20,30,.76) 35%,
      rgba(14,20,30,.76) 70%,
      rgba(139,92,246,.035)
    ) !important;

  box-shadow:
    inset 0 1px 0
    rgba(255,255,255,.025),
    0 10px 28px
    rgba(0,0,0,.11) !important;
}


.fbb-players-under-recent-form
#playersTitle {
  margin:
    0 0 14px !important;

  color:
    #f8fafc !important;

  font-family:
    "Oswald",
    "Arial Narrow",
    sans-serif !important;

  font-size:
    clamp(19px,2.5vw,24px) !important;

  font-weight:
    650 !important;

  line-height:
    1.15 !important;
}


.fbb-players-under-recent-form
#playersToWatch {
  width:100%;
  max-width:100%;
  min-width:0;
}


.fbb-players-under-recent-form
.fbb-normal-player-grid {
  width:100%;

  display:grid !important;

  grid-template-columns:
    repeat(
      2,
      minmax(0,1fr)
    ) !important;

  gap:
    11px !important;
}


.fbb-players-under-recent-form
.fbb-normal-player-card {
  width:100%;
  min-width:0;

  padding:
    13px !important;

  border:
    1px solid
    rgba(56,189,248,.11) !important;

  border-radius:
    12px !important;

  background:
    rgba(18,24,35,.72) !important;

  box-shadow:
    none !important;
}


.fbb-players-under-recent-form
.fbb-player-team {
  margin-bottom:
    5px;

  color:
    #38bdf8 !important;

  font-size:
    10px !important;

  font-weight:
    850 !important;

  letter-spacing:
    .045em;

  text-transform:
    uppercase;
}


.fbb-players-under-recent-form
.fbb-normal-player-card strong {
  display:block;

  margin-bottom:
    5px;

  color:
    #f8fafc !important;

  font-size:
    14px;

  line-height:
    1.25;
}


.fbb-players-under-recent-form
.fbb-normal-player-card span {
  display:block;

  color:
    #8fa0b2 !important;

  font-size:
    11px;

  line-height:
    1.45;

  overflow-wrap:anywhere;
}


/*
 * The match summary remains hidden before the match.
 * When activated later, it stays above the player list.
 */

.fbb-players-under-recent-form
#postMatchSummaryBox {
  width:100%;
  max-width:100%;

  margin:
    0 0 17px !important;

  padding:
    14px !important;

  border:
    1px solid
    rgba(94,234,212,.15);

  border-radius:
    12px;

  background:
    rgba(94,234,212,.035);
}


.fbb-players-under-recent-form
#postMatchSummaryBox[style*="display:none"],
.fbb-players-under-recent-form
#postMatchSummaryBox[style*="display: none"] {
  display:none !important;
}


/*
 * Inside the narrower classification column,
 * one player card per row is easier to scan.
 */

#fbbLeagueIntelligence >
.fbb-players-under-recent-form
.fbb-normal-player-grid {
  grid-template-columns:
    minmax(0,1fr) !important;
}


/* Tablet and mobile. */

@media(max-width:1080px) {
  .fbb-players-under-recent-form
  .fbb-normal-player-grid {
    grid-template-columns:
      repeat(
        2,
        minmax(0,1fr)
      ) !important;
  }
}


@media(max-width:680px) {
  .fbb-players-under-recent-form {
    margin-top:
      10px !important;

    padding:
      13px 8px !important;

    border-radius:
      14px !important;
  }


  .fbb-players-under-recent-form
  #playersTitle {
    margin-bottom:
      12px !important;

    font-size:
      20px !important;
  }


  .fbb-players-under-recent-form
  .fbb-normal-player-grid {
    grid-template-columns:
      minmax(0,1fr) !important;

    gap:
      9px !important;
  }


  .fbb-players-under-recent-form
  .fbb-normal-player-card {
    padding:
      12px !important;
  }


  .fbb-players-under-recent-form
  .fbb-normal-player-card strong {
    font-size:
      13px;
  }


  .fbb-players-under-recent-form
  .fbb-normal-player-card span {
    font-size:
      10px;

    line-height:
      1.4;
  }


  .fbb-players-under-recent-form
  #postMatchSummaryBox {
    margin-bottom:
      13px !important;

    padding:
      12px !important;
  }
}
