.ff-depth,
.ff-boxscore {
  color: #f4eedb;
  background: #10191e;
  border: 1px solid #3a4548;
  margin-bottom: 24px;
}
.ff-board-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 24px;
  border-bottom: 1px solid #3a4548;
}
.ff-kicker,
.ff-slot-position,
.ff-reserve-number {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.6px;
  color: #b6bead;
}
.ff-board-head h2,
.ff-sideline h3 {
  margin: 3px 0;
  font-family: "Barlow Condensed", Impact, sans-serif;
  text-transform: uppercase;
  font-size: 30px;
}
.ff-tabs {
  display: flex;
  gap: 3px;
  flex-wrap: wrap;
}
.ff-tabs button,
.ff-reserve button {
  border: 1px solid #58615b;
  background: transparent;
  color: #f4eedb;
  padding: 9px 12px;
  font: inherit;
  font-size: 12px;
  cursor: pointer;
  border-radius: 0;
}
.ff-tabs button[aria-pressed="true"],
.ff-reserve button:hover {
  background: #dedb68;
  color: #14201c;
  border-color: #dedb68;
}
.ff-board-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
}
.ff-field {
  padding: 42px 18px 30px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 25px;
  background:
    repeating-linear-gradient(
      0deg,
      transparent 0,
      transparent 78px,
      #cad0a71c 79px,
      #cad0a71c 80px
    ),
    linear-gradient(90deg, #243d2f, #304d36 50%, #243d2f);
  min-height: 490px;
  justify-content: center;
}
.ff-field:before,
.ff-field:after {
  content: "";
  position: absolute;
  top: 16px;
  bottom: 16px;
  width: 1px;
  background: #e7e9bc40;
  left: 8%;
}
.ff-field:after {
  left: auto;
  right: 8%;
}
.ff-field-label {
  position: absolute;
  top: 12px;
  left: 0;
  right: 0;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 10px;
  color: #d8e2c5;
}
.ff-formation-row {
  display: flex;
  justify-content: space-evenly;
  gap: 8px;
  position: relative;
  z-index: 1;
}
.ff-player-slot {
  width: 128px;
  min-width: 0;
  background: #10231fe8;
  border: 1px solid #80997a;
  color: #fff8df;
  padding: 9px 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 3px;
  border-radius: 0;
}
.ff-player-slot strong {
  font-size: 11px;
  line-height: 1.2;
  text-align: center;
}
.ff-player-slot > span:last-of-type {
  font-size: 10px;
  color: #d3d7be;
}
.ff-player-slot small {
  font-size: 9px;
  color: #dedda9;
}
.ff-jersey {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  background: #d8d867;
  color: #13251d;
  clip-path: polygon(
    20% 0,
    35% 0,
    40% 8%,
    60% 8%,
    65% 0,
    80% 0,
    100% 20%,
    88% 37%,
    78% 28%,
    78% 100%,
    22% 100%,
    22% 28%,
    12% 37%,
    0 20%
  );
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: 23px;
  padding-top: 6px;
}
.ff-player-slot:hover,
.ff-player-slot.ff-selected {
  border-color: #f4df76;
  box-shadow: 0 0 0 2px #f4df76;
  background: #1f3428;
}
.ff-sideline {
  padding: 20px;
  border-left: 1px solid #3a4548;
  background: #151f23;
}
.ff-sideline h3 {
  font-size: 23px;
}
.ff-instruction,
.ff-empty {
  font-size: 12px;
  line-height: 1.6;
  color: #b7c0b6;
}
.ff-reserves {
  max-height: 450px;
  overflow: auto;
}
.ff-reserve {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-top: 1px solid #36433e;
  padding: 13px 0;
}
.ff-reserve > div {
  display: grid;
  gap: 3px;
}
.ff-reserve strong {
  font-size: 13px;
}
.ff-reserve small,
.ff-current span,
.ff-current small {
  font-size: 11px;
  color: #bdc8b7;
}
.ff-reserve button {
  font-size: 11px;
  padding: 7px;
  white-space: nowrap;
}
.ff-current {
  display: grid;
  gap: 5px;
  padding: 12px 0;
  margin: 10px 0;
  border-top: 1px solid #697859;
  border-bottom: 1px solid #697859;
}
.ff-injured {
  opacity: 0.6;
}
.ff-reserve button:disabled {
  opacity: 0.45;
  cursor: default;
}
.ff-table-scroll {
  overflow: auto;
}
.ff-boxscore table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.ff-boxscore th,
.ff-boxscore td {
  padding: 12px 14px;
  border-bottom: 1px solid #33413b;
  text-align: right;
}
.ff-boxscore th:first-child {
  text-align: left;
}
.ff-boxscore thead th {
  font-size: 10px;
  letter-spacing: 1px;
  color: #cfda96;
  background: #1c292b;
}
.ff-boxscore tbody th span,
.ff-boxscore tbody th small {
  display: block;
}
.ff-boxscore tbody th small {
  font-weight: normal;
  font-size: 10px;
  color: #acb6a9;
  margin-top: 3px;
}
.ff-training {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 18px 0;
  border-top: 1px solid #4a5248;
  margin-bottom: 20px;
}
.ff-training h3 {
  margin: 0;
}
.ff-training p {
  margin: 5px 0;
  color: #aeb9a8;
  font-size: 12px;
}
.ff-player-slot:focus-visible,
.ff-tabs button:focus-visible,
.ff-reserve button:focus-visible {
  outline: 3px solid #f7b851;
  outline-offset: 3px;
}
@media (max-width: 1050px) {
  .ff-board-layout {
    grid-template-columns: minmax(0, 1fr) 255px;
  }
  .ff-player-slot {
    width: 100px;
  }
  .ff-field {
    padding-left: 10px;
    padding-right: 10px;
  }
  .ff-player-slot strong {
    font-size: 10px;
  }
}
@media (max-width: 760px) {
  .ff-board-head {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px;
  }
  .ff-board-layout {
    grid-template-columns: 1fr;
  }
  .ff-sideline {
    border-left: 0;
    border-top: 1px solid #3a4548;
  }
  .ff-field {
    gap: 22px;
    min-height: 440px;
  }
  .ff-player-slot {
    width: 100px;
    padding: 7px 3px;
  }
  .ff-slot-position {
    font-size: 9px;
    letter-spacing: 1px;
  }
  .ff-player-slot > span:last-of-type {
    font-size: 8px;
  }
  .ff-formation-row {
    gap: 4px;
  }
  .ff-training {
    align-items: flex-start;
    flex-direction: column;
  }
  .ff-reserves {
    max-height: 320px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ff-depth * {
    scroll-behavior: auto;
  }
}
.ff-reserve-actions {
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex-shrink: 0;
}
.ff-boxscore abbr {
  text-decoration: none;
  cursor: help;
  border-bottom: 1px dotted #859575;
}
.ff-current button {
  background: transparent;
  border: 1px solid #64715d;
  color: #f4eedb;
  padding: 7px 10px;
  cursor: pointer;
  justify-self: start;
  font: inherit;
  font-size: 11px;
}
