.normal-match-center {
  margin-top: 22px;
}

.nmc-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 15px;
}

.nmc-header h2 {
  margin: 0;
}

.nmc-state {
  padding: 7px 11px;
  border: 1px solid rgba(0,177,255,.25);
  border-radius: 999px;
  background: rgba(0,177,255,.08);
  color: #a8ddff;
  font-size: 11px;
  font-weight: 800;
}

.nmc-meta {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 9px;
  margin-bottom: 12px;
}

.nmc-meta > div {
  min-width: 0;
  padding: 11px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  background: rgba(255,255,255,.025);
}

.nmc-meta span {
  display: block;
  margin-bottom: 4px;
  color: #8f9bad;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
}

.nmc-meta strong {
  display: block;
  overflow-wrap: anywhere;
  font-size: 12px;
}

.nmc-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 11px;
}

.nmc-card {
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  background: rgba(255,255,255,.025);
}

.nmc-card.full {
  grid-column: 1 / -1;
}

.nmc-card h3 {
  margin: 0 0 11px;
  font-size: 15px;
}

.nmc-empty {
  padding: 12px;
  border: 1px dashed rgba(255,255,255,.12);
  border-radius: 10px;
  color: #9ca8ba;
  font-size: 12px;
  text-align: center;
}

.nmc-h2h-row {
  display: grid;
  grid-template-columns: 105px minmax(0,1fr) auto;
  align-items: center;
  gap: 8px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255,255,255,.07);
}

.nmc-h2h-row:last-child {
  border-bottom: 0;
}

.nmc-date {
  color: #8f9bad;
  font-size: 10px;
}

.nmc-score {
  min-width: 40px;
  padding: 5px 7px;
  border-radius: 8px;
  background: rgba(0,255,135,.1);
  color: #69ffb6;
  font-weight: 900;
  text-align: center;
}

.nmc-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.nmc-table {
  width: 100%;
  min-width: 590px;
  border-collapse: collapse;
  font-size: 11px;
}

.nmc-table th,
.nmc-table td {
  padding: 8px 7px;
  border-bottom: 1px solid rgba(255,255,255,.07);
  text-align: center;
  white-space: nowrap;
}

.nmc-table th:nth-child(2),
.nmc-table td:nth-child(2) {
  text-align: left;
}

.nmc-table th {
  color: #8f9bad;
  font-size: 9px;
  text-transform: uppercase;
}

.nmc-current-team {
  background: rgba(0,177,255,.09);
}

.nmc-lineups {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 10px;
}

.nmc-lineup {
  min-width: 0;
  padding: 11px;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 11px;
  background: rgba(0,0,0,.12);
}

.nmc-lineup-head {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.nmc-chip {
  flex: 0 0 auto;
  padding: 4px 7px;
  border-radius: 999px;
  background: rgba(255,193,7,.12);
  color: #ffd76a;
  font-size: 8px;
  font-weight: 900;
  text-transform: uppercase;
}

.nmc-chip.confirmed {
  background: rgba(0,255,135,.12);
  color: #69ffb6;
}

.nmc-formation {
  margin-bottom: 7px;
  color: #9ca8ba;
  font-size: 10px;
}

.nmc-players {
  margin: 0;
  padding-left: 18px;
  font-size: 11px;
  line-height: 1.55;
}

.nmc-missing-team + .nmc-missing-team {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,.07);
}

.nmc-missing-player {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 6px;
  padding: 7px 8px;
  border-radius: 8px;
  background: rgba(255,85,85,.06);
  font-size: 11px;
}

.nmc-missing-player span:last-child {
  color: #ffaaaa;
  text-align: right;
}

.nmc-event {
  display: grid;
  grid-template-columns: 55px minmax(0,1fr);
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,.07);
}

.nmc-event:last-child {
  border-bottom: 0;
}

.nmc-event-time {
  color: #69ffb6;
  font-weight: 900;
}

