@use '../../variables' as *;

.container {
  color: #ddd;
  font-size: 14px;
  display: flex;
  flex-flow: row wrap;
  gap: 4px 8px;
  align-items: center;

  @include phone-portrait {
    display: grid;
    grid-template-columns: repeat(7, min-content);

    > *:nth-child(n + 9) {
      grid-column: span 6;
    }
  }
}

.statIcon {
  vertical-align: middle;
  height: 16px;
  width: 16px;
  font-size: 16px;
  margin-right: 1px;
}

.light {
  color: $gold;
  white-space: nowrap;
  margin-right: 0.5em;

  :global(.app-icon) {
    vertical-align: 3px;
    font-size: 8px;
    margin-right: 1px;
  }
}

.nonActiveStat {
  opacity: 0.4;
}

.tierLightContainer {
  align-items: center;
  display: flex;
  margin-right: 0.5em;

  @include phone-portrait {
    margin-right: 0;
  }

  .nonActiveStat {
    margin-left: 0.25em;
  }
}

.tier {
  font-weight: bold;
}

.existingLoadout {
  margin: 0;
  color: #e8a534;
  font-size: 0.9em;
}

.loadoutName {
  font-weight: bold;
}

.statSegment {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  white-space: nowrap;
  min-width: 48px;

  @include phone-portrait {
    min-width: 0;
  }
}

.boostedValue {
  color: $stat-modded;
}