@media (max-width: 760px) {
  .nmc-meta {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }

  .nmc-grid {
    grid-template-columns: 1fr;
  }

  .nmc-card.full {
    grid-column: auto;
  }

  .nmc-lineups {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 430px) {
  .nmc-header {
    display: block;
  }

  .nmc-state {
    display: inline-block;
    margin-top: 8px;
  }

  .nmc-meta {
    grid-template-columns: 1fr;
  }

  .nmc-card {
    padding: 11px;
  }

  .nmc-h2h-row {
    grid-template-columns: minmax(0,1fr) auto;
  }

  .nmc-date {
    grid-column: 1 / -1;
  }
}

/* FBB-MOBILE-RANKING-HIGHLIGHTS-BEGIN */

.normal-match-center,
.nmc-grid,
.nmc-card {
  min-width: 0;
  max-width: 100%;
}

.nmc-standings-legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  margin-bottom: 11px;
  padding: 9px 10px;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 10px;
  background: rgba(0,0,0,.12);
}

.nmc-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #9ca8ba;
  font-size: 10px;
  font-weight: 700;
}

.nmc-legend-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 3px;
}

.nmc-legend-dot.top {
  background: #00c978;
  box-shadow: 0 0 8px rgba(0,201,120,.45);
}

.nmc-legend-dot.bottom {
  background: #ef5350;
  box-shadow: 0 0 8px rgba(239,83,80,.4);
}

.nmc-legend-dot.current {
  background: #00b1ff;
  box-shadow: 0 0 8px rgba(0,177,255,.45);
}

.nmc-standings-wrap {
  position: relative;
  width: 100%;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 11px;
  outline: none;
  scrollbar-width: thin;
}

.nmc-standings-wrap:focus {
  border-color: rgba(0,177,255,.4);
}

.nmc-standings-table {
  min-width: 610px;
  margin: 0;
}

.nmc-standings-table tr {
  --nmc-row-background: #171b22;
}

.nmc-standings-table tbody tr {
  --nmc-row-background: rgba(18,21,27,.98);
}

.nmc-standings-table tbody tr:nth-child(even) {
  --nmc-row-background: rgba(23,27,34,.98);
}

.nmc-standings-table tbody tr.nmc-zone-top {
  --nmc-row-background: rgba(0,155,92,.14);
}

.nmc-standings-table tbody tr.nmc-zone-bottom {
  --nmc-row-background: rgba(210,55,55,.13);
}

.nmc-standings-table th,
.nmc-standings-table td {
  height: 42px;
  background: var(--nmc-row-background);
}

.nmc-standings-table thead th {
  --nmc-row-background: #151920;
  background: #151920;
}

.nmc-standings-table tbody tr:hover {
  filter: brightness(1.08);
}

.nmc-zone-top td:first-child {
  box-shadow: inset 3px 0 0 #00c978;
}

.nmc-zone-bottom td:first-child {
  box-shadow: inset 3px 0 0 #ef5350;
}

.nmc-current-team {
  position: relative;
  outline: 1px solid rgba(0,177,255,.55);
  outline-offset: -1px;
}

.nmc-current-team td:first-child {
  box-shadow:
    inset 3px 0 0 #00b1ff;
}

.nmc-current-team.nmc-zone-top td:first-child {
  box-shadow:
    inset 3px 0 0 #00c978,
    inset 6px 0 0 #00b1ff;
}

.nmc-current-team.nmc-zone-bottom td:first-child {
  box-shadow:
    inset 3px 0 0 #ef5350,
    inset 6px 0 0 #00b1ff;
}

.nmc-rank-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  padding: 0 5px;
  border-radius: 7px;
  background: rgba(255,255,255,.06);
  font-size: 10px;
  font-weight: 900;
}

.nmc-zone-top .nmc-rank-badge {
  background: rgba(0,201,120,.18);
  color: #68ffc1;
}

.nmc-zone-bottom .nmc-rank-badge {
  background: rgba(239,83,80,.18);
  color: #ff9c9a;
}

.nmc-current-team .nmc-team-name {
  color: #7bd7ff;
}

.nmc-sticky-rank {
  position: sticky;
  left: 0;
  z-index: 3;
  width: 38px;
  min-width: 38px;
  max-width: 38px;
}

.nmc-sticky-team {
  position: sticky;
  left: 38px;
  z-index: 2;
  width: 165px;
  min-width: 165px;
  max-width: 165px;
}

thead .nmc-sticky-rank,
thead .nmc-sticky-team {
  z-index: 6;
  background: #151920;
}

.nmc-team-name {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nmc-mobile-scroll-hint {
  display: none;
  margin-top: 8px;
  color: #788495;
  font-size: 9px;
  text-align: center;
}

@media (max-width: 760px) {
  .normal-match-center {
    margin-top: 15px;
  }

  .nmc-header {
    gap: 8px;
    margin-bottom: 11px;
  }

  .nmc-header h2 {
    font-size: 18px;
  }

  .nmc-state {
    max-width: 48%;
    white-space: normal;
    text-align: center;
  }

  .nmc-meta {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
    gap: 7px;
  }

  .nmc-meta > div {
    padding: 9px;
  }

  .nmc-meta span {
    font-size: 8px;
  }

  .nmc-meta strong {
    font-size: 11px;
  }

  .nmc-grid {
    gap: 9px;
  }

  .nmc-card {
    padding: 11px;
    border-radius: 12px;
  }

  .nmc-card h3 {
    margin-bottom: 9px;
    font-size: 14px;
  }

  .nmc-standings-legend {
    gap: 7px 10px;
    padding: 8px;
  }

  .nmc-legend-item {
    font-size: 9px;
  }

  .nmc-standings-table {
    min-width: 520px;
    font-size: 10px;
  }

  .nmc-standings-table th,
  .nmc-standings-table td {
    height: 39px;
    padding: 6px 5px;
  }

  .nmc-sticky-rank {
    width: 34px;
    min-width: 34px;
    max-width: 34px;
  }

  .nmc-sticky-team {
    left: 34px;
    width: 145px;
    min-width: 145px;
    max-width: 145px;
  }

  .nmc-rank-badge {
    min-width: 22px;
    height: 22px;
  }

  .nmc-mobile-scroll-hint {
    display: block;
  }

  .nmc-h2h-row {
    grid-template-columns:
      minmax(0, 1fr) auto;
    gap: 5px 8px;
    padding: 8px 0;
  }

  .nmc-h2h-row .nmc-date {
    grid-column: 1 / -1;
  }

  .nmc-h2h-row strong {
    font-size: 11px;
    line-height: 1.3;
  }

  .nmc-lineups {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .nmc-players {
    columns: 2;
    column-gap: 22px;
    font-size: 10px;
  }

  .nmc-players li {
    break-inside: avoid;
    margin-bottom: 3px;
  }

  .nmc-missing-player {
    align-items: flex-start;
  }
}

@media (max-width: 520px) {
  /*
    On narrow phones keep the essential columns visible:
    position, team, played, goal difference and points.
  */
  .nmc-col-win,
  .nmc-col-draw,
  .nmc-col-loss {
    display: none;
  }

  .nmc-standings-table {
    min-width: 405px;
  }

  .nmc-sticky-team {
    width: 132px;
    min-width: 132px;
    max-width: 132px;
  }

  .nmc-standings-legend {
    display: grid;
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }

  .nmc-legend-item:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 430px) {
  .nmc-header {
    display: flex;
  }

  .nmc-state {
    margin-top: 0;
    padding: 6px 8px;
    font-size: 9px;
  }

  .nmc-meta {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }

  .nmc-score {
    min-width: 35px;
    padding: 4px 6px;
  }

  .nmc-missing-player {
    display: block;
  }

  .nmc-missing-player span {
    display: block;
  }

  .nmc-missing-player span:last-child {
    margin-top: 3px;
    text-align: left;
  }
}

@media (max-width: 350px) {
  .nmc-header {
    display: block;
  }

  .nmc-state {
    display: inline-block;
    max-width: 100%;
    margin-top: 7px;
  }

  .nmc-meta {
    grid-template-columns: 1fr;
  }

  .nmc-players {
    columns: 1;
  }
}

/* FBB-MOBILE-RANKING-HIGHLIGHTS-END */

/* FBB-H2H-RESULT-COLOURS-BEGIN */

.nmc-score.nmc-result-win {
  border: 1px solid rgba(0, 220, 130, .26);
  background: rgba(0, 190, 110, .19);
  color: #67ffbc;
  box-shadow:
    inset 0 0 0 1px rgba(0, 255, 135, .04);
}

.nmc-score.nmc-result-draw {
  border: 1px solid rgba(255, 193, 7, .28);
  background: rgba(255, 193, 7, .17);
  color: #ffe080;
  box-shadow:
    inset 0 0 0 1px rgba(255, 215, 90, .04);
}

.nmc-score.nmc-result-loss {
  border: 1px solid rgba(239, 83, 80, .28);
  background: rgba(220, 60, 60, .17);
  color: #ff9b98;
  box-shadow:
    inset 0 0 0 1px rgba(255, 100, 100, .04);
}

.nmc-score.nmc-result-neutral {
  border: 1px solid rgba(255, 255, 255, .09);
  background: rgba(255, 255, 255, .06);
  color: #d6dde7;
}

@media (max-width: 760px) {
  .nmc-score {
    min-width: 38px;
    font-size: 12px;
  }
}

/* FBB-H2H-RESULT-COLOURS-END */

/* FBB-LINEUP-POSITIONS-WATCH-BEGIN */

.nmc-watch-strip {
  margin-bottom: 12px;
  padding: 11px;
  border: 1px solid rgba(255, 193, 7, .2);
  border-radius: 11px;
  background:
    linear-gradient(
      135deg,
      rgba(255, 193, 7, .1),
      rgba(255, 193, 7, .025)
    );
}

.nmc-watch-title {
  margin-bottom: 8px;
  color: #ffe080;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .03em;
  text-transform: uppercase;
}

.nmc-watch-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.nmc-watch-item {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  padding: 6px 8px;
  border: 1px solid rgba(255, 215, 90, .15);
  border-radius: 8px;
  background: rgba(0, 0, 0, .16);
  font-size: 10px;
}

.nmc-watch-item strong {
  color: #fff0a6;
  white-space: nowrap;
}

.nmc-watch-item span {
  overflow: hidden;
  color: #c5ccd5;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nmc-players {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
  columns: initial;
}

.nmc-player-row {
  display: grid;
  grid-template-columns:
    23px 43px minmax(0, 1fr) auto;
  align-items: center;
  gap: 6px;
  min-width: 0;
  min-height: 30px;
  padding: 4px 5px;
  border: 1px solid transparent;
  border-radius: 7px;
  break-inside: avoid;
}

.nmc-player-row:nth-child(odd) {
  background: rgba(255, 255, 255, .018);
}

.nmc-player-row:hover {
  background: rgba(255, 255, 255, .045);
}

.nmc-player-order {
  color: #717d8c;
  font-size: 9px;
  font-weight: 800;
  text-align: center;
}

.nmc-player-position {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 21px;
  padding: 0 4px;
  border: 1px solid rgba(0, 177, 255, .18);
  border-radius: 6px;
  background: rgba(0, 177, 255, .08);
  color: #80d9ff;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .02em;
  white-space: nowrap;
}

.nmc-player-name {
  min-width: 0;
  overflow: hidden;
  color: #edf2f8;
  font-size: 10px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nmc-player-watch {
  border-color: rgba(255, 193, 7, .2);
  background:
    linear-gradient(
      90deg,
      rgba(255, 193, 7, .11),
      rgba(255, 193, 7, .025)
    ) !important;
}

.nmc-player-watch .nmc-player-name {
  color: #fff0a6;
}

.nmc-player-watch .nmc-player-position {
  border-color: rgba(255, 193, 7, .25);
  background: rgba(255, 193, 7, .1);
  color: #ffe080;
}

.nmc-watch-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 3px 6px;
  border: 1px solid rgba(255, 193, 7, .22);
  border-radius: 999px;
  background: rgba(255, 193, 7, .12);
  color: #ffe080;
  font-size: 8px;
  font-weight: 900;
  white-space: nowrap;
}

@media (max-width: 760px) {
  .nmc-watch-list {
    display: grid;
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }

  .nmc-watch-item {
    display: block;
  }

  .nmc-watch-item strong,
  .nmc-watch-item span {
    display: block;
  }

  .nmc-watch-item span {
    margin-top: 3px;
    white-space: normal;
  }

  .nmc-players {
    display: grid;
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
    gap: 4px 7px;
    columns: initial;
  }

  .nmc-player-row {
    grid-template-columns:
      20px 38px minmax(0, 1fr);
    padding: 4px 3px;
  }

  .nmc-player-position {
    min-width: 36px;
    height: 20px;
    font-size: 7px;
  }

  .nmc-player-name {
    font-size: 9px;
  }

  .nmc-watch-badge {
    grid-column: 2 / -1;
    justify-self: start;
    margin-top: -2px;
  }
}

@media (max-width: 520px) {
  .nmc-watch-list {
    grid-template-columns: 1fr;
  }

  .nmc-players {
    grid-template-columns: 1fr;
  }

  .nmc-player-row {
    grid-template-columns:
      22px 42px minmax(0, 1fr) auto;
    min-height: 32px;
    padding: 5px;
  }

  .nmc-player-position {
    min-width: 40px;
  }

  .nmc-player-name {
    font-size: 10px;
  }

  .nmc-watch-badge {
    grid-column: auto;
    margin-top: 0;
  }
}

@media (max-width: 370px) {
  .nmc-player-row {
    grid-template-columns:
      20px 38px minmax(0, 1fr);
  }

  .nmc-watch-badge {
    grid-column: 2 / -1;
    justify-self: start;
  }

  .nmc-watch-badge span {
    display: none;
  }
}

/* FBB-LINEUP-POSITIONS-WATCH-END */

/* FBB-PLAYER-CARDS-FINAL-BEGIN */

.nmc-watch-panel {
  margin-bottom: 14px;
  padding: 13px;
  border: 1px solid rgba(255,193,7,.28);
  border-radius: 13px;
  background:
    linear-gradient(
      135deg,
      rgba(255,193,7,.13),
      rgba(255,193,7,.03)
    );
}

.nmc-watch-panel-title {
  margin-bottom: 10px;
  color: #ffe080;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.nmc-watch-cards {
  display: grid;
  grid-template-columns:
    repeat(2,minmax(0,1fr));
  gap: 9px;
}

.nmc-watch-card {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
  padding: 11px;
  border: 1px solid rgba(255,215,90,.22);
  border-radius: 11px;
  background: rgba(0,0,0,.24);
}

.nmc-watch-card-icon {
  flex: 0 0 auto;
  font-size: 19px;
}

.nmc-watch-card-content {
  min-width: 0;
}

.nmc-watch-card-content strong {
  display: block;
  color: #fff0a6;
  font-size: 13px;
}

.nmc-watch-card-content small {
  display: block;
  margin-top: 3px;
  color: #8f9bad;
  font-size: 10px;
}

.nmc-watch-card-content p {
  margin: 6px 0 0;
  color: #cbd2dc;
  font-size: 11px;
  line-height: 1.45;
}

.nmc-player-cards {
  display: grid;
  gap: 6px;
}

.nmc-player-card {
  display: grid !important;
  grid-template-columns:
    30px 47px minmax(0,1fr) 23px;
  align-items: center;
  gap: 7px;
  min-width: 0;
  min-height: 38px;
  padding: 6px 8px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 9px;
  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,.045),
      rgba(255,255,255,.018)
    );
}

.nmc-player-card:nth-child(even) {
  background:
    linear-gradient(
      180deg,
      rgba(0,0,0,.22),
      rgba(0,0,0,.13)
    );
}

.nmc-player-card:hover {
  border-color: rgba(0,177,255,.24);
  background: rgba(0,177,255,.055);
}

.nmc-player-card.watched {
  border-color: rgba(255,193,7,.36);
  background:
    linear-gradient(
      90deg,
      rgba(255,193,7,.16),
      rgba(255,193,7,.035)
    );
}

.nmc-player-number {
  color: #a8b2bf;
  font-size: 11px;
  font-weight: 900;
  text-align: center;
}

.nmc-player-position {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-width: 43px;
  height: 23px;
  padding: 0 5px;
  border: 1px solid rgba(0,177,255,.28);
  border-radius: 7px;
  background: rgba(0,177,255,.13);
  color: #86dfff;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .03em;
  white-space: nowrap;
}

.nmc-player-name {
  min-width: 0;
  overflow: hidden;
  color: #f0f4f9;
  font-size: 11px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nmc-player-card.watched
.nmc-player-position {
  border-color: rgba(255,193,7,.35);
  background: rgba(255,193,7,.15);
  color: #ffe080;
}

.nmc-player-card.watched
.nmc-player-name {
  color: #fff0a6;
}

.nmc-player-star {
  font-size: 14px;
  text-align: center;
}

@media (max-width:760px) {
  .nmc-watch-cards {
    grid-template-columns:1fr;
  }

  .nmc-player-card {
    grid-template-columns:
      28px 44px minmax(0,1fr) 21px;
    min-height: 37px;
  }
}

@media (max-width:430px) {
  .nmc-player-card {
    grid-template-columns:
      25px 41px minmax(0,1fr) 20px;
    gap: 5px;
    padding: 6px;
  }

  .nmc-player-position {
    min-width: 39px;
    font-size: 7px;
  }

  .nmc-player-name {
    font-size: 10px;
  }
}

/* FBB-PLAYER-CARDS-FINAL-END */

/* FBB-MOBILE-STANDINGS-FIT-BEGIN */

@media (max-width: 560px) {
  /*
    Mobile standings use five essential columns:
    position, team, played, goal difference and points.
  */
  #normalMatchCenter {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  #normalMatchCenter .nmc-card.full {
    width: 100%;
    max-width: 100%;
    padding: 10px 7px;
    overflow: hidden;
  }

  #normalMatchCenter .nmc-standings-legend {
    display: grid;
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
    gap: 7px;
    margin-bottom: 9px;
    padding: 8px;
  }

  #normalMatchCenter
  .nmc-standings-legend
  .nmc-legend-item {
    min-width: 0;
    font-size: 8px;
    line-height: 1.25;
  }

  #normalMatchCenter
  .nmc-standings-legend
  .nmc-legend-item:last-child {
    grid-column: 1 / -1;
  }

  #normalMatchCenter .nmc-standings-wrap {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    border-radius: 9px;
  }

  #normalMatchCenter .nmc-standings-table {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    table-layout: fixed;
    font-size: 9px;
  }

  /*
    Disable desktop sticky positioning because the complete
    mobile table now fits inside the screen.
  */
  #normalMatchCenter .nmc-sticky-rank,
  #normalMatchCenter .nmc-sticky-team {
    position: static !important;
    left: auto !important;
  }

  #normalMatchCenter .nmc-sticky-rank {
    width: 34px !important;
    min-width: 34px !important;
    max-width: 34px !important;
  }

  #normalMatchCenter .nmc-sticky-team {
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
  }

  #normalMatchCenter .nmc-col-played {
    width: 34px;
  }

  #normalMatchCenter .nmc-col-difference {
    width: 39px;
  }

  #normalMatchCenter .nmc-col-points {
    width: 43px;
  }

  #normalMatchCenter .nmc-col-win,
  #normalMatchCenter .nmc-col-draw,
  #normalMatchCenter .nmc-col-loss {
    display: none !important;
  }

  #normalMatchCenter .nmc-standings-table th,
  #normalMatchCenter .nmc-standings-table td {
    height: 38px;
    padding: 5px 3px;
    overflow: hidden;
  }

  #normalMatchCenter .nmc-standings-table th {
    font-size: 8px;
    letter-spacing: 0;
  }

  #normalMatchCenter .nmc-team-name {
    display: block;
    width: 100%;
    overflow: hidden;
    font-size: 9px;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  #normalMatchCenter .nmc-rank-badge {
    min-width: 22px;
    width: 22px;
    height: 22px;
    padding: 0;
    font-size: 8px;
  }

  #normalMatchCenter .nmc-col-points strong {
    font-size: 10px;
  }

  #normalMatchCenter .nmc-mobile-scroll-hint {
    display: none !important;
  }
}

@media (max-width: 380px) {
  #normalMatchCenter {
    padding-left: 7px !important;
    padding-right: 7px !important;
  }

  #normalMatchCenter .nmc-card.full {
    padding-left: 5px;
    padding-right: 5px;
  }

  #normalMatchCenter .nmc-sticky-rank {
    width: 31px !important;
    min-width: 31px !important;
    max-width: 31px !important;
  }

  #normalMatchCenter .nmc-col-played {
    width: 31px;
  }

  #normalMatchCenter .nmc-col-difference {
    width: 36px;
  }

  #normalMatchCenter .nmc-col-points {
    width: 39px;
  }

  #normalMatchCenter .nmc-team-name {
    font-size: 8px;
  }
}

/* FBB-MOBILE-STANDINGS-FIT-END */
